Last modified: 2013-09-29 16:12:42 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 T3187, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1187 - Inline-block lists
Inline-block lists
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-24 02:39 UTC by kelvSYC
Modified: 2013-09-29 16:12 UTC (History)
0 users

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


Attachments

Description kelvSYC 2004-12-24 02:39:47 UTC
What may be helpful is some wiki markup that tells the MediaWiki software to
style list-items as display:inline-block instead of display:list-item for very
long lists.  It could improve the presentation by merely getting rid of large
areas of whitespace whenever we create a list.  This might help get rid of
nasty-looking pseudo-list layout tables.  If the MediaWiki software could
calculate the width of each item, we can have a list that spans multiple columns.

Obstacles to this is that the Gecko browsers don't support inline-block too
well, and users may still prefer to use ugly layout tables nonetheless.
Comment 1 Brion Vibber 2004-12-24 03:18:12 UTC
I'm not sure I understand what you mean. Could you produce an example of what this might look like?
Comment 2 kelvSYC 2004-12-24 03:49:53 UTC
We currently have markup like this:

* foo
* bar

However, when we have a very long list (and the length of each item is
reasonably short), it would be a presentational disaster to just leave them like
that, as we waste lots of whitespace.  The idea is to introduce perhaps another
kind of wiki markup that would allow lists to be formatted as inline-block to
take advantage of that wasted space without using HTML (see for example
[[b:Wikibooks Pokédex:Alphabetical Index]], where ugly HTML and CSS float-hacks
are used).

Ideally, this new list would be exactly identical to our old list, except that
the new list has display:inline-block rather than display:list-item.

So, assuming a % was our wiki inline-block list marker, a list like this

% foo
% bar

would look like this:

* foo                                                   *bar

rather than

* foo
* bar
Comment 3 Brion Vibber 2013-09-29 16:12:42 UTC
Going through old bugs... I'm going to go ahead and close this out as this is a CSS styling issue, and doesn't require any built-in support or syntax.

Some templates also invoke CSS multi-column support for a similar effect.

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


Navigation
Links