MediaWiki:Monobook.js: Difference between revisions
From Halopedia, the Halo wiki
Jack Phoenix (talk | contribs) (hmm) |
Jack Phoenix (talk | contribs) No edit summary |
||
Line 163: | Line 163: | ||
if ( article.length > 7 && article.substr( 0, 7 ) == 'http://' ) { | if ( article.length > 7 && article.substr( 0, 7 ) == 'http://' ) { | ||
if ( wgUserName == 'Jack Phoenix' ) { // test code | if ( wgUserName == 'Jack Phoenix' ) { // test code | ||
a.setAttribute( 'href', | a.setAttribute( 'href', decodeURIcomponent( article ) ); | ||
} else { | } else { | ||
a.setAttribute( 'href', article ); | a.setAttribute( 'href', article ); |