Jonas created this task. Jonas added projects: Wikidata, Lexicographical data, Wikidata-Sprint. Herald added a subscriber: Aklapper. |
Implement Form widget as shown in M210: Mockup for adding a form to a forms list of a lexeme in strctured data/Wikidata for wiktionary
Must support view as well as edit mode.
Should be able to instantiate on top of existing HTML pre-rendered via the backend, as well as create it's own HTML using a template.
Super-trivial with nothing but an input field for a single representation.
No input for gramatical role or anything.
No input for ID.
Note: We did investigation if existing JQuery UI modules can be reused for the new widgets. We had a look at ValueView as well as terms widgets. Conclusion: Create a new subclasses of EditableTemplatedWidget. Use labelview as a blueprint, but do not copy everything. Reuse elements that make sense. Start with a straight <input> field.
Note: We may use OOJS elements later. Do not do this for this story, but keep it in mind.
Cc: Jonas, Aklapper, QZanden, Salgo60, D3r1ck01, Izno, Wikidata-bugs, aude, Darkdadaah, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs