In dewiktionary my gadget https://de.wiktionary.org/wiki/Benutzer:Formatierer/checkpage.js adds a PortletLink to call a javascript function. The relevant code is:
if (document.getElementById("ca-view")) { var cp = mw.util.addPortletLink("p-views", null, "Check", "ca-checkpage", "checkpage() für diese Seite aufrufen",null,"#ca-view"); $(cp).click(_public.analyzeThisPage); }
Since 1.32.0-wmf.22 this does not work anymore. Instead by clicking the link the page https://de.wiktionary.org/wiki/null is loaded.