Last modified: 2014-06-11 14:49:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67995, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65995 - Template crowding
Template crowding
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-01 10:52 UTC by zaharon
Modified: 2014-06-11 14:49 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description zaharon 2014-06-01 10:52:02 UTC
In at least some Wikipedia articles where header templates are immediately followed by a sidebar template there is no space between them by default and one must manually adjust the sidebar parameters to create some. Unfortunately such an ad-hoc solution applies to all articles where the template is present, both those with a header template and those without, creating uneven spacing across articles between the sidebar and the first line of text. This should be solves at the parser level to make sure header header templates could crowd only with other header templates.

For a concrete example see [[Template:Program execution]], where we had to deal with |outertitle=  and |style=margin-top:0.5em and the uneven results in pages such as [[Compiler]] and [[Interpreter (computing)]].
Comment 1 This, that and the other (TTO) 2014-06-01 11:24:23 UTC
If anything this is a local CSS issue, not a parser issue. What exactly would you like to see fixed here?
Comment 2 zaharon 2014-06-01 11:49:39 UTC
(In reply to This, that and the other from comment #1)
> If anything this is a local CSS issue, not a parser issue. What exactly
> would you like to see fixed here?

That's exactly the thing - it's not local - all of the templates involved are in their default configurations, meaning that the problem recurs in every article where you have a similar situation. Take for example [[Runtime system]]: You want 0 space between the two top templates, but some space between them and the sidebar. That's a common scenario, right? But instead of it happening automatically, you have to solve it locally for every article or every template (as indeed we did), introducing new problems. What I would like to see is logic that automatically inserts whitespace, padding or whatever between kinds of templates that are not meant to crowd together, ever.
Comment 3 This, that and the other (TTO) 2014-06-01 12:23:32 UTC
By "local" I mean "specific to a wiki". The whole infobox template/CSS setup is purely local to English Wikipedia, and is not part of the MediaWiki software.

If you would like, you can post at [[MediaWiki talk:Common.css]] or contact [[User:Edokter]].
Comment 4 Erwin Dokter 2014-06-10 18:16:06 UTC
It is not possible for MediaWiki to account for any template and its accompanying CSS that may be present on a project. These kind of issues should be fixed at the project-level, as that is where the 'problems' are created.
Comment 5 zaharon 2014-06-11 14:49:00 UTC
Okay. Closing. Thanks.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links