User:AoV2/diff zero.js

function diff_0{ if(document.getElementById("ca-diff-0") || !wgCurRevisionId) return; mw.util.addPortletLink("p-cactions", wgScriptPath + "/index.php?title=" + encodeURIComponent(mw.config.get('wgPageName')) + "&diff=0",		"0", "ca-diff-0", null, null, document.getElementById("ca-history").nextSibling ); }

addOnloadHook(diff_0);