Large commit. Removed 800+ references to no-op wfLoadExtensionMessages()

This commit is contained in:
Chad Horohoe 2010-05-26 22:25:32 +00:00
parent 66026f2c33
commit 16fa29f47e
2 changed files with 0 additions and 3 deletions

View file

@ -122,8 +122,6 @@ function wfGadgetsGetPreferences( $user, &$preferences ) {
$gadgets = wfLoadGadgetsStructured(); $gadgets = wfLoadGadgetsStructured();
if (!$gadgets) return true; if (!$gadgets) return true;
wfLoadExtensionMessages( 'Gadgets' );
$options = array(); $options = array();
foreach( $gadgets as $section => $thisSection ) { foreach( $gadgets as $section => $thisSection ) {
$section = wfMsgExt( "gadget-section-$section", 'parseinline' ); $section = wfMsgExt( "gadget-section-$section", 'parseinline' );

View file

@ -32,7 +32,6 @@ class SpecialGadgets extends SpecialPage {
function execute( $par ) { function execute( $par ) {
global $wgOut, $wgUser, $wgLang, $wgContLang; global $wgOut, $wgUser, $wgLang, $wgContLang;
wfLoadExtensionMessages( 'Gadgets' );
$skin = $wgUser->getSkin(); $skin = $wgUser->getSkin();
$this->setHeaders(); $this->setHeaders();