Content deleted Content added
Manishearth (talk | contribs) No edit summary |
Amorymeltzer (talk | contribs) m Remove legacy globals per phab:T72470 (via WP:JWB) |
||
Line 9:
var search=document.___location.toString().split("index.php?title=Special:Search&search=")[1].split("&go=Go")[0]
if(search.toLowerCase().indexOf("edit:")!= -1){
document.___location=mw.config.get('wgServer') + "/w/index.php?title="+ search.toLowerCase().split("edit:")[1]+ "&action=edit"
}
Line 17:
var search=document.___location.toString().split("index.php?title=Special%3ASearch&search=")[1].split("&go=Go")[0]
if(search.toLowerCase().indexOf("edit%3a")!= -1){
document.___location=mw.config.get('wgServer') + "/w/index.php?title="+ search.toLowerCase().split("edit%3a")[1]+ "&action=edit"
}
|