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();
|
$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' );
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue