From: Trevor Parscal Date: Wed, 22 Sep 2010 00:05:29 +0000 (+0000) Subject: Removed unneeded mediaWiki.loader.using wrapper which got the old toolbar working... X-Git-Tag: 1.31.0-rc.0~34844 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=88430305792aae555ebe6bf639ab39b307521c93;p=lhc%2Fweb%2Fwiklou.git Removed unneeded mediaWiki.loader.using wrapper which got the old toolbar working again. Fixes bug #25239. --- diff --git a/includes/EditPage.php b/includes/EditPage.php index df54af83b3..f027ba6bdf 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2246,7 +2246,7 @@ HTML } $wgOut->addScript( Html::inlineScript( - "if ( mediaWiki !== undefined ) { mediaWiki.loader.using( 'mediawiki.legacy.edit', function() { $script } ); }" + "if ( mediaWiki !== undefined ) { $script }" ) ); $toolbar .= "\n";