Jump to content

User talk:Ale jrb/Scripts/csdcheck.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

I was a big fan of this, so in case anyone else misses it, I revived it: User:Amorymeltzer/csdcheck.js. I also expanded it to work on dropdowns for blocking, protecting, and revdeling. Because of the change in menu format, though, in order for this to work for deletion and blocking, you need to swap the new ooui menus for the old ones. Put this in your custom css:

.oo-ui-dropdownWidget-handle { display: none; }
.oo-ui-indicator-down { display: inline !important; }

Alternatively, put this in your custom js:

if (mw.config.get('wgAction') === 'delete' || mw.config.get('wgCanonicalSpecialPageName') === 'Block') {
  mw.util.addCSS(".oo-ui-dropdownWidget-handle {display: none;}");
  mw.util.addCSS(".oo-ui-indicator-down {display: inline !important;}");
}

~ Amory (utc) 19:02, 18 June 2018 (UTC)[reply]