⚓ T241949 VE can't edit further items on list whose first part comes from a template
- ️Sun Jan 05 2020
VE can't edit further items on list whose first part comes from a template
VE can't edit further items on list whose first part comes from a template
when the first part of a list is supplied by a template, and the rest as wikicode in the page itself, visual editor fail to edit the list
REPRODUCTION:
- open https://en.wikipedia.org/wiki/User:קיפודנחש/ve_bug
- open "edit source": the page look like so:
{{Ve list bug}} * item 3 * item4
- open the same page for visual editing, and try to edit the list
EXPECTED:
clicking on the 1st or 2nd item in the list should bring the edit-template form, and this should highlight only the 2 first items. the rest of the list should be editable
OBSERVED:
clicking anywhere in the list brings the template editor (in the demo, the template does not have templatedata, and does not take parameters anyway, so basically, the user can't touch this list)
this sounds like pretty esoteric issue, but on hewiki, this is a very common pattern, especially in "external links" section: we have numerous templates which suck stuff from wikidata, and populate external links, and immediately below that, more external links are added as wiki-code. this bug prevents editors using VE from editing those lists.
peace.
Event Timeline
on further examination, it's a bit more complicated than than. it seems that the whole of "edit list" when the list uses templates (more precisely: when some of the items in the list are returned by templates, inclusing the "*") is borked and unusable in VE. it is unfortunate that my practical examples are on hewiki, and most ppl dealing with bugs, specifically in VE do not read hebrew. i will try to find something that demonstrates why is this a problem on enwiki , but until then, try to edit the "external links" ("קישורים חיצוניים") section using VE and source editor in https://he.wikipedia.org/wiki/אתרוג peace.
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits