r33568 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33567‎ | r33568 | r33569 >
Date:22:18, 18 April 2008
Author:siebrand
Status:old
Tags:
Comment:
add support to Translate for extension SemanticMediaWiki (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.27' );
 15+define( 'TRANSLATE_VERSION', '8.28' );
1616
1717 $wgExtensionCredits['specialpage'][] = array(
1818 'name' => 'Translate',
@@ -230,6 +230,7 @@
231231 'ext-semanticcalendar' => 'SemanticCalendarMessageGroup',
232232 'ext-semanticdrilldown' => 'SemanticDrilldownMessageGroup',
233233 'ext-semanticforms' => 'SemanticFormsMessageGroup',
 234+'ext-semanticmediawiki' => 'SemanticMediaWikiMessageGroup',
234235 'ext-showprocesslist' => 'ShowProcesslistMessageGroup',
235236 'ext-signdocument' => 'SignDocumentMessageGroup',
236237 'ext-signdocumentspecial' => 'SignDocumentSpecialMessageGroup',
Index: trunk/extensions/Translate/MessageGroups.php
@@ -2057,6 +2057,14 @@
20582058 protected $messageFile = 'SemanticForms/languages/SF_Messages.php';
20592059 }
20602060
 2061+class SemanticMediaWikiMessageGroup extends ExtensionMessageGroup {
 2062+ protected $label = 'Semantic MediaWiki';
 2063+ protected $id = 'ext-semanticmediawiki';
 2064+
 2065+ protected $arrName = 'messages';
 2066+ protected $messageFile = 'SemanticMediaWiki/languages/SMW_Messages.php';
 2067+}
 2068+
20612069 class ShowProcesslistMessageGroup extends ExtensionMessageGroup {
20622070 protected $label = 'Show Processlist';
20632071 protected $id = 'ext-showprocesslist';

Status & tagging log