Page MenuHomePhabricator

Document how to use OOUI in gadgets
Open, MediumPublic

Description

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.

Event Timeline

Spage raised the priority of this task from to Medium.
Spage updated the task description. (Show Details)
Spage added subscribers: Spage, Ltrlg, Ricordisamoa and 2 others.

Using OOjs UI is a pain. I don't even know how I managed to get it to work.

Please, I want to help but there is almost no documentation or good examples.

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?

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?

Not really, tried that a hour ago.

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, 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.

Volker_E renamed this task from Document how to use OOjs UI in gadgets to Document how to use OOUI in gadgets.Jan 17 2018, 12:46 AM
Volker_E updated the task description. (Show Details)