User:Technical 13/Scripts/OrphanStatus.js: Difference between revisions

Content deleted Content added
Technical 13 (talk | contribs)
Ohhh.. mismatched quotes. got it...
Technical 13 (talk | contribs)
Just use a deOrphan link like the others for now. I'll figure this out later. Add a "diff" link next to "reload" in case the user wants to check their edit.
Line 25:
$(".loadinganimation").html("Article deOrphaning in progress..."); })
).done(function() {
$(".loadinganimation").html('Article deOrphaned! <small>(<a href="#reLoad" onClick="___location.reload();" style="font-weight: bold;">reload</a> | <a href="//en.wikipedia.org/w/index.php?title=' + mw.config.get("wgTitle") + '&diff=cur&oldid=prev" style="font-weight: bold;">diff</a>)</small>');
});
});
Line 53:
break;
default:
var blStatement = 'This page is not an <a href="//en.wikipedia.org/wiki/Wikipedia:Orphan" style="font-weight: bold;">orphan</a> as it meets the "Rule of Three" by having three or more links from <a href="//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/' + mw.config.get('wgTitle') + '&namespace=0&hideredirs=1&hidetrans=1" style="font-weight: bold;">other articles</a>. <small>(<a href="#deOrphan" onClick="deOrphan(' + backLinks + ');" style="font-weight: bold;">deOrphan</a>)</small>';
// setTimeout( function(){ deOrphan(backLinks); }, 2500);
break;
}