r59775 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59774‎ | r59775 | r59776 >
Date:20:18, 6 December 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Implement magic i18n in a more visible way
Modified paths:
  • /trunk/extensions/TodoTasks/SpecialTaskList.i18n.php (modified) (history)
  • /trunk/extensions/TodoTasks/SpecialTaskList.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TodoTasks/SpecialTaskList.i18n.php
@@ -2,8 +2,6 @@
33
44 /*Internationalizaton file of TodoTask extension*/
55
6 -require_once( dirname(__FILE__) . '/TodoTasks.i18n.magic.php' );
7 -
86 $messages = array();
97
108 $messages['en'] = array(
Index: trunk/extensions/TodoTasks/SpecialTaskList.php
@@ -45,6 +45,7 @@
4646 $dir = dirname(__FILE__) . '/';
4747 $wgAutoloadClasses['TaskList'] = $dir . 'SpecialTaskList_body.php';
4848 $wgExtensionMessagesFiles['TaskList'] = $dir . 'SpecialTaskList.i18n.php';
 49+$wgExtensionMessagesFiles['TaskListMagic'] = $dir . 'TodoTasks.i18n.magic.php';
4950 $wgExtensionAliasesFiles['TaskList'] = $dir . 'SpecialTaskList.alias.php';
5051 $wgSpecialPages['TaskList'] = 'TaskList';
5152

Status & tagging log