For example, update the tutorial Gadget kitchen and its file Tutorial-QuickRC.js. There may be other tutorials and guides to using jQuery or ad hoc UX elements.
Then encourage the conversion of gadgets and common.js hacks to use OOUI.
For example, update the tutorial Gadget kitchen and its file Tutorial-QuickRC.js. There may be other tutorials and guides to using jQuery or ad hoc UX elements.
Then encourage the conversion of gadgets and common.js hacks to use 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 | T155473 Improve documentation of OOUI | |||
Open | None | T155567 Make OOUI easier to use for gadgets | |||
Open | None | T101484 Document how to use OOUI in gadgets |
We have this as a quick guide: https://www.mediawiki.org/wiki/Using_OOjs_UI_in_MediaWiki#Gadgets
And more extensive documentation about particular widgets: https://www.mediawiki.org/wiki/OOjs_UI
Is this helpful?
Well, I'm not sure how I can help then. That has both documentation and examples. Can you clarify what you're looking for? Any examples of other libraries having the kind of documentation you'd like to see for OOjs UI?
Well, most gadgets on Wikidata use modal dialogs and forms. But when I take a look at the documentation, a lot of code is needed for the most simple stuff. Some working examples, in MediaWiki, would be great.