VisualEditor: Extend the rich TemplateData editor to be used inside VE
Open, LowestPublic

Description

It has been mentioned in some places[1][2] that the JSON syntax might be a problem for typical (non-technical) users, so I suggest creating a plugin for editing the content of the <templatedata> tags.

[1] https://commons.wikimedia.org/wiki/Template_talk:Information#Adding_TemplateData_information
[2] https://pt.wikipedia.org/wiki/WP:Café_dos_programadores#Mais_uma_novidade:_TemplateData


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51734

Details

Reference
bz50169
bzimport set Reference to bz50169.
He7d3r created this task.Jun 25 2013, 11:43 AM

See also bug 50370 comment 1.

A user on fr.wikipedia seems to have developed a user script to easily add TemplateData to a template:
https://fr.wikipedia.org/wiki/Utilisateur:Ltrlg/scripts/TemplateDataEditor.js

This might be of interest while developing a similar VE module.

He7d3r added a comment.Jul 8 2013, 3:00 PM

Created attachment 12786
Screenshot of the form provided by the user script from frwiki

(In reply to comment #2)

A user on fr.wikipedia seems to have developed a user script to easily add
TemplateData to a template:
https://fr.wikipedia.org/wiki/Utilisateur:Ltrlg/scripts/TemplateDataEditor.js

This might be of interest while developing a similar VE module.

For convenience, I've attached a screenshot of the form generated by that script.

Attached:

Add Comment