This should go hand in hand with Special:Undelete
Before |
---|
Single |
Multi |
matmarex | |
Nov 4 2015, 7:54 PM |
F36872684: image.png | |
Feb 26 2023, 10:00 PM |
F36872651: image.png | |
Feb 26 2023, 8:59 PM |
F36872649: image.png | |
Feb 26 2023, 8:59 PM |
F32242579: image.png | |
Sep 2 2020, 8:20 PM |
F32242582: image.png | |
Sep 2 2020, 8:20 PM |
F31696151: SpecialRevisionDelete.php | |
Mar 21 2020, 7:39 AM |
F31696137: m1.PNG | |
Mar 21 2020, 7:39 AM |
F31696153: Resources.php | |
Mar 21 2020, 7:39 AM |
This should go hand in hand with Special:Undelete
Before |
---|
Single |
Multi |
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Follow-up fixes for SpecialRevisionDelete OOUI conversion | mediawiki/core | master | +31 -21 | |
Convert Special:RevisionDelete to OOUI | mediawiki/core | master | +100 -110 |
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 | None | T107037 Convert all MW core special pages to OOUI | |||
Resolved | BrandonXLF | T318685 Revision deletion page content should fit the screen at low widths in Minerva | |||
Resolved | BrandonXLF | T117794 Convert Special:RevisionDelete to OOUI | |||
Resolved | • Prtksxna | T135028 DropdownInputWidget: Provide optgroup support | |||
Resolved | Volker_E | T92452 MenuSectionOptionWidget not behaving correctly in DropdownWidget. It also needs to be added to demos |
This needs optgroup support in OOUI DropdownInputWidget, as far as I can see, that's not supported so far, right?
While OO.ui.DropdownInputWidget would benefit from having support for optgroup, I don't think this particular page needs it. My understanding here is limited, but I feel that the Common delete reasons heading is unnecessary and the functionality of the dropdown would be obvious to the user even without it.
A part of the UI is slightly tricky, when you select two revisions you get a table of radios.
Single revision | Multiple revisions |
---|---|
I was thinking of using a [[ https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop#ButtonGroupWidget | ButtonGroupWidget ]] instead.
I agree, I don't think it's necessary here as long as it's always those five possible options.
Not sure if repeating four ButtonGroupWidgets with same Button labels (”(do not change)”/“Visible”/“Hidden”) is best representation.
Why is “Suppress data[…]” set to bold?
Yep, anyway that issues is resolved - T135028: DropdownInputWidget: Provide optgroup support
Not sure if repeating four ButtonGroupWidgets with same Button labels (”(do not change)”/“Visible”/“Hidden”) is best representation.
Me neither. Any suggestions?
Why is “Suppress data[…]” set to bold?
I suppose its to signify that these setting should be used with caution. We could obviously take another approach.
Removing Front-end-Standards-Group, from here (above) it's a resources and priorities question and nothing the group can contribute to.
@Prtksxna For multiple revisions, I guess, having the labels first and introducing at least a slight zebra row coloring similar to CheckboxMatrix should make it better.
Its been a while, and I think I did. But I can't find any corresponding abandoned Gerrit patches or local branches, sorry! 😞
Here's what I came up with:
Single revision | Multiple revisions |
---|---|
With radio: | With select:|
Here's the new files:
Converted to OOUI with radio for multiple revisions | |
Updated for OOUI inputs | |
Added oojs-ui-core as a dependency |
Hi Brandon, thanks! That should better be in Gerrit instead, as it is impossible to see the differences here.
Change 582505 had a related patch set uploaded (by BrandonXLF; owner: BrandonXLF):
[mediawiki/core@master] Convert Special:RevisionDelete to OOUI
Reviewing the patch for this. Attaching image here for reference at gerrit.
Basically I think the current wording for that message of "(do not change)" doesn't work now that it is no longer a table structure and "Do not change" looks cleaner. Example with this changed:
Another image for reference in the gerrit change:
I think the "Visible" and "Hidden" for the suppress option in the Multi form should be replaced with "No" and "Yes" respectively.
Change 892052 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):
[mediawiki/core@master] Follow-up fixes for SpecialRevisionDelete OOUI conversion
I've merged the "Convert Special:RevisionDelete to OOUI" change and made a follow-up to address non-blocking issues. Because the issues were not blocking and the change is old, I wanted to avoid another merge conflict by merging now in a state that would be okay to be deployed to wikis.
I would appreciate a quick review and merge for that my follow up (ideally before the train split). Happy to field questions and make changes quickly. Without the change some of the label messages used are not as intuitive after the OOUI conversion.
Change 582505 merged by jenkins-bot:
[mediawiki/core@master] Convert Special:RevisionDelete to OOUI
Change 892052 merged by jenkins-bot:
[mediawiki/core@master] Follow-up fixes for SpecialRevisionDelete OOUI conversion
Tested on the beta wiki - The form is now OOUI, it works and all makes sense. Therefore, this task should be ready to be closed.