MediaWiki talk:Gadget-protectionLocks.js

Link URL encoding
When you click on one of the padlocks, it goes to the intended page correctly. But if the target page is namespaced (they all are) the colon will be encoded to %3A in the URL. This doesn't break anything, unless some userscripts expect an actual colon there, but it just isn't correct. So is it really need to encode the link argument of the mimicIndicator function with encodeURIComponent? The values that get encoded are defined by this same script, it's not user input, so I can't see the harm in just removing this encode function call. – Jack McKalling 17:43, 3 November 2018 (UTC)