The core upload form should be converted to OOUI.
The license-selection dropdown looks like it needs to be converted before this can happen. There might also be an issue with the file-selection widget.
This probably needs a feature flag.
The core upload form should be converted to OOUI.
The license-selection dropdown looks like it needs to be converted before this can happen. There might also be an issue with the file-selection widget.
This probably needs a feature flag.
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/core | master | +107 -2 | Convert Special:Upload to OOUI |
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 | |||
Open | None | T213040 Convert Special:Upload to OOUI | |||
Resolved | Samwilson | T213137 DropdownInputWidget should support disabled options/optgroups | |||
Resolved | None | T243476 Create an HTMLSelectFileField | |||
Resolved | Esanders | T170263 Create a PHP fallback for SelectFileWidget |
Change 482571 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/core@master] Convert Special:Upload to OOUI
Is there a timeframe for pushing the conversion out?
Enough tools and pages have been converted to OOUI that I don't see it being a very big deal but I'd like to inform the Commons community about it. We're moving into a cycle of feature releases for Structured Data, and I'm hesitant for this to be pushed out during those releases due to the confusion it might cause in the community about what changes belong to what project.
The upload form tends to be heavily scripted even on normal wikis, and Commons have their homegrown UploadWizard alternative plus the system of abusing language codes for upload types... so it's definitely a big deal in the sense that it requires a bunch of gadgets to be re-tested, and requires a feature flag exposed as an URL parameter so people can meaningfully test it. I guess that should also alleviate concerns about what comes from where, because you can just check the old UI.
Are there any plans to gather some of the structured data on the upload form (and not in UploadWizard)? If so, I imagine the switch should happen before that.
Are there any plans to gather some of the structured data on the upload form (and not in UploadWizard)? If so, I imagine the switch should happen before that.
The future of Structured Data + Special:Upload isn't going to be resolved any time soon (not in January, for sure).
My feeling is that this ticket should involve adding a feature flag (URL parameter and config var, as was done for preferences) to switch the upload form to OOUI, and not make any other changes. So the licenses field will stay the same (pulling info from MediaWiki:Licenses) and apart from that there's no structure to any of the upload data. As far as a timeframe goes: I have no idea! :)
As for checking that gadgets etc. still work as they should, I think that's going to be the bulk of this work, and might take a lot longer. I imagine it can be a wiki-by-wiki process, and those wikis that feel that it can work can have it enabled when they want. And 3rd party wikis can also use it without trouble.
This ticket I think should just be focused on the changes required in core, and not disrupting the status quo.
Indeed, thanks for the explanation. I initially misunderstood the implications of the change when Ramsey brought this to my attention. He clarified it for me as well.
Right.
For the community side, I recommend whoever owns the project submit a support request to our team for assignment. It's definitely going to take some work.
Change 482571 abandoned by Samwilson:
[mediawiki/core@master] Convert Special:Upload to OOUI
Reason: