Wikipedia:WikiProject User scripts/Scripts/Show last secure diff

This is an old revision of this page, as edited by PhilKnight (talk | contribs) at 22:38, 26 October 2011 (Protected Wikipedia:WikiProject User scripts/Scripts/Show last secure diff: script ([edit=sysop] (indefinite) [move=sysop] (indefinite))). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

//

// Originally based on http://en.wikipedia.org/w/index.php?title=User:JesseW/monobook.js&oldid=20755510
//See [[Wikipedia:WikiProject User scripts/Scripts/Show last diff]] - for the script this was based on
//See [[Wikipedia:WikiProject User scripts/Scripts/Show last secure diff]] - for this script
// addLastSecureDiff
function addLastSecureDiff()
{
    addPortletLink('p-cactions', 'https://secure.wikimedia.org/wikipedia/en/w/index.php?title=' + wgPageName + "&diff=cur&oldid=prev", 'last', 'ca-last', 'Show most recent diff');
}
if(wgCanonicalNamespace != 'Special') addOnloadHook(addLastSecureDiff);

//