Page MenuHomePhabricator

Use OOUI for JavaScript-generated checkbox on Protect
Open, Needs TriagePublic

Description

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

Details

Reference
bz69722

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:41 AM
bzimport added a project: MediaWiki-Interface.
bzimport set Reference to bz69722.
bzimport added a subscriber: Unknown Object (MLST).

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 .

Mattflaschen-WMF renamed this task from Use MediaWiki UI for JavaScript-generated checkbox to Use OOjs UI for JavaScript-generated checkbox on Protect.Jun 5 2015, 12:46 AM
Mattflaschen-WMF updated the task description. (Show Details)
Mattflaschen-WMF set Security to None.

We decided to stop using MW UI in core (T100161), so OOjs UI will be the direction here too.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 3 2015, 12:28 AM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptDec 10 2015, 11:01 PM
Krinkle removed a subscriber: Krinkle.May 10 2016, 4:29 PM
Volker_E renamed this task from Use OOjs UI for JavaScript-generated checkbox on Protect to Use OOUI for JavaScript-generated checkbox on Protect.Jan 18 2018, 9:45 PM
Volker_E updated the task description. (Show Details)
Volker_E removed a subscriber: TrevorParscal.