Index: trunk/extensions/ProtectSite/ProtectSite.alias.php |
— | — | @@ -6,14 +6,19 @@ |
7 | 7 | * @ingroup Extensions |
8 | 8 | */ |
9 | 9 | |
10 | | -$aliases = array(); |
| 10 | +$specialPageAliases = array(); |
11 | 11 | |
12 | 12 | /** English */ |
13 | | -$aliases['en'] = array( |
| 13 | +$specialPageAliases['en'] = array( |
14 | 14 | 'ProtectSite' => array( 'ProtectSite' ), |
15 | 15 | ); |
16 | 16 | |
17 | 17 | /** Finnish (Suomi) */ |
18 | | -$aliases['fi'] = array( |
| 18 | +$specialPageAliases['fi'] = array( |
19 | 19 | 'ProtectSite' => array( 'SuojaaSivusto', 'Suojaa sivusto' ), |
20 | | -); |
\ No newline at end of file |
| 20 | +); |
| 21 | + |
| 22 | +/** |
| 23 | + * For backwards compatibility with MediaWiki 1.15 and earlier. |
| 24 | + */ |
| 25 | +$aliases =& $specialPageAliases; |
\ No newline at end of file |
Index: trunk/extensions/ProtectSite/ProtectSite.i18n.php |
— | — | @@ -13,6 +13,7 @@ |
14 | 14 | */ |
15 | 15 | $messages['en'] = array( |
16 | 16 | 'protectsite' => 'Protect site', |
| 17 | + 'protectsite-desc' => 'Allows a site administrator to temporarily block various site modifications', |
17 | 18 | 'protectsite-text-protect' => '<!-- Instructions/Comments/Policy for use -->', |
18 | 19 | 'protectsite-text-unprotect' => '<!-- Instructions/Comments when protected -->', |
19 | 20 | 'protectsite-title' => 'Site protection settings', |
— | — | @@ -25,11 +26,11 @@ |
26 | 27 | 'protectsite-move' => 'Allow moving of pages by', |
27 | 28 | 'protectsite-upload' => 'Allow file uploads by', |
28 | 29 | 'protectsite-timeout' => 'Timeout:', |
29 | | - 'protectsite-timeout-error' => "'''Invalid Timeout.'''", |
| 30 | + 'protectsite-timeout-error' => "'''Invalid timeout.'''", |
30 | 31 | 'protectsite-maxtimeout' => 'Maximum: $1', |
31 | 32 | 'protectsite-comment' => 'Comment:', |
32 | | - 'protectsite-ucomment' => 'Unprotect comment: ', |
33 | | - 'protectsite-until' => 'Protected until: ', |
| 33 | + 'protectsite-ucomment' => 'Unprotect comment:', |
| 34 | + 'protectsite-until' => 'Protected until:', |
34 | 35 | 'protectsite-protect' => 'Protect', |
35 | 36 | 'protectsite-unprotect' => 'Unprotect', |
36 | 37 | |
— | — | @@ -594,4 +595,4 @@ |
595 | 596 | */ |
596 | 597 | $messages['uk'] = array( |
597 | 598 | 'protectsite-title' => 'Налаштування захисту сайту', |
598 | | -); |
\ No newline at end of file |
| 599 | +); |
Index: trunk/extensions/ProtectSite/ProtectSite.php |
— | — | @@ -29,10 +29,11 @@ |
30 | 30 | |
31 | 31 | /* Extension Credits. Splarka wants me to be so UN:VAIN! Haet haet hat! */ |
32 | 32 | $wgExtensionCredits['specialpage'][] = array( |
| 33 | + 'path' => __FILE__, |
33 | 34 | 'name' => 'Protect Site', |
34 | 35 | 'version' => '0.3.4', |
35 | 36 | 'author' => array( '[http://uncyclopedia.org/wiki/User:Dawg Eric Johnston]', 'Chris Stafford', 'Jack Phoenix' ), |
36 | | - 'description' => 'Allows a site administrator to temporarily block various site modifications', |
| 37 | + 'description' => 'protectsite-desc', |
37 | 38 | 'url' => 'http://www.mediawiki.org/wiki/Extension:ProtectSite', |
38 | 39 | ); |
39 | 40 | |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -1190,6 +1190,9 @@ |
1191 | 1191 | Protect Section |
1192 | 1192 | descmsg = protectsection_desc |
1193 | 1193 | |
| 1194 | +Protect Site |
| 1195 | +aliasfile = ProtectSite/ProtectSite.alias.php |
| 1196 | + |
1194 | 1197 | Proxy Connect |
1195 | 1198 | |
1196 | 1199 | PSI NoTocNum |