This is a DistributionDocument
. This document is generated, please do not change it
. Put questions, error notes, and suggestions concerning the documentation
of this topic in the comments section below
. Use the Support
web for problems you are having using
Handle conversion of plural topic names to singular form.
StaticMethod singularForm ($web,$pluralForm) -> $singularForm
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
- 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
SMELL: this is highly langauge specific, and shoud be overridable
on a per-installation basis.
Comments & Questions about this Distribution Document Topic