Hoi, What you describe is static data, not dynamic data. For dynamic data you will not have the benefits that you seek. Thanks, GerardM
On 1 January 2015 at 14:01, Bináris wikiposta@gmail.com wrote:
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_tele... 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 gerard.meijssen@gmail.com:
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 wikiposta@gmail.com wrote:
2015-01-01 13:31 GMT+01:00 Gerard Meijssen <gerard.meijssen@gmail.com
:
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 Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
-- Bináris _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l