Merge "Add @since tags for initial Action.php methods"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 29 Aug 2014 17:02:03 +0000 (17:02 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 29 Aug 2014 17:02:03 +0000 (17:02 +0000)
resources/src/mediawiki.action/mediawiki.action.view.redirect.js

index c87ff7c..b9aa137 100644 (file)
                // This will also cause the browser to scroll to given fragment
                history.replaceState( /*data=*/ history.state, /*title=*/ document.title, /*url=*/ canonical );
 
+               // â€¦except for IE 10 and 11. Prod it with a location.hash change.
+               if ( shouldChangeFragment && profile.name === 'msie' && profile.versionNumber >= 10 ) {
+                       location.hash = fragment;
+               }
+
        } else if ( shouldChangeFragment ) {
                if ( profile.layout === 'webkit' && profile.layoutVersion < 420 ) {
                        // Released Safari w/ WebKit 418.9.1 messes up horribly