r72273 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72272‎ | r72273 | r72274 >
Date:08:25, 3 September 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Avoid external dependencies on i18n file
Modified paths:
  • /trunk/extensions/CategoryTests/CategoryTests.i18n.php (modified) (history)
  • /trunk/extensions/CategoryTests/CategoryTests.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CategoryTests/CategoryTests.i18n.php
@@ -3,8 +3,6 @@
44 * Internationalization file for the CategoryTests extension
55 */
66
7 -require_once( dirname( __FILE__ ) . '/CategoryTests.i18n.magic.php' );
8 -
97 $messages = array();
108
119 /** English
Index: trunk/extensions/CategoryTests/CategoryTests.php
@@ -22,6 +22,7 @@
2323 );
2424
2525 $wgExtensionMessagesFiles['CategoryTests'] = dirname( __FILE__ ) . '/CategoryTests.i18n.php';
 26+$wgExtensionMessagesFiles['CategoryTestsMagic'] = dirname( __FILE__ ) . '/CategoryTests.i18n.magic.php';
2627
2728 function wfCategoryTests( $parser ) {
2829 global $wgExtCategoryTests;

Status & tagging log