MediaWiki:Gadget-find-archived-section.js: Difference between revisions

Content deleted Content added
add support for minerva skin
tweak cmt
Line 21:
prefix = encodeURIComponent(prefix);
 
var hashColonFixed = hash.replace(/^([A-Za-z]+):/, '$1'); // remove colon that may get interpreted as an interwiki linkslink, otherwisecausing the search link willto go straight to the interwiki page.
var search = encodeURIComponent('"' + hashColonFixed.replace(/_/g, ' ') + '"');