https://bugzilla.wikimedia.org/show_bug.cgi?id=51003
Web browser: ---
Bug ID: 51003
Summary: Strip leading / trailing whitespace out of
transclusion parameters, and try to match single /
multi-line style
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: DOM
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
We currently include newlines in transclusion parameters, which lets users
delete them. That can create diffs like this:
https://en.wikipedia.org/w/index.php?title=2013_Campbell%27s_Hall_of_Fame_Tennis_Championships_%E2%80%93_Singles&curid=39873236&diff=563465891&oldid=563456914
Instead we should strip whitespace from transclusion parameters and manage
newlines and the whitespace between equal and value transparently in Parsoid.
This also means that we should try to
* match single / multi-line style with other transclusion parameters
* create new transclusions with single or multi-line style either based on
** a heuristic like the number of parameters or total chars, or
** based on convention information from TemplateData or the like
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l