https://bugzilla.wikimedia.org/show_bug.cgi?id=40618
--- Comment #18 from Timeshifter <[email protected]> --- (In reply to Yair Rand from comment #17) > To just get the fixed numbering column without manually adding cells to each > row or using JS, one could use CSS generated-content cells with counters: ... It works great, and is a lot easier to use than the row-numbering method I was using before. I am using Yair Rand's method on a ShoutWiki wiki. Currently using this easy method on the tables on these pages: *http://cannabis.shoutwiki.com/wiki/2014list *http://cannabis.shoutwiki.com/wiki/2013list Before I would have to manually create a cell at the beginning of each row in the table. Here is the table with the old method: *http://cannabis.shoutwiki.com/w/index.php?title=2014list&oldid=21668 Now all I have to do is add this to the top line of any table: class="sortable autonumber" I adapted the CSS a little. Here it is: http://cannabis.shoutwiki.com/wiki/MediaWiki:Common.css I removed the border coloring, and I used # for the header. See: https://en.wikipedia.org/wiki/Number_sign # is more common in American English. I hope this easy method can be implemented soon on Wikipedia and the Commons. It is by far the easiest auto-row-numbering method I have seen. It would make things a lot easier than the hacks currently listed at Help:Sorting: *https://en.wikipedia.org/wiki/Help:Sorting - see "Static column" and following sections. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
