Wikipedia:WikiProject User scripts/Scripts/Show last diff

// // Originally based on http://en.wikipedia.org/w/index.php?title=User:JesseW/monobook.js&oldid=20755510 //See WikiProject User scripts/Scripts/Show last diff // addLastDiff function addLastDiff {   mw.util.addPortletLink('p-cactions', 'http://en.wikipedia.org/w/index.php?title=' + mw.config.get('wgPageName') + "&diff=cur&oldid=prev", 'last', 'ca-last', 'Show most recent diff'); } if(mw.config.get('wgCanonicalNamespace') != 'Special') $(addLastDiff);

//