The JavaScript generated checkbox (from skins/common/protect.js) that says, "Unlock further protect options"/protect-unchain-permissions (pointing to mwProtectUnchained). is not a OOUI checkbox.
Version: unspecified
Severity: normal
• Mattflaschen-WMF | |
Aug 18 2014, 10:25 PM |
The JavaScript generated checkbox (from skins/common/protect.js) that says, "Unlock further protect options"/protect-unchain-permissions (pointing to mwProtectUnchained). is not a OOUI checkbox.
Version: unspecified
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T49145 Formally deprecate jQuery UI after we've stopped using jQuery UI in extensions and core | |||
Open | None | T100270 Replace use of jQuery UI and MW UI with OOUI across all Wikimedia-deployed extensions and core | |||
Open | None | T100161 Convert all of MediaWiki core to OOUI PHP (tracking) | |||
Open | Feature | None | T71722 Use OOUI for JavaScript-generated checkbox on Protect |
Adding Trevor. Sounds like a perfect opportunity to use OOUI and show how this will play with MediaWiki UI....
I doubt there's a short (or even mid-) term solution using OOUI. It has a whole class name system of its own, and (IIRC) the build process currently can't use our mixins.
Hopefully we can make this part of MW UI (checkboxes) the normal behavior (with no temporary globals) in a shorter time than the estimated horizon for https://www.mediawiki.org/wiki/Requests_for_comment/Redo_skin_framework .
We decided to stop using MW UI in core (T100161), so OOjs UI will be the direction here too.