VisualEditor: Extend the rich TemplateData editor to be used inside VE
OpenPublic

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

bzimport set Reference to bz50169.
He7d3r created this task.Via LegacyJun 25 2013, 11:43 AM
He7d3r added a comment.Via ConduitJun 29 2013, 7:59 PM

See also bug 50370 comment 1.

gpaumier added a comment.Via ConduitJul 8 2013, 2:22 PM

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.Via ConduitJul 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:

NicoV added a comment.Via ConduitJul 20 2013, 8:13 AM
Jdforrester-WMF moved this task to Backlog on the VisualEditor workboard.Via WebNov 24 2014, 4:19 PM

Add Comment