User:Violetwtf/scripts/diffcop/index.js

mw.loader.using("mediawiki.util", => $(document).ready(init));

function init { if (mw.config.get("wgDiffOldId")) return; const link = mw.util.addPortletLink(		"p-tb",		"#",		"Random Recent Change Diff"	); }