mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-15 03:23:51 +00:00
Large commit. Removed 800+ references to no-op wfLoadExtensionMessages()
This commit is contained in:
parent
66026f2c33
commit
16fa29f47e
|
@ -122,8 +122,6 @@ function wfGadgetsGetPreferences( $user, &$preferences ) {
|
|||
$gadgets = wfLoadGadgetsStructured();
|
||||
if (!$gadgets) return true;
|
||||
|
||||
wfLoadExtensionMessages( 'Gadgets' );
|
||||
|
||||
$options = array();
|
||||
foreach( $gadgets as $section => $thisSection ) {
|
||||
$section = wfMsgExt( "gadget-section-$section", 'parseinline' );
|
||||
|
|
|
@ -32,7 +32,6 @@ class SpecialGadgets extends SpecialPage {
|
|||
function execute( $par ) {
|
||||
global $wgOut, $wgUser, $wgLang, $wgContLang;
|
||||
|
||||
wfLoadExtensionMessages( 'Gadgets' );
|
||||
$skin = $wgUser->getSkin();
|
||||
|
||||
$this->setHeaders();
|
||||
|
|
Loading…
Reference in a new issue