MediaWiki:Monobook.js: Difference between revisions
From Halopedia, the Halo wiki
Jack Phoenix (talk | contribs) (testing to see if this fixes the encoding problems) |
Jack Phoenix (talk | contribs) (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://' ) { |