r28566 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r28565‎ | r28566 | r28567 >
Date:20:20, 16 December 2007
Author:siebrand
Status:old
Tags:
Comment:
Add support for Seealso
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -13,7 +13,7 @@
1414
1515 $wgExtensionCredits['specialpage'][] = array(
1616 'name' => 'Translate',
17 - 'version' => '5.20',
 17+ 'version' => '5.21',
1818 'author' => 'Niklas Laxström, Siebrand Mazeland',
1919 'description' => 'Special page for translating Mediawiki and beyond',
2020 'url' => 'http://www.mediawiki.org/wiki/Extension:Translate',
@@ -155,6 +155,7 @@
156156 'ext-resign' => 'ResignMessageGroup',
157157 'ext-review' => 'ReviewMessageGroup',
158158 'ext-scanset' => 'ScanSetMessageGroup',
 159+'ext-seealso' => 'SeealsoMessageGroup',
159160 'ext-selectcategory' => 'SelectCategoryExtensionGroup',
160161 'ext-showprocesslist' => 'ShowProcesslistMessageGroup',
161162 'ext-signdocument' => 'SignDocumentMessageGroup',
Index: trunk/extensions/Translate/MessageGroups.php
@@ -1559,6 +1559,14 @@
15601560 protected $messageFile = 'Review/Review.i18n.php';
15611561 }
15621562
 1563+class SeealsoMessageGroup extends ExtensionMessageGroup {
 1564+ protected $label = 'See also';
 1565+ protected $id = 'ext-seealso';
 1566+
 1567+ protected $arrName = 'messages';
 1568+ protected $messageFile = 'Seealso/Seealso.i18n.php';
 1569+}
 1570+
15631571 class ScanSetMessageGroup extends ExtensionMessageGroup {
15641572 protected $label = 'Scan Set';
15651573 protected $id = 'ext-scanset';

Status & tagging log