I think numbering table rows is a natural need everywhere through the life. Not the number of the rows, the number of each row alone, e.g. a ranking. Let's have a look at this: https://hu.wikipedia.org/w/index.php?title=Magyarorsz%C3%A1g_legnagyobb_telep%C3%BCl%C3%A9sei_k%C3%B6zigazgat%C3%A1si_ter%C3%BClet_szerint&curid=115741&diff=15476065&oldid=15256125 Do we really need to do this manually, and if a new row is inserted into the middle, manually renumber the whole table from that point again? OK, I can do some dirty workarounds in Excel (where generating numbers is a mouse motion only) if I need, and I definitely would do in such cases for 114 rows, but I am more educated in Excel than the average of editors. Wouldn't it be nice to have a natural wikiconform way, either a {{#}}-like magic symbol to the first cell of each row, or perhaps a new class that generates a first column by itself?
2015-01-01 13:49 GMT+01:00 Gerard Meijssen <[email protected]>: > Hoi, > The number is to represent what ?? Or do you only want to know the number > of records presented ? > Thanks, > GerardM > > On 1 January 2015 at 13:40, Bináris <[email protected]> wrote: > > > 2015-01-01 13:31 GMT+01:00 Gerard Meijssen <[email protected]>: > > > > > Hoi, > > > That would be useful when the table is static. When numbers are not > > static > > > it is only useful for one time usage. Typically it should be possible > to > > > add numbers for one time usage. > > > > > > > I am afraid I don't understand you. Why is it such a big deal to change > > some magic word or symbol to a dynamic row number when rendering the > table? > > My thought is that MW has to translate wikitables to HTML, thus it has to > > generate <tr> tags that are countable. Well, rowspan may cause some > > headache. > > _______________________________________________ > > Wikitech-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > -- Bináris _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
