r51185 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51184‎ | r51185 | r51186 >
Date:09:03, 30 May 2009
Author:catrope
Status:deferred
Tags:
Comment:
UsabilityInitiative: Register messages file
Modified paths:
  • /trunk/extensions/UsabilityInitiative/UsabilityInitiative.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.php
@@ -27,12 +27,15 @@
2828 );
2929
3030 // Shortcut to this extension directory
31 -$dir = dirname( __FILE__ ) . '/';
 31+$dir = dirname( __FILE__ );
3232
3333 // Autoload Classes
3434 $wgAutoloadClasses['UsabilityInitiativeHooks'] =
35 - $dir . 'UsabilityInitiative.hooks.php';
 35+ "$dir/UsabilityInitiative.hooks.php";
3636
 37+$wgExtensionMessagesFiles['UsabilityInitiative'] =
 38+ "$dir/UsabilityInitiative.i18n.php";
 39+
3740 // Register ajax add script hook
3841 $wgHooks['AjaxAddScript'][] = 'UsabilityInitiativeHooks::addJS';
3942

Status & tagging log