Last modified: 2014-04-29 18:02:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10433 - Client-side auto-numbering of table rows
Client-side auto-numbering of table rows
Status: RESOLVED DUPLICATE of bug 40618
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Mik...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-02 03:35 UTC by Joseph A. Spadaro
Modified: 2014-04-29 18:02 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Joseph A. Spadaro 2007-07-02 03:35:07 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
|}
|}
Comment 1 Rob Church 2007-08-05 16:29:37 UTC
The user script at http://en.wikipedia.org/wiki/User:Mike_Dillon/Scripts/autonumber.js has been proposed as an example of doing this.
Comment 2 Quim Gil 2014-04-29 15:10:51 UTC
Marking as Lowest since nobody is working or planning to work on this.
Comment 3 Bartosz Dziewoński 2014-04-29 18:02:56 UTC
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 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links