Before making more changes to this Special page, it would be helpful to have a solid base that's easy to extend.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | Jdlrobson | T182050 Remove all mediawiki.ui components and libraries in favor of Codex | |||
Open | None | T343454 Use Codex CSS components or OOUI form instead of mediawiki.ui in Translate | |||
Open | None | T348497 Special:PagePreparation improvements [FY2023/24-Q2] | |||
Open | None | T351374 Improve Translatable Pages based on research input | |||
Resolved | Wangombe | T348516 Use Codex in Special:PagePreparation |
Event Timeline
Change 976192 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] Use Codex on Special:PagePreparation
SearchSuggest exists in MW Core so It would make sense to update it to a Vue component there instead of on the Translate extension. The diff is generated from the compare API as well; meaning that there's no additional work related to Vue on Special:PagePreparation
Change 995182 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):
[mediawiki/extensions/Translate@master] PrepareTranslatablePageTemplate: Use codex CSS buttons instead of mw buttons
Change 995182 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Use Codex CSS buttons in Special:PrepareTranslatablePage
Was testing this on Translatewiki.net:
With Vector 2022 (BROKEN):
With Vector legacy:
With Timeless (Looks bad):
Change #1014998 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):
[mediawiki/extensions/Translate@master] Special:PagePreparation: Increase specificity for 'hide' class
Change #1014999 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):
[mediawiki/extensions/Translate@master] Special:PagePreparation: Improve layout on Timeless skin
Change #1014998 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Special:PagePreparation: Increase specificity for 'hide' class
Change #1014999 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Special:PagePreparation: Improve layout on Timeless skin
We'll be following up this task with T361138. Story points have been reduced to 4 as we didn't have to use so much of Codex components.
What's the destiny of https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Translate/+/976192?
Change #976192 abandoned by Wangombe:
[mediawiki/extensions/Translate@master] Use Codex on Special:PagePreparation
Reason:
In favor of I75bc7f7d529fe34b7bf4311659cc23a7cc11f9b1
The extent to which it’s a subtask of T343454: Use Codex CSS components or OOUI form instead of mediawiki.ui in Translate may be resolved, but I don’t think the result is particularly a “solid base that's easy to extend”. It mixes a JavaScript frontend (that actually provides nothing more in its current state than a pure-PHP version would) and a Mustache-based template, Codex classes with title search provided (and styled) by searchSuggest.js. It’s more like an experiment showcasing as many technologies as possible than a solid base that’s easy to extend. 🙂
I think a solid base would be either:
- A pure PHP/Mustache/OOUI solution that provides with no more JS interactivity than what MediaWiki\Widget\TitleInputWidget provides (only PHP OOUI components).
- A pure JS/Vue/Codex solution that uses no Mustache (the PHP part is so simple that it doesn’t need a templating system), no searchSuggest.js styling and no jQuery, but rather Vue and Codex’ Vue components (in particular TypeaheadSearch).