TWiki
>
TWiki Web
>
TWikiPluralsDotPm
(2009-03-30,
TWikiContributor
)
(raw view)
E
dit
A
ttach
---+ Package =TWiki::Plurals= Handle conversion of plural topic names to singular form. %TOC% ---++ StaticMethod *singularForm* <tt>($web,$pluralForm) -> $singularForm</tt> Try to singularise plural topic name. * =$web= - the web the topic must be in * =$pluralForm= - topic name Returns undef if no singular form exists, otherwise returns the singular form of the topic I18N - Only apply plural processing if site language is English, or if a built-in English-language web (Main, TWiki or Plugins). Plurals apply to names ending in 's', where topic doesn't exist with plural name. Note that this is highly langauge specific, and need to be enabled on a per-installation basis with $TWiki::cfg{PluralToSingular}.
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r3 - 2009-03-30
-
TWikiContributor
TWiki
Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
LAPPD
Sandbox
TWiki
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.TWikiPluralsDotPm
.