Cat-a-lot currently utilizes jQuery UI, which is deprecated. The future UI library to adopt is Codex (built with Vue.js). We need to assess the feasibility of migrating Cat-a-lot to Codex or determine if we should continue temporarily using jQuery UI integrated with Codex CSS styles.
Objective
Evaluate the possibility and approach for replacing jQuery UI in Cat-a-lot with Codex.
Create a minimal "Hello World" userscript integrating Codex UI elements, including:
- Text input field
- Button
- Text
- Image
- dialog (similar to JavaScript alert())
Test thoroughly and document findings clearly as ticket comments
Technical Questions
We need clarity on the following:
- How do userscripts using Codex UI function within official skins (Vector2022, Vector, Minerva)?
- How do Codex-based userscripts behave on older skins (Monobook, Timeless)?
- What's the performance and compatibility of userscripts employing only Codex CSS elements?
- How do Codex or Codex CSS-only userscripts perform on mobile?
Links
*Codex Compnents documentation
Example scripts
- https://en.wikipedia.org/wiki/User:EGardner_(WMF)/codex-hello-world.js
- https://commons.wikimedia.org/wiki/MediaWiki:Gadget-twinkleconfig.js
- https://en.wikipedia.org/wiki/User:JSherman_(WMF)/revertrisk.js
Scripts in different wikis
Note: Codex in gadgets lacks documentation. Thus, in this task, our primary goal is to gather practical information on how Codex is used within gadgets. I.e. Hello world example script itself is valuable information.