Last modified: 2014-04-29 18:02:56 UTC
==Proposal - Adding New Code to Autonumber Tables== I would like to propose the addition of code to Wikipedia. The purpose of the code is to have the entries within Wikipedia tables and charts ''automatically'' numbered (as opposed to the author having to manually enter these numbers). For lists and charts that are very long, it is cumbersome and tedious for the author to manually enter each and every number. Furthermore, these numbers are subject to constant change whenever an entry is added to or subtracted from the list. Example: say an author creates a chart that alphabetically lists all of the 535 members of the US Congress. It would be laborious to list the numbers 1, 2, 3, … 533, 534, 535 near each of the 535 entries on the list. And next time the list changes (at the next election, when names are added to or subtracted from the list of Congress members), the author would have to repeat the laborious process of numbering the 535 entries on the list all over again. A Wikipedia user has developed code that addresses this issue. An example is below. Please indicate your support or opposition to this proposal so that, hopefully, consensus will allow the addition of this code to Wikipedia. If you have any questions or concerns, please post them here or on my Talk Page. Thanks. ([[User:JosephASpadaro|JosephASpadaro]] 20:31, 28 June 2007 (UTC)) Example of output derived from auto-numbered tables code: {| class="wikitable" style="margin: 0 auto" ! ! Plain ! Numbered |- ! Wikitext | <pre><nowiki>{| class="wikitable" ! Name ! Date |- | John | April 1, 2007 |- | Dick | April 2, 2007 |- | Harry | April 3, 2007 |}</nowiki></pre> | <pre><nowiki>{| class="wikitable autonumber" ! Name ! Date |- | John | April 1, 2007 |- | Dick | April 2, 2007 |- | Harry | April 3, 2007 |}</nowiki></pre> |- ! Display | {| class="wikitable" style="margin: 0 auto" ! Name ! Date |- | John | April 1, 2007 |- | Dick | April 2, 2007 |- | Harry | April 3, 2007 |} | {| class="wikitable" style="margin: 0 auto" ! # ! Name ! Date |- | 1 | John | April 1, 2007 |- | 2 | Dick | April 2, 2007 |- | 3 | Harry | April 3, 2007 |} |}
The user script at http://en.wikipedia.org/wiki/User:Mike_Dillon/Scripts/autonumber.js has been proposed as an example of doing this.
Marking as Lowest since nobody is working or planning to work on this.
Bug 40618 seems to be the same request as here (maybe a little broader) and it has received more discussion. (This bug was even mentioned there.) *** This bug has been marked as a duplicate of bug 40618 ***