User:Enterprisey/reload-with-safe-mode.js

$( function {    mw.loader.using( [ "mediawiki.util" ], function  { var link = mw.util.addPortletLink( "p-cactions", window.location.href + ( window.location.href.indexOf( "?" ) >= 0 ? "&" : "?" ) + "safemode=1", "View in safe mode", "pt-safe-mode" ); } ); } );