Last modified: 2007-08-22 08:08:49 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 9026 - Auto numbering of headers not working correctly on Special:Statistics page.
Auto numbering of headers not working correctly on Special:Statistics page.
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy, patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2007-02-18 21:38 UTC by Purodha Blissenbach
Modified: 2007-08-22 08:08 UTC (History)
3 users (show)

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

patch (2.25 KB, patch)
2007-06-15 14:50 UTC, Thomas "Tango" Dalton
patch2 (2.31 KB, patch)
2007-06-15 15:31 UTC, Thomas "Tango" Dalton

Description Purodha Blissenbach 2007-02-18 21:38:49 UTC
[[MediaWiki:Statistics-footer]] defines another headline, which is 
not numbered in [[Spezial:Statistics]] even if auto header 
numbering is enabled in the [[Special:Preferences]] for the user. 
The other two headlines do have numbers.
Comment 1 Rob Church 2007-06-11 06:53:48 UTC
Not all headlines on the page are parsed at the same time; this would be more evident to the user if the page counters were enabled, since the suppressed "page views" section would be shown.

The simple solution is to prepare the full text for the page and parse it in one go.
Comment 2 Thomas "Tango" Dalton 2007-06-15 14:50:46 UTC
Created attachment 3780 [details]

I think this does what you suggest. Two possible things wrong with it:

1) The makeTitleSafe bit probably isn't needed now it's wikitext not HTML, but I'm not sure, so I left it there
2) I've removed the direction mark, but I'm not if I should have or not

Please let me know if they need changing. Thanks!
Comment 3 Thomas "Tango" Dalton 2007-06-15 15:31:03 UTC
Created attachment 3782 [details]

New patch with my two questions fixed (thanks Tim!).
Comment 4 Rob Church 2007-08-22 08:08:49 UTC
Fixed in r25039, r25040.

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