r55310 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55309‎ | r55310 | r55311 >
Date:07:09, 19 August 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Somehow the implementation of r54847 did not work. Now adding $wgExtensionMessagesFiles ParserFunctionsMagic instead, which does appear to work.
Modified paths:
  • /trunk/extensions/ParserFunctions/ParserFunctions.i18n.php (modified) (history)
  • /trunk/extensions/ParserFunctions/ParserFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ParserFunctions/ParserFunctions.i18n.php
@@ -5,8 +5,6 @@
66 * @addtogroup Extensions
77 */
88
9 -require_once( dirname(__FILE__) . '/ParserFunctions.i18n.magic.php' );
10 -
119 $messages = array();
1210
1311 $messages['en'] = array(
Index: trunk/extensions/ParserFunctions/ParserFunctions.php
@@ -44,6 +44,7 @@
4545
4646 $wgAutoloadClasses['ExtParserFunctions'] = dirname(__FILE__).'/ParserFunctions_body.php';
4747 $wgExtensionMessagesFiles['ParserFunctions'] = dirname(__FILE__) . '/ParserFunctions.i18n.php';
 48+$wgExtensionMessagesFiles['ParserFunctionsMagic'] = dirname(__FILE__) . '/ParserFunctions.i18n.magic.php';
4849
4950 $wgParserTestFiles[] = dirname( __FILE__ ) . "/funcsParserTests.txt";
5051

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r54847* new style magic words support for ParserFunctions...siebrand13:08, 12 August 2009

Status & tagging log