User:Writ Keeper/Scripts/previewAndDiff.js: Difference between revisions

Content deleted Content added
maintenance: more info Uncaught TypeError: Cannot read property 'ButtonInputWidget' of undefined (oojs ui is not always loaded)
apparently this is bad now
 
Line 1:
mw.hook$('wikipage.content'document).addready(function()
{
if(mw.config.get("wgAction") === "edit" || mw.config.get("wgAction") === "submit" )