Last modified: 2013-11-25 12:10:45 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 T52915, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50915 - context specific editor for templates?
context specific editor for templates?
Status: RESOLVED WONTFIX
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-07 23:59 UTC by Maggie Dennis
Modified: 2013-11-25 12:10 UTC (History)
3 users (show)

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


Attachments

Description Maggie Dennis 2013-07-07 23:59:43 UTC
On English Wikipedia, it is stated that some common templates need a context specific editor. 

Examples offered by (and with explanatory text by) User:Clem Rutter

****

*[[Template:convert]]
([[Template:frac]]
Those are simple- all we need is to display the parameters so they can be changed, when focus is lost they just display. For useability you could enter the the inline-template-editor by double clicking or ctrl-shift -click.

*[[Template:fact]]
*[[Template:cn]]
These two are more complex as editors are there to change the *cn to a reference- of which the *sfn template is ideal. So here on a double-click, you need to change a *cn to a *sfn and enter the inline-template-editor to add the fields which are Name|Year|pp=page-lastpage. For a sfn, on leaving, you need an alert that offers to take you to the reflist to confirm or edit if that reference is missing.

*[[Template:sfn]]
Explained above.

*[[Template:efn]]
Simplicity- there is only one parameter. Though an alert may be needed if the Notes {*{notelist|notes=}*} structure is not in place.

*[[Template:reflist]]-
fiendishly complex from a programming pov but functionally simple- as the functionality we need is
add a line in wiki code- I C&P common ones from a master list of commonly used texts in field that I keep in a subpage, or as a textfile on the desktop. An easy technique to teach when you are training at a museum or library as you can give your students the file on usbstick
change some data- for instance an isbn number
this can be achieved in a popup wikicode editor- or even gedit, vi, geaney, wordpad as no parsing is required.

([[Template:infobox]]
it is totally essential to just be able to change the content of a field visually. It is desirable to add new fields but this is of lower priority nigh essential, and this wont be achieved until the issue of recursive templates is resolved. (That rates as essential on my list.)


I leave the list there for a Linus test, so if you could pass this on to your dev team and ask them to add these to the functional specification. Here is an example of a sample edit for them to try Swanley it keeps coming up on my watchlist:

*first three references contain raw urls- probably could do with a *cite template her- not mentioned above
*fix a *cn
*change item in infobox
*convert acres to hectares needed

All of that could be easily achievable.-- Clem Rutter (talk) 18:20, 5 July 2013 (UTC)
Comment 1 James Forrester 2013-11-25 12:10:45 UTC
This is a WONTFIX; VisualEditor is not specific to the English Wikipedia, and it is neither appropriate nor sane to create specific dialogs for each of the thousands of templates on hundreds of wikis.

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


Navigation
Links