https://bugzilla.wikimedia.org/show_bug.cgi?id=68468
Tisza Gergő <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #20 from Tisza Gergő <[email protected]> --- > "50px|border|Some text" behaves as before > "50px|Some text" behaves as before > "200px|thumb|Some text" has new styling > "200px|thumb|border|Some text" has new styling, plus border > > What breakage would this cause? What new problems would it introduce? If I understand correctly, 200px|thumb and 200px|thumb|border would both have border in non-Vector skins, which seems confusing. In general, dealing with specifics of styling on the wikitext/parser level seems like a poor state of affairs. IMO we should be thinking about proper separation of content and presentation, and which changes in image wikicode take us closer to that. The ideal state of affairs would be something like [[Foo.png|role=<role>]] and all decision about size, border, positioning etc. could be made by the skin. It is impossible to create really innovative skins, and also good responsive layouts, as long as size and other presentation details are hardcoded in the content, and part of the HTML is hardcoded in the parser. That is an ambitious change, but as a first small step towards that, maybe we could add a role parameter, put a "role-<role>" class on the image, and add borders for .role-flag-icon and other similar classes in Vector (and deprecate the border property)? Captions include changes to the HTML structure, but I imagine border is something that can be handled purely in CSS. -- 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
