diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-04-01 06:11:44 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-04-01 06:11:44 +0200 |
commit | 14f74d141ab5580688bfd46d2f74c026e43ed967 (patch) | |
tree | 081b7cbfc4d246ecc42831978d080331267cf57c /resources/src/mediawiki.special | |
parent | 4a953b6bfda28604979feb9cfbb58974d13b84bb (diff) |
Update to MediaWiki 1.24.2
Diffstat (limited to 'resources/src/mediawiki.special')
-rw-r--r-- | resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js b/resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js index d3e8f299..fb74e4ec 100644 --- a/resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js +++ b/resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js @@ -6,7 +6,7 @@ // Create useskin dropdown menu and reload onchange to the selected skin // (only if a framework was found, not on error pages). - $( '#mw-javascripttest-summary.mw-javascripttest-frameworkfound' ).append( function () { + $( '#mw-javascripttest-summary' ).append( function () { var $html = $( '<p><label for="useskin">' + mw.message( 'javascripttest-pagetext-skins' ).escaped() @@ -25,7 +25,8 @@ // Bind onchange event handler and append to form $html.append( $( select ).change( function () { - window.location = QUnit.url( { useskin: $( this ).val() } ); + var url = new mw.Uri(); + location.href = url.extend( { useskin: $( this ).val() } ); } ) ); |