Page MenuHomePhabricator

TemplateData visual editor popup should parse wikicode in label and help – or at least internal link
Closed, DuplicatePublic

Description

So, I'm currently working on creating a template which gather all description information of a single lexical item, on the French Wikitionary.

One motivation behind this is make contribution for new users easier. Indeed, using TemplateData and VisualEditor with the template edit popup, I thought it would be far less scary for newcomers to pass the barrier of a heavily structured article, hugely relying on many templates.

My first frustration toward this goal is that TemplateData doesn't (yet) provide a native way to specify a finite set of answers. For example, user should be able to pick a grammatical type for the item. I checked and there is already T53375 on the subject.

So in the mid-time, I thought I would just let a simple text input and give some guidance about possible values. As there are more than 60 types of grammatical categories used in the Wiktionnaire. I first thought, let's put a link to the documentation page, that's not the best UX solution, but it might be good enough for now. But I then discovered wikicode placed within a description won't be interpreted. :(

So for now, I will just copy/paste all types in examples, but that's a very poor solution compared with what I first envisioned.

Maybe there are reason why you wouldn't like to allow to much of arbitrary code within this fields, but at least internal links should be allowed, so user can be pointed to a more general documentation.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Elitre renamed this task from TemplateData visual editor popup should parse wikicode in label and help – or at least interenal link to TemplateData visual editor popup should parse wikicode in label and help – or at least internal link.Nov 2 2017, 11:09 AM