r33131 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33130‎ | r33131 | r33132 >
Date:15:15, 11 April 2008
Author:siebrand
Status:old
Tags:
Comment:
* add support for AuthorProtect
* fix sorting of supported extensions
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -89,12 +89,13 @@
9090 'core-mostused' => 'CoreMostUsedMessageGroup',
9191 'ext-0-all' => 'AllMediawikiExtensionsGroup',
9292 'ext-0-wikimedia' => 'AllWikimediaExtensionsGroup',
93 -'ext-advancedrandom' => 'AdvancedRandomMessageGroup',
 93+'ext-advancedrandom' => 'AdvancedRandomMessageGroup',
9494 'ext-ajaxquerypages' => 'AjaxQueryPagesMessageGroup',
9595 'ext-ajaxshoweditors' => 'AjaxShowEditorsMessageGroup',
9696 'ext-antispoof' => 'AntiSpoofMessageGroup',
 97+'ext-asksql' => 'AsksqlMessageGroup',
9798 'ext-assertedit' => 'AssertEditMessageGroup',
98 -'ext-asksql' => 'AsksqlMessageGroup',
 99+'ext-authorprotect' => 'AuthorProtectMessageGroup',
99100 'ext-backandforth' => 'BackAndForthMessageGroup',
100101 'ext-badimage' => 'BadImageMessageGroup',
101102 'ext-blahtex' => 'BlahtexMessageGroup',
@@ -199,9 +200,9 @@
200201 'ext-openid' => 'OpenIDMessageGroup',
201202 'ext-oversight' => 'OversightMessageGroup',
202203 'ext-pageby' => 'PageByMessageGroup',
203 -'ext-passwordreset' => 'PasswordResetMessageGroup',
204204 'ext-parserdifftest' => 'ParserDiffTestMessageGroup',
205205 'ext-parserfunctions' => 'ParserfunctionsMessageGroup',
 206+'ext-passwordreset' => 'PasswordResetMessageGroup',
206207 'ext-patroller' => 'PatrollerMessageGroup',
207208 'ext-pdfhandler' => 'PdfHandlerMessageGroup',
208209 'ext-player' => 'PlayerMessageGroup',
@@ -249,8 +250,8 @@
250251 'ext-templatelink' => 'TemplateLinkMessageGroup',
251252 'ext-throttle' => 'ThrottleMessageGroup',
252253 'ext-tidytab' => 'TidyTabMessageGroup',
 254+'ext-timeline' => 'TimelineMessageGroup',
253255 'ext-titleblacklist' => 'TitleBlacklistMessageGroup',
254 -'ext-timeline' => 'TimelineMessageGroup',
255256 'ext-titlekey' => 'TitleKeyMessageGroup',
256257 'ext-todo' => 'TodoMessageGroup',
257258 'ext-todotasks' => 'TodoTasksMessageGroup',
@@ -268,10 +269,10 @@
269270 'ext-webstore' => 'WebStoreMessageGroup',
270271 'ext-whitelist' => 'WhiteListMessageGroup',
271272 'ext-whoiswatching' => 'WhoIsWatchingMessageGroup',
272 -'ext-woopra' => 'WoopraMessageGroup',
273273 'ext-whosonline' => 'WhosOnlineMessageGroup',
274274 'ext-wikidatalanguagemanager' => 'WikidataLanguageManagerMessageGroup',
275275 'ext-wikihiero' => 'WikihieroMessageGroup',
 276+'ext-woopra' => 'WoopraMessageGroup',
276277 'ext-youtubeauthsub' => 'YouTubeAuthSubMessageGroup',
277278 'ext-yui' => 'YUIMessageGroup',
278279 'out-freecol' => 'FreeColMessageGroup',
Index: trunk/extensions/Translate/MessageGroups.php
@@ -788,6 +788,14 @@
789789 protected $messageFile = 'AssertEdit/AssertEdit.i18n.php';
790790 }
791791
 792+class AuthorProtectMessageGroup extends ExtensionMessageGroup {
 793+ protected $label = 'Author Protect';
 794+ protected $id = 'ext-authorprotect';
 795+
 796+ protected $arrName = 'messages';
 797+ protected $messageFile = 'AuthorProtect/AuthorProtect.i18n.php';
 798+}
 799+
792800 class BackAndForthMessageGroup extends ExtensionMessageGroup {
793801 protected $label = 'Back and Forth';
794802 protected $id = 'ext-backandforth';

Status & tagging log