r34879 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34878‎ | r34879 | r34880 >
Date:18:38, 15 May 2008
Author:siebrand
Status:old
Tags:
Comment:
Add support for DPLforum extension

Supported extension message group #200. Yay!
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.36' );
 15+define( 'TRANSLATE_VERSION', '8.37' );
1616
1717 $wgExtensionCredits['specialpage'][] = array(
1818 'name' => 'Translate',
@@ -144,11 +144,12 @@
145145 'ext-didyoumean' => 'DidYouMeanMessageGroup',
146146 'ext-dismissablesitenotice' => 'DismissableSiteNoticeMessageGroup',
147147 'ext-doublewiki' => 'DoubleWikiMessageGroup',
 148+'ext-dplforum' => 'DPLForumMessageGroup',
148149 'ext-duplicator' => 'DuplicatorMessageGroup',
149150 'ext-editcount' => 'EditcountMessageGroup',
150151 'ext-editmessages' => 'EditMessagesMessageGroup',
151152 'ext-editown' => 'EditOwnMessageGroup',
152 -'ext-editsubpages' => 'EditSubpagesMessageGroup',
 153+'ext-editsubpages' => 'EditSubpagesMessageGroup',
153154 'ext-edituser' => 'EditUserMessageGroup',
154155 'ext-emailaddressimage' => 'EmailAddressImageMessageGroup',
155156 'ext-eval' => 'EvalMessageGroup',
Index: trunk/extensions/Translate/MessageGroups.php
@@ -1290,6 +1290,14 @@
12911291 protected $messageFile = 'DoubleWiki/DoubleWiki.i18n.php';
12921292 }
12931293
 1294+class DPLForumMessageGroup extends ExtensionMessageGroup {
 1295+ protected $label = 'DPL Forum';
 1296+ protected $id = 'ext-dplforum';
 1297+
 1298+ protected $arrName = 'messages';
 1299+ protected $messageFile = 'DPLforum/DPLforum.i18n.php';
 1300+}
 1301+
12941302 class DuplicatorMessageGroup extends ExtensionMessageGroup {
12951303 protected $label = 'Duplicator';
12961304 protected $id = 'ext-duplicator';

Status & tagging log