mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-28 09:10:07 +00:00
Fix double "MediaWiki:MediaWiki:" namespace on Special:Gadgets
Bug: T121047 Change-Id: Ic6d0f3d3aa3c6288c1fd7f08517d53b582bdf76f
This commit is contained in:
parent
c51cba6a7c
commit
349f963180
|
@ -114,7 +114,7 @@ class SpecialGadgets extends SpecialPage {
|
|||
|
||||
$lnk = array();
|
||||
foreach ( $gadget->getScriptsAndStyles() as $codePage ) {
|
||||
$t = Title::makeTitleSafe( NS_MEDIAWIKI, $codePage );
|
||||
$t = Title::newFromText( $codePage );
|
||||
|
||||
if ( !$t ) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue