Page MenuHomePhabricator

VisualEditor: Template dialog crushing parameters together and nowiking links
Closed, ResolvedPublic

Details

Reference
bz51017

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:02 AM
bzimport set Reference to bz51017.

Some broken browser extension sometimes adds lots of <a class="ktg6us78hf8vdu7" href="javascript:void(0)">...</a> tags around items which is tracked by and edit filter. Attempting to clean these up with the VE worked well in the main text but failed in the templates changing

{{Infobox company
...

foundation = [[1990 in <a class="ktg6us78hf8vdu7" href="javascript:void(0)"><a class="ktg6us78hf8vdu7" href="javascript:void(0)">video</a></a> gaming|1990]]
products = [[Crash Bandicoot|''Crash Bandicoot'' series]] (2002-2004) (2013- )<br>[[Skylanders|''Skylanders'' series]] (2011-2013)0)">Guitar</a></a> Hero''Guitar Hero'' series]] (2007–2010)

...
}}

Into
{{Infobox company

<nowiki>1990]]</nowiki>
''Guitar Hero''<nowiki> series]] (2007–2010) </nowiki>

...

foundation = <nowiki>
products = [[Crash Bandicoot|''Crash Bandicoot'' series]] (2002-2004) (2013- )<br>[[Skylanders|''Skylanders'' series]] (2011-2013) Guitar Hero

...
}}
splitting the foundation and product parameters.

I don't think that this is just a problem with browser extensions misbehaving over links. This edit:

https://pl.wikipedia.org/w/index.php?title=Rory_MacDonald&curid=2849478&diff=37138750&oldid=36592431

involves no links, and yet the data is still placed after a line break and smashed up against the following parameter, instead of up on the previous line where it belongs.

This is now fixed (and has been for some time, I believe). Sorry for the disruption.