Last modified: 2009-07-24 11:55:14 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 T2418, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 986
Blocks:
  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: ---


Attachments

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
</nowiki>

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.


Navigation
Links