Content deleted Content added
update to addLink |
m Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1:
function addSinceTab() {
if (window.___location.href.indexOf("&action=history&gotosince=true")!=-1) {
Line 8 ⟶ 5:
else if (!/wiki\/Special:|w\/index.php?title=Special:/.test(window.___location.href)) {
var thetitle=document.title.slice(0, String(document.title).indexOf(" - "));
var l=
l.lastChild.title="Changes since I last edited";
}
Line 34 ⟶ 31:
}
|