Page MenuHomePhabricator

TemplateData rejects well-formed format string
Closed, ResolvedPublic0 Estimated Story Points

Description

  1. Go to https://de.wikipedia.beta.wmflabs.org/wiki/Vorlage:Personendaten/Doku.
  2. Edit the template data, and change the format string (currently "{{_\n| _=_\n}}") to "{{_\n|_=_\n}}", i.e. remove the space before the "Hole" for the name of the parameter.
  3. Try to save.

Expected: The page saves without problems, as the format string follows the grammar in 3.7 of the Specification.
Actual: The edit is rejected with "Property "format" is expected to be "inline", "block", or a valid format string."

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I just thought that I found the error in the string, but {{_\\n|_=_\\n}} (with the slashes double-escaped) is rejected as well.

Jdforrester-WMF changed the task status from Open to Stalled.Apr 11 2017, 7:08 PM
Jdforrester-WMF subscribed.

I made an edit to set it to that value on Beta Cluster which worked as expected: https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Template:Cite_book/doc&diff=354669&oldid=352856

Which browser was this in? Do you have something that might have adjusted the content falsely?

Schnark claimed this task.

I have no idea what changed, but now it does work for me, too, both in OWE and in NWE. So either it was some strange temporary issue, or a bug in NWE that just got fixed by chance.

Jdforrester-WMF moved this task from To Triage to TR0: Interrupt on the VisualEditor board.