Page MenuHomePhabricator

TemplateData GUI editor is adding whitespace with every edit
Closed, ResolvedPublic

Description

See diffs like https://en.wikipedia.org/w/index.php?title=Template:Cite_journal/doc&curid=6966738&diff=639328069&oldid=637683294

"example" becomes " example" when you edit, and then " example" the next time, and " example" the time after that, etc.

Event Timeline

Krenair renamed this task from TemplateData GUI editor is adding whitespae with every edit to TemplateData GUI editor is adding whitespace with every edit.Dec 26 2014, 12:08 AM
Krenair set Security to None.
Krenair subscribed.

This should be fixed with the oouification of the TemplateData dialog (already available in mw.org, and will be in enwiki soon) - https://gerrit.wikimedia.org/r/#/c/167046/

This wasn't fixed by the OOjs UI change, unfortunately.

Change 184513 had a related patch set uploaded (by Mooeypoo):
Trim aliases on save

https://gerrit.wikimedia.org/r/184513

Patch-For-Review

Verified in beta: when editing/adding aliases- no white spaces are added.

Screen_Shot_2015-01-29_at_1.48.06_PM.png (450×1 px, 54 KB)