User:Enterprisey/rename-reason-fixer.js

In today's article, we are going to delve into the fascinating world of User:Enterprisey/rename-reason-fixer.js. From its impact on history to its relevance today, User:Enterprisey/rename-reason-fixer.js has been a topic of constant interest and debate. Over the years, User:Enterprisey/rename-reason-fixer.js has played a crucial role in people's lives, influencing the way they think, act and relate to the world around them. Through a detailed and in-depth analysis, we will explore the different aspects of User:Enterprisey/rename-reason-fixer.js and its influence on society. From its origins to its evolution, we will delve into the complexity of User:Enterprisey/rename-reason-fixer.js and its impact on our lives.
$( function () {
    $( "a" ).each( function ( index ) {
        var oldUrl = decodeURI( $( this ).attr( "href" ) );
        var serverName = mw.config.get( "wgServerName" );
        var newUrl = oldUrl.replace( /\[\[.+?\|/g, "[[:m:" +
            ( serverName === "meta.wikimedia.org" ? "" :
                mw.config.get( "wgServerName" ).split( "." ) + ":" +
                mw.config.get( "wgServerName" ).split( "." ) + ":" ) +
            "Special:Permalink/" + mw.config.get( "wgRevisionId" ) + "|" );
        $( this ).attr( "href", encodeURI( newUrl ) );
    } );
} );