Admin Forum:Fixing wikitable sortable headers post MW 1.19

Tables that use  used to inherit whatever properties you'd defined for. Now, they briefly assume those properties, but once the page fully loads, they switch to another set of values —— but oddly only for the. Other values, like font, are still controlled by the CSS declaration for. This is causing problems at my wiki, since the  they finally land on is light, and the font   is white. In the picture at right, note too, that only those columns that are marked as sortable have this issue; the "notes" column, which is unsortable, is displaying as intended.

What are the new CSS selectors I need to use to get the sortable columns' backgrounds to behave? 16:27: Tue 18 Sep 2012


 * Hey CzechOut. It sounds like you are using  in your CSS instead of  . In MediaWiki 1.19, the sort arrows are added via   and using   to set the color directly can conflict with that. If I am completely off-based with this assumption, please point me in the right direction (page links). Rappy 16:32, September 18, 2012 (UTC)


 * I see your issue (from the tardis link in the image). Read up on this for a 'fix'.


 * You will have to hard-code the jQuery sortable tables and the background gradient you want to use in Common.css and !important it. What's happening is the image of the sort arrows are overriding the gradient when the JS kicks in (and makes the table sortable)... so the CSS has to maintain that both show up instead. If you have issues getting that to work, let me know and I will look into it for you. Rappy 16:41, September 18, 2012 (UTC)