r45169 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45168‎ | r45169 | r45170 >
Date:23:11, 29 December 2008
Author:siebrand
Status:ok
Tags:
Comment:
* fix bug in special page aliases
* $wgSpecialPageGroups for special page
* bump version
Modified paths:
  • /trunk/extensions/UsageStatistics/SpecialUserStats.alias.php (modified) (history)
  • /trunk/extensions/UsageStatistics/SpecialUserStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsageStatistics/SpecialUserStats.php
@@ -13,7 +13,7 @@
1414
1515 $wgExtensionCredits['specialpage'][] = array(
1616 'name' => 'UserStats',
17 - 'version' => 'v1.11.2',
 17+ 'version' => 'v1.11.3',
1818 'author' => 'Paul Grinberg',
1919 'email' => 'gri6507 at yahoo dot com',
2020 'url' => 'http://www.mediawiki.org/wiki/Extension:Usage_Statistics',
@@ -39,3 +39,4 @@
4040 $wgExtensionAliasesFiles['UserStats'] = $dir . 'SpecialUserStats.alias.php';
4141 $wgAutoloadClasses['SpecialUserStats'] = $dir . '/SpecialUserStats_body.php';
4242 $wgSpecialPages['SpecialUserStats'] = 'SpecialUserStats';
 43+$wgSpecialPageGroups['SpecialUserStats'] = 'wiki';
Index: trunk/extensions/UsageStatistics/SpecialUserStats.alias.php
@@ -10,107 +10,107 @@
1111 * @author Paul Grinberg
1212 */
1313 $aliases['en'] = array(
14 - 'UserStats' => array( 'UserStats', 'SpecialUserStats' ),
 14+ 'SpecialUserStats' => array( 'UserStats', 'SpecialUserStats' ),
1515 );
1616
1717 /** Arabic (العربية)
1818 * @author Meno25
1919 */
2020 $aliases['ar'] = array(
21 - 'UserStats' => array( 'إحصاءات_المستخدم', 'خاص_إحصاءات_المستخدم' ),
 21+ 'SpecialUserStats' => array( 'إحصاءات_المستخدم', 'خاص_إحصاءات_المستخدم' ),
2222 );
2323
2424 /** Egyptian Spoken Arabic (مصرى)
2525 * @author Meno25
2626 */
2727 $aliases['arz'] = array(
28 - 'UserStats' => array( 'إحصاءات_المستخدم', 'خاص_إحصاءات_المستخدم' ),
 28+ 'SpecialUserStats' => array( 'إحصاءات_المستخدم', 'خاص_إحصاءات_المستخدم' ),
2929 );
3030
3131 /** Assamese (অসমীয়া) */
3232 $aliases['as'] = array(
33 - 'UserStats' => array( 'সদস্য পৰিসংখ্যা', 'বিশেষ সদস্য পৰিসংখ্যা' ),
 33+ 'SpecialUserStats' => array( 'সদস্য পৰিসংখ্যা', 'বিশেষ সদস্য পৰিসংখ্যা' ),
3434 );
3535
3636 /** Bosnian (Bosanski) */
3737 $aliases['bs'] = array(
38 - 'UserStats' => array( 'KorisnickeStatistike' ),
 38+ 'SpecialUserStats' => array( 'KorisnickeStatistike' ),
3939 );
4040
4141 /** German (Deutsch) */
4242 $aliases['de'] = array(
43 - 'UserStats' => array( 'Benutzerstatistik' ),
 43+ 'SpecialUserStats' => array( 'Benutzerstatistik' ),
4444 );
4545
4646 /** Persian (فارسی) */
4747 $aliases['fa'] = array(
48 - 'UserStats' => array( 'آمار_کاربر' ),
 48+ 'SpecialUserStats' => array( 'آمار_کاربر' ),
4949 );
5050
5151 /** French (Français) */
5252 $aliases['fr'] = array(
53 - 'UserStats' => array( 'StatistiquesUtilisateur' ),
 53+ 'SpecialUserStats' => array( 'StatistiquesUtilisateur' ),
5454 );
5555
5656 /** Swiss German (Alemannisch) */
5757 $aliases['gsw'] = array(
58 - 'UserStats' => array( 'Benutzerstatischtik' ),
 58+ 'SpecialUserStats' => array( 'Benutzerstatischtik' ),
5959 );
6060
6161 /** Hungarian (Magyar) */
6262 $aliases['hu'] = array(
63 - 'UserStats' => array( 'Felhasználói statisztika', 'Felhasználóstatisztika' ),
 63+ 'SpecialUserStats' => array( 'Felhasználói statisztika', 'Felhasználóstatisztika' ),
6464 );
6565
6666 /** Indonesian (Bahasa Indonesia) */
6767 $aliases['id'] = array(
68 - 'UserStats' => array( 'Statistik pengguna' ),
 68+ 'SpecialUserStats' => array( 'Statistik pengguna' ),
6969 );
7070
7171 /** Japanese (日本語) */
7272 $aliases['ja'] = array(
73 - 'UserStats' => array( '利用統計' ),
 73+ 'SpecialUserStats' => array( '利用統計' ),
7474 );
7575
7676 /** Ripoarisch (Ripoarisch) */
7777 $aliases['ksh'] = array(
78 - 'UserStats' => array( 'Statistik vun fun de Metmaacher', 'Statistik vun fun de Medmaacher', 'Metmaacher ier Zahle', 'Medmaacher ier Zahle' ),
 78+ 'SpecialUserStats' => array( 'Statistik vun fun de Metmaacher', 'Statistik vun fun de Medmaacher', 'Metmaacher ier Zahle', 'Medmaacher ier Zahle' ),
7979 );
8080
8181 /** Luxembourgish (Lëtzebuergesch) */
8282 $aliases['lb'] = array(
83 - 'UserStats' => array( 'Benotzerstistiken' ),
 83+ 'SpecialUserStats' => array( 'Benotzerstistiken' ),
8484 );
8585
8686 /** Macedonian (Македонски) */
8787 $aliases['mk'] = array(
88 - 'UserStats' => array( 'СтатистикиЗаКорисник', 'СпецијалниСтатистикиЗаКорисник' ),
 88+ 'SpecialUserStats' => array( 'СтатистикиЗаКорисник', 'СпецијалниСтатистикиЗаКорисник' ),
8989 );
9090
9191 /** Nedersaksisch (Nedersaksisch) */
9292 $aliases['nds-nl'] = array(
93 - 'UserStats' => array( 'Gebrukersgegevens' ),
 93+ 'SpecialUserStats' => array( 'Gebrukersgegevens' ),
9494 );
9595
9696 /** Dutch (Nederlands)
9797 * @author Siebrand
9898 */
9999 $aliases['nl'] = array(
100 - 'UserStats' => array( 'Gebruikersgegevens', 'Gebruikersstatistieken' ),
 100+ 'SpecialUserStats' => array( 'Gebruikersgegevens', 'Gebruikersstatistieken' ),
101101 );
102102
103103 /** Norwegian (bokmål)‬ (‪Norsk (bokmål)‬) */
104104 $aliases['no'] = array(
105 - 'UserStats' => array( 'Brukerstatistikk' ),
 105+ 'SpecialUserStats' => array( 'Brukerstatistikk' ),
106106 );
107107
108108 /** Swedish (Svenska) */
109109 $aliases['sv'] = array(
110 - 'UserStats' => array( 'Användarstatistik' ),
 110+ 'SpecialUserStats' => array( 'Användarstatistik' ),
111111 );
112112
113113 /** Swahili (Kiswahili) */
114114 $aliases['sw'] = array(
115 - 'UserStats' => array( 'TakwimuzaMtumiaji', 'TakwimumaalumzaMtumiaji' ),
 115+ 'SpecialUserStats' => array( 'TakwimuzaMtumiaji', 'TakwimumaalumzaMtumiaji' ),
116116 );
117117

Status & tagging log