Page MenuHomePhabricator

Templates that contain a colon in their names gain an extra colon while edited in VE
Closed, ResolvedPublic1 Estimated Story Points

Description

To reproduce:

  • Go to a page like Феофанія (it contains a template Шаблон:Картка:Парк, where Шаблон: stands for Template:)
  • Press Редагувати, to open it in VE
  • Click the template on the right and press the Редагувати button on its bottom to open the template editor.
  • On the top of the dialog you'll get the template's name :Картка:Парк Which is already wrong because it contains a colon in the beginning.
  • The description says:

Ви додаєте шаблон «:Картка:Парк» на цю сторінку. У нього ще немає опису, але може є якась інформація на сторінці шаблону.

which is

You are adding the ":Картка:Парк" template to this page. It doesn't yet have a description, but there might be some information on the template's page.

in English.

You can see that the template name here is wrong again because it contains a colon in the beginning, which becomes a double colon when you try to go to the template's page and get a badname message instead.
This happens to all the templates of this type. All the other templates work just fine.

Event Timeline

Piramidion raised the priority of this task from to Medium.
Piramidion updated the task description. (Show Details)
Piramidion added a project: VisualEditor.
Piramidion subscribed.
Jdforrester-WMF lowered the priority of this task from Medium to Low.Dec 1 2015, 8:11 PM
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.
Jdforrester-WMF edited a custom field.
matmarex subscribed.

This seems to no longer be a problem. It was probably fixed by the patches for T167613 and/or T167933.