Last modified: 2009-07-24 11:55:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 418 - Easier and better alignment within Wiki Tables
Easier and better alignment within Wiki Tables
Status: RESOLVED DUPLICATE of bug 986
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 986
  Show dependency treegraph
Reported: 2004-09-07 18:09 UTC by Daniel U. Thibault
Modified: 2009-07-24 11:55 UTC (History)
1 user (show)

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


Description Daniel U. Thibault 2004-09-07 18:09:37 UTC
Right now, specifying alignment within Wiki tables is somewhat painful, what
with having to type <nowiki>align="right"|</nowiki> or some such in front of
every cell.

The wish is to be able to specify, within a table's block of headers, the data
column alignments once, in compact notation. We'd also like not only
right/center/left alignment but also number alignment (on the number's decimal
separator, even for scientific notation). Something like:

<nowiki>{| border="1" cellpadding="2" [...]
!! datalign="left"| Header1 !! datalign="number"| Value

In this example, the two headers simultaneously defined the alignment to use for
any following data cells (the first two columns, anyway). A later block of
headers would reset the data alignment instructions, obviously. These settings
would be locally overridable (on a per-cell basis) by the usual
<nowiki>align="whatever"|</nowiki> instructions.
Comment 1 Antoine "hashar" Musso (WMF) 2004-09-08 05:39:42 UTC
maybe have a look at the <col> html tag. I have no idea if it's still
valid xhtml though.
Comment 2 Zigger 2005-06-15 19:20:53 UTC
See also bug 986, which requests the HTML tags COL, COLGROUP, TBODY and THEAD.
Comment 3 Happy-melon 2009-07-24 11:55:14 UTC
This functionality would be handled by <colgroup> and <col>.  They are valid in HTML5, which is the future (XHMTL2.0 is dead). Also totally stale.

*** This bug has been marked as a duplicate of bug 986 ***

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