Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -1743,6 +1743,9 @@ |
1744 | 1744 | White List Edit |
1745 | 1745 | aliasfile = WhiteListEdit/WhiteListEdit.alias.php |
1746 | 1746 | |
| 1747 | +Whitelist Pages |
| 1748 | +ignored = public_read_whitelist |
| 1749 | + |
1747 | 1750 | Whos Online |
1748 | 1751 | aliasfile = WhosOnline/WhosOnline.alias.php |
1749 | 1752 | |
Index: trunk/extensions/WhitelistPages/WhitelistPages.i18n.php |
— | — | @@ -0,0 +1,15 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation file for extension Whitelist Pages. |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$messages = array(); |
| 11 | + |
| 12 | +$messages['en'] = array( |
| 13 | + 'whitelistpages-desc' => 'Allows [[MediaWiki:Public read whitelist|whitelisting]] pages on a private wiki so that anonymous users can read said pages', |
| 14 | + 'public_read_whitelist' => '', |
| 15 | +); |
| 16 | + |
Property changes on: trunk/extensions/WhitelistPages/WhitelistPages.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 17 | + native |
Index: trunk/extensions/WhitelistPages/WhitelistPages.php |
— | — | @@ -18,13 +18,16 @@ |
19 | 19 | |
20 | 20 | // Extension credits that will show up on Special:Version |
21 | 21 | $wgExtensionCredits['other'][] = array( |
| 22 | + 'path' => __FILE__, |
22 | 23 | 'name' => 'Whitelist Pages', |
23 | 24 | 'author' => array( 'Jack Phoenix', 'Misza' ), |
24 | | - 'version' => '0.2', |
25 | | - 'description' => 'Allows [[MediaWiki:Public read whitelist|whitelisting]] pages on a private wiki so that anonymous users can read said pages', |
| 25 | + 'version' => '0.2.1', |
| 26 | + 'descriptionmsg' => 'whitelistpages-desc', |
26 | 27 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Whitelist_Pages', |
27 | 28 | ); |
28 | 29 | |
| 30 | +$wgExtensionMessagesFiles['WhitelistPages'] = dirname( __FILE__ ) . '/WhitelistPages.i18n.php'; |
| 31 | + |
29 | 32 | $wgExtensionFunctions[] = 'wfWhitelistPages'; |
30 | 33 | function wfWhitelistPages() { |
31 | 34 | global $wgWhitelistRead, $wgGroupPermissions; |