User:Liangent/common.js

( function( $, mw ) {   if ( mw.config.get( 'wgNamespaceNumber' ) == 2500 && mw.config.get( 'wgAction' ) == 'view' && location.search.indexOf( 'vewhitelist' ) == -1 ) {        if ( location.search ) {            history.pushState( {}, , location + '&vewhitelist' );        } else {            history.pushState( {}, , location + '?vewhitelist' );        }    } } )( jQuery, mediaWiki );