Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -2492,7 +2492,7 @@ |
2493 | 2493 | return $this->mVarCache[$index] = $wgContLang->formatNum( SiteStats::images() ); |
2494 | 2494 | case 'numberofusers': |
2495 | 2495 | return $this->mVarCache[$index] = $wgContLang->formatNum( SiteStats::users() ); |
2496 | | - case 'activeusers': |
| 2496 | + case 'numberofactiveusers': |
2497 | 2497 | return $this->mVarCache[$index] = $wgContLang->formatNum( SiteStats::activeUsers() ); |
2498 | 2498 | case 'numberofpages': |
2499 | 2499 | return $this->mVarCache[$index] = $wgContLang->formatNum( SiteStats::pages() ); |
Index: trunk/phase3/includes/parser/CoreParserFunctions.php |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | $parser->setFunctionHook( 'plural', array( __CLASS__, 'plural' ), SFH_NO_HASH ); |
33 | 33 | $parser->setFunctionHook( 'numberofpages', array( __CLASS__, 'numberofpages' ), SFH_NO_HASH ); |
34 | 34 | $parser->setFunctionHook( 'numberofusers', array( __CLASS__, 'numberofusers' ), SFH_NO_HASH ); |
35 | | - $parser->setFunctionHook( 'activeusers', array( __CLASS__, 'activeusers' ), SFH_NO_HASH ); |
| 35 | + $parser->setFunctionHook( 'numberofactiveusers', array( __CLASS__, 'numberofactiveusers' ), SFH_NO_HASH ); |
36 | 36 | $parser->setFunctionHook( 'numberofarticles', array( __CLASS__, 'numberofarticles' ), SFH_NO_HASH ); |
37 | 37 | $parser->setFunctionHook( 'numberoffiles', array( __CLASS__, 'numberoffiles' ), SFH_NO_HASH ); |
38 | 38 | $parser->setFunctionHook( 'numberofadmins', array( __CLASS__, 'numberofadmins' ), SFH_NO_HASH ); |
— | — | @@ -245,7 +245,7 @@ |
246 | 246 | static function numberofusers( $parser, $raw = null ) { |
247 | 247 | return self::formatRaw( SiteStats::users(), $raw ); |
248 | 248 | } |
249 | | - static function activeusers( $parser, $raw = null ) { |
| 249 | + static function numberofactiveusers( $parser, $raw = null ) { |
250 | 250 | return self::formatRaw( SiteStats::activeUsers(), $raw ); |
251 | 251 | } |
252 | 252 | static function numberofarticles( $parser, $raw = null ) { |
Index: trunk/phase3/includes/MagicWord.php |
— | — | @@ -90,7 +90,7 @@ |
91 | 91 | 'subjectpagename', |
92 | 92 | 'subjectpagenamee', |
93 | 93 | 'numberofusers', |
94 | | - 'activeusers', |
| 94 | + 'numberofactiveusers', |
95 | 95 | 'newsectionlink', |
96 | 96 | 'numberofpages', |
97 | 97 | 'currentversion', |
— | — | @@ -142,7 +142,7 @@ |
143 | 143 | 'localweek' => 3600, |
144 | 144 | 'localdow' => 3600, |
145 | 145 | 'numberofusers' => 3600, |
146 | | - 'activeusers' => 3600, |
| 146 | + 'numberofactiveusers' => 3600, |
147 | 147 | 'numberofpages' => 3600, |
148 | 148 | 'currentversion' => 86400, |
149 | 149 | 'currenttimestamp' => 3600, |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -232,7 +232,7 @@ |
233 | 233 | 'numberofarticles' => array( 1, 'NUMBEROFARTICLES' ), |
234 | 234 | 'numberoffiles' => array( 1, 'NUMBEROFFILES' ), |
235 | 235 | 'numberofusers' => array( 1, 'NUMBEROFUSERS' ), |
236 | | - 'activeusers' => array( 1, 'ACTIVEUSERS', 'NUMBEROFACTIVEUSERS' ), |
| 236 | + 'numberofactiveusers' => array( 1, 'NUMBEROFACTIVEUSERS' ), |
237 | 237 | 'numberofedits' => array( 1, 'NUMBEROFEDITS' ), |
238 | 238 | 'numberofviews' => array( 1, 'NUMBEROFVIEWS' ), |
239 | 239 | 'pagename' => array( 1, 'PAGENAME' ), |