r114078 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114077‎ | r114078 | r114079 >
Date:21:59, 17 March 2012
Author:van-de-bugger
Status:new
Tags:
Comment:
Genderize: README updated.
Modified paths:
  • /trunk/extensions/Genderize/README (modified) (history)

Diff [purge]

Index: trunk/extensions/Genderize/README
@@ -1,6 +1,6 @@
22 <!-- README -->
33
4 -== What for? ==
 4+== What? ==
55
66 Let user page titles and links to user pages be gender-specific.
77
@@ -18,20 +18,25 @@
1919
2020 svn checkout https://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Genderize
2121
22 -== Usage ==
 22+== Installation ==
2323
24 -Add to your LocalSettings.php:
 24+Add to your `LocalSettings.php':
2525
26 - // $egGenderize should be set *before* including `Genderize.php'.
27 - $egGenderize[ 'male' ] = 'Male'; // Replace Male, Female,
28 - $egGenderize[ 'female' ] = 'Female'; // and Unknown with proper words
29 - $egGenderize[ 'unknown' ] = 'Unknown'; // in wiki content language.
30 - // Do *not* change $wgExtraGenderNamespaces[ NS_USER ].
31 - // Include extension file:
32 - require_once( 'path-to-extension/Genderize.php' );
 26+ require_once( "$IP/extensions/Genderize/Genderize.php" );
3327
34 -If $egGender is not set, English `User' is used instead.
 28+== Configuration ==
3529
 30+In `LocalSettings.php' after including `Genderize.php':
 31+
 32+ $egGenderize = array(
 33+ 'male' => '‍Male‍', // Replace Male, Female,
 34+ 'female' => '‍Female‍', // and Unknown with proper words
 35+ 'unknown' => '‍Unknown‍' // in wiki content language.
 36+ );
 37+
 38+Do not change `$wgExtraGenderNamespaces[ NS_USER ]'. If $egGender is not set, English `User' is
 39+used instead.
 40+
3641 == Effect ==
3742
3843 (Let us assume $egGenderize is set as in the example above.)

Status & tagging log