Manual:$wgExtraGenderNamespaces/pl

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgExtraGenderNamespaces and the translation is 8% complete.

Other languages:
English • ‎magyar • ‎polski • ‎日本語
Przestrzenie nazw: $wgExtraGenderNamespaces
Same as $wgExtraNamespaces , but for namespaces with gender distinction.
Wprowadzono w wersji:1.18.0 (r97296)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(array)
Domyślna wartość:[]
Inne ustawienia: Alfabetycznie | Według funkcji

Szczegóły

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.

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.

In case the language of the wiki as set with the $wgLanguageCode parameter has a native distinction of gender the change of the namespace's name will be done automatically for the ones provided natively by MediaWiki. In case you would like to prevent this from happening, you will have to override this by setting this parameter explicitly not to do this for the namespace and consequently for the associated talk namespace as well, e.g. for German:

$wgExtraGenderNamespaces = array(
	NS_USER => array( 'male' => 'Benutzer', 'female' => 'Benutzer' ),
	NS_USER_TALK => array( 'male' => 'Benutzer_Diskussion', 'female' => 'Benutzer_Diskussion' )
);

Usually the female version of user would correctly be "Benutzerin" in German.