Last modified: 2011-11-09 01:07:08 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 23904 - Different alternating row colours for tables
Different alternating row colours for tables
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
Depends on:
  Show dependency treegraph
Reported: 2010-06-11 11:17 UTC by Neill Mitchell
Modified: 2011-11-09 01:07 UTC (History)
1 user (show)

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


Description Neill Mitchell 2010-06-11 11:17:34 UTC
In the SMW+ CSS I noticed:

/* even and odd in tables*/
#content .sortable .even,#content .smwtable .even{

#content .sortable .odd,#content .smwtable .odd{

But the values do not seem to be used.

Benjamin Langgut advised on the SMW mailing list that there is currently no assignment of the 'even' and 'odd' classes to the TR element of tables created with the SMWTableResultPrinter.

It would be great if this could be added as it would greatly enhance the look of table query results. People keep telling me my sites look like Excel!

Comment 1 MWJames 2011-11-09 01:07:08 UTC
A new table output adds row-even and row-odd as css parameter. We tested the following settings in common.css with the result of alternating rows.

/* even and odd in tables*/
.smwtable .row-even {background-color:#FFF;}
.smwtable .row-odd {background-color:#cde6ea;}

Test environment: 1.19alpha (r102469); Semantic MediaWiki (Version 1.7 alpha)	(r102469);Semantic Result Formats (Version 1.7 alpha)	(r102469)

So I think this issue can be closed.

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