Board Thread:General Coding Help/@comment-9605025-20180428232938/@comment-27958705-20180501230612

Andrewds1021 #24 Not sure what is wrong with the braces, they look properly paired to me. alert("encoded-decoded: "+encodeURIComponent(decodeURIComponent(location.pathname)))+"\ngetUrl: "+mw.util.getUrl+"\nwikiUrlencode-getUrl: "+mw.util.wikiUrlencode(mw.util.getUrl); alert("encoded-decoded: "+encodeURIComponent(decodeURIComponent(location.pathname))+"\ngetUrl: "+mw.util.getUrl+"\nwikiUrlencode-getUrl: "+mw.util.wikiUrlencode(mw.util.getUrl));