Last modified: 2014-03-01 00:11:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52169, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50169 - VisualEditor: Extend the rich TemplateData editor to be used inside VE
VisualEditor: Extend the rich TemplateData editor to be used inside VE
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Lowest enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks: ve-plugins-to-create
  Show dependency treegraph
 
Reported: 2013-06-25 11:43 UTC by Helder
Modified: 2014-03-01 00:11 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot of the form provided by the user script from frwiki (57.47 KB, image/png)
2013-07-08 15:00 UTC, Helder
Details

Description Helder 2013-06-25 11:43:39 UTC
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
Comment 1 Helder 2013-06-29 19:59:35 UTC
See also bug 50370 comment 1.
Comment 2 Guillaume Paumier 2013-07-08 14:22:22 UTC
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.
Comment 3 Helder 2013-07-08 15:00:43 UTC
Created attachment 12786 [details]
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.
Comment 4 NicoV 2013-07-20 08:13:49 UTC
I've translated the script to enwiki : http://en.wikipedia.org/wiki/User:NicoV/TemplateDataEditor

and made a screenshot in Commons : http://commons.wikimedia.org/wiki/File:TemplateDataEditor.png

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links