r31889 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31888‎ | r31889 | r31890 >
Date:22:26, 12 March 2008
Author:siebrand
Status:old
Tags:
Comment:
Add support for MWSearch, and YouTubeAuthSub
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -11,7 +11,7 @@
1212 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1313 */
1414
15 -define( 'TRANSLATE_VERSION', '8.19' );
 15+define( 'TRANSLATE_VERSION', '8.20' );
1616
1717 $wgExtensionCredits['specialpage'][] = array(
1818 'name' => 'Translate',
@@ -184,6 +184,7 @@
185185 'ext-minipreview' => 'MiniPreviewMessageGroup',
186186 'ext-multiboilerplate' => 'MultiBoilerplateMessageGroup',
187187 'ext-multiupload' => 'MultiUploadMessageGroup',
 188+'ext-msearch' => 'MWSearchMessageGroup',
188189 'ext-navigationpopups' => 'NavigationPopupsMessageGroup',
189190 'ext-networkauth' => 'NetworkAuthMessageGroup',
190191 'ext-newestpages' => 'NewestPagesMessageGroup',
@@ -266,6 +267,7 @@
267268 'ext-whosonline' => 'WhosOnlineMessageGroup',
268269 'ext-wikidatalanguagemanager' => 'WikidataLanguageManagerMessageGroup',
269270 'ext-wikihiero' => 'WikihieroMessageGroup',
 271+'ext-youtubeauthsub' => 'YouTubeAuthSubMessageGroup',
270272 'ext-yui' => 'YUIMessageGroup',
271273 'out-freecol' => 'FreeColMessageGroup',
272274 );
Index: trunk/extensions/Translate/MessageGroups.php
@@ -1620,6 +1620,14 @@
16211621 protected $messageFile = 'MultiUpload/SpecialMultipleUpload.i18n.php';
16221622 }
16231623
 1624+class MWSearchMessageGroup extends ExtensionMessageGroup {
 1625+ protected $label = 'MediaWiki Search';
 1626+ protected $id = 'ext-mwsearch';
 1627+
 1628+ protected $arrName = 'messages';
 1629+ protected $messageFile = 'MWSearch/MWSearch.18n.php';
 1630+}
 1631+
16241632 class NavigationPopupsMessageGroup extends ExtensionMessageGroup {
16251633 protected $label = 'Navigation Popups';
16261634 protected $id = 'ext-navigationpopups';
@@ -2347,6 +2355,14 @@
23482356 protected $messageFile = 'SocialProfile/YUI/yui.i18n.php';
23492357 }
23502358
 2359+class YouTubeAuthSubMessageGroup extends ExtensionMessageGroup {
 2360+ protected $label = 'YouTube Auth Sub';
 2361+ protected $id = 'ext-youtubeauthsub';
 2362+
 2363+ protected $arrName = 'messages';
 2364+ protected $messageFile = 'YouTubeAuthSub/YouTubeAuthSub.i18n.php';
 2365+}
 2366+
23512367 class FreeColMessageGroup extends MessageGroup {
23522368 protected $fileExporter = null;
23532369 protected $label = 'FreeCol (open source game)';

Status & tagging log