r29490 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r29489‎ | r29490 | r29491 >
Date:10:57, 9 January 2008
Author:siebrand
Status:old
Tags:
Comment:
Add support for MetavidWiki
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', '7.15' );
 15+define( 'TRANSLATE_VERSION', '7.16' );
1616
1717 $wgExtensionCredits['specialpage'][] = array(
1818 'name' => 'Translate',
@@ -145,6 +145,7 @@
146146 'ext-makesysop' => 'MakeSysopMessageGroup',
147147 'ext-mathstat' => 'MathStatMessageGroup',
148148 'ext-mediafunctions' => 'MediaFunctionsMessageGroup',
 149+'ext-metavidwiki' => 'MetavidWikiMessageGroup',
149150 'ext-microid' => 'MicroIDMessageGroup',
150151 'ext-minidonation' => 'MiniDonationMessageGroup',
151152 'ext-minimumnamelength' => 'MinimumNameLengthMessageGroup',
Index: trunk/extensions/Translate/MessageGroups.php
@@ -1370,6 +1370,14 @@
13711371 protected $exportEnd = '),';
13721372 }
13731373
 1374+class MetavidWikiMessageGroup extends ExtensionMessageGroup {
 1375+ protected $label = 'Metavid Wiki';
 1376+ protected $id = 'ext-metavidwiki';
 1377+
 1378+ protected $arrName = 'messages';
 1379+ protected $messageFile = 'MetavidWik/languages/MV_Messages.php';
 1380+}
 1381+
13741382 class MicroIDMessageGroup extends ExtensionMessageGroup {
13751383 protected $label = 'MicroID';
13761384 protected $id = 'ext-microid';

Status & tagging log