Wikipedia:WikiProject User scripts/Scripts/Show last secure diff: Difference between revisions
Content deleted Content added
PhilKnight (talk | contribs) change over in secure wiki address |
Amorymeltzer (talk | contribs) Amorymeltzer changed the content model of the page Wikipedia:WikiProject User scripts/Scripts/Show last secure diff from "wikitext" to "JavaScript": Page is javascript |
||
(One intermediate revision by the same user not shown) | |||
Line 6:
function addLastSecureDiff()
{
addPortletLink('p-cactions', 'https://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') addOnloadHook(addLastSecureDiff);
// </nowiki></pre> [[Category:Wikipedia scripts]]
|