r34855 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34854‎ | r34855 | r34856 >
Date:12:59, 15 May 2008
Author:siebrand
Status:old
Tags:
Comment:
Add support for ImageTagging
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.35' );
 15+define( 'TRANSLATE_VERSION', '8.36' );
1616
1717 $wgExtensionCredits['specialpage'][] = array(
1818 'name' => 'Translate',
@@ -170,6 +170,7 @@
171171 'ext-i18ntags' => 'I18nTagsMessageGroup',
172172 'ext-icon' => 'IconMessageGroup',
173173 'ext-imagemap' => 'ImageMapMessageGroup',
 174+'ext-imagetagging' => 'ImageTaggingMessageGroup',
174175 'ext-importfreeimages' => 'ImportFreeImagesMessageGroup',
175176 'ext-importusers' => 'ImportUsersMessageGroup',
176177 'ext-inputbox' => 'InputBoxMessageGroup',
Index: trunk/extensions/Translate/MessageGroups.php
@@ -1533,6 +1533,14 @@
15341534 );
15351535 }
15361536
 1537+class ImageTaggingMessageGroup extends ExtensionMessageGroup {
 1538+ protected $label = 'Image Tagging';
 1539+ protected $id = 'ext-imagetagging';
 1540+
 1541+ protected $arrName = 'messages';
 1542+ protected $messageFile = 'ImageTagging/ImageTagging.i18n.php';
 1543+}
 1544+
15371545 class ImportFreeImagesMessageGroup extends ExtensionMessageGroup {
15381546 protected $label = 'Import Free Images';
15391547 protected $id = 'ext-importfreeimages';

Status & tagging log