--- Comment #18 from Timeshifter <> ---
(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: 

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:

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: 

I removed the border coloring, and I used # for the header. See: 
# 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: 
* - see "Static column" and following

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

Reply via email to