Last modified: 2007-08-22 08:08: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.
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.
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!
Created attachment 3782 [details]
New patch with my two questions fixed (thanks Tim!).
Fixed in r25039, r25040.