https://bugzilla.wikimedia.org/show_bug.cgi?id=53608
Web browser: ---
Bug ID: 53608
Summary: TemplateData: Express key order for parameters to set
the "normal order of display/usage" for templates
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: Unprioritized
Component: TemplateData
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Blocks: 51930
Classification: Unclassified
Mobile Platform: ---
From bug 51930 comment 4:
| There is a good case for imposing some ordering on the template parameters.
| Often you find some parameters naturally group together. Take for example
| http://en.wikipedia.org/wiki/Template:Infobox_single/doc There are various
| parameters which group together:
| *Ones relating to the image (Cover, Alt, Caption and Border)
| *Ones to do with the single chronology (Last single, This single, Next
single)
| for infoboxes a prefered order would generally be the order they appear in
the
| template.
Sounds like a worth-while improvement for TemplateData.
Given that when the JSON block is slung at the parser, we know that it won't
have been re-ordered, we can even automagically set it for TemplateData blocks
set through the wikitext editor to be the same as the input order, so users
would only have to set this manually if they want to over-ride for some reason.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l