r29562 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r29561‎ | r29562 | r29563 >
Date:22:31, 10 January 2008
Author:nikerabbit
Status:old
Tags:
Comment:
* Delay message loading
Modified paths:
  • /trunk/extensions/Makebot/Makebot.class.php (modified) (history)
  • /trunk/extensions/Makebot/Makebot.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Makebot/Makebot.php
@@ -49,7 +49,6 @@
5050 */
5151 function efMakeBot() {
5252 global $wgLogTypes, $wgLogNames, $wgLogHeaders, $wgLogActions;
53 - wfLoadExtensionMessages('Makebot');
5453 $wgLogTypes[] = 'makebot';
5554 $wgLogNames['makebot'] = 'makebot-logpage';
5655 $wgLogHeaders['makebot'] = 'makebot-logpagetext';
Index: trunk/extensions/Makebot/Makebot.class.php
@@ -12,6 +12,7 @@
1313 * Constructor
1414 */
1515 function MakeBot() {
 16+ wfLoadExtensionMessages('Makebot');
1617 SpecialPage::SpecialPage( 'Makebot', 'makebot' );
1718 }
1819

Status & tagging log