Merge "Increase parity between api search and on-wiki search"
[lhc/web/wiklou.git] / resources / src / mediawiki.action / mediawiki.action.view.redirect.js
index b9aa137..e66d8f6 100644 (file)
                fragment = null,
                shouldChangeFragment, index;
 
-       // Clear internal mw.config entries, so that no one tries to depend on them
-       mw.config.set( 'wgInternalRedirectTargetUrl', null );
-
-       // Deployment hack for compatibility with cached HTML, remove before 1.24 release
-       if ( !canonical ) {
-               canonical = mw.config.get( 'wgRedirectToFragment' );
-       }
-
        index = canonical.indexOf( '#' );
        if ( index !== -1 ) {
                fragment = canonical.slice( index );