MediaWiki:Monobook.js: Difference between revisions

From Halopedia, the Halo wiki

(testing to see if this fixes the encoding problems)
(more testing)
Line 160: Line 160:
}
}
article = article.replace( MonobookSidebar.re_s, '_' );
article = article.replace( MonobookSidebar.re_s, '_' );
if( wgUserName == 'Jack Phoenix' ) {
// Replace encoded colons with normal colons
article = article.replace( /%3A/g, ':' );
}
var a = document.createElement( 'a' );
var a = document.createElement( 'a' );
if ( article.length > 7 && article.substr( 0, 7 ) == 'http://' ) {
if ( article.length > 7 && article.substr( 0, 7 ) == 'http://' ) {