Manual:$wgExtraGenderNamespaces

From MediaWiki.org
Jump to: navigation, search
Namespaces: $wgExtraGenderNamespaces
Same as $wgExtraNamespaces, but for namespaces with gender distinction.
Introduced in version: 1.18.0 (r97296)
Removed in version: still in use
Allowed values: array
Default value: empty array

Other settings: Alphabetical | By Function


Details [edit]

Same as $wgExtraNamespaces, but for namespaces with gender distinction (user space). You have to define this by yourself if you have extra namespaces which need gender distinction.

Note Note: the default form for the namespace should also be set using $wgExtraNamespaces for the same index.

Example:

$wgExtraGenderNamespaces = array( NS_USER => array( 'male' => 'Male_user', 'female' => 'Female_user' ) ),

In this example the namespace name fallbacks to the MediaWiki default User:, so nothing needs to be added to $wgExtraNamespaces.

Language: English