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

Content deleted Content added
Technical 13 (talk | contribs)
+= link... Appears to work, will have to test on some others...
Technical 13 (talk | contribs)
m ce formatting... Still fails on a few of the ones using old style parameters, but strongly suggests loading the diff (no reload link, only diff)
Line 31:
var deOrphanedText = 'Article deOrphaned! <small>( ';
if(oldMIparameter ){
deOrphanedText += 'load<b style="font-variant: small-caps;">Load</b> ';
} else {
deOrphanedText += '<small>(<a href="#reLoad" onClick="___location.reload();" style="font-weight: bold;">reload</a> | ';
}
deOrphanedText += '<a href="//en.wikipedia.org/w/index.php?title=' + mw.config.get("wgTitle") + '&diff=cur&oldid=prev" style="font-weight: bold;">diff</a> )</small>';
$(".loadinganimation").html(deOrphanedText);
});