r58405 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58404‎ | r58405 | r58406 >
Date:20:18, 1 November 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Properly load l10n for magic words (shuts up """ is not a valid magic thingie for "useliquidthreads"" from languages/Language.php).
Remove bogus class.
Modified paths:
  • /trunk/extensions/LiquidThreads/LiquidThreads.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/LiquidThreads.php
@@ -38,6 +38,7 @@
3939 // Localisation
4040 $dir = dirname( __FILE__ ) . '/';
4141 $wgExtensionMessagesFiles['LiquidThreads'] = $dir . 'i18n/Lqt.i18n.php';
 42+$wgExtensionMessagesFiles['LiquidThreadsMagic'] = $dir . 'i18n/LiquidThreads.magic.php';
4243 $wgExtensionAliasesFiles['LiquidThreads'] = $dir . 'i18n/Lqt.alias.php';
4344
4445 // Parser Function Setup
@@ -108,7 +109,6 @@
109110 $wgAutoloadClasses['Thread'] = $dir . 'classes/Thread.php';
110111 $wgAutoloadClasses['Threads'] = $dir . 'classes/Threads.php';
111112 $wgAutoloadClasses['NewMessages'] = $dir . 'classes/NewMessagesController.php';
112 -$wgAutoloadClasses['LiquidThreadsMagicWords'] = $dir . 'i18n/LiquidThreads.magic.php';
113113 $wgAutoloadClasses['LqtParserFunctions'] = $dir . 'classes/ParserFunctions.php';
114114 $wgAutoloadClasses['LqtDeletionController'] = $dir . 'classes/DeletionController.php';
115115 $wgAutoloadClasses['LqtHooks'] = $dir . 'classes/Hooks.php';

Status & tagging log