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

This is an old revision of this page, as edited by PhilKnight (talk | contribs) at 00:59, 26 October 2011 (secure wiki version of show last diff). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

//

// 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(addLastDiff);

//