Last modified: 2013-09-04 11:51:27 UTC
If pagefrom is before the first page in that cat, unecessary navigation links are added http://www.mediawiki.org/wiki/Category:Extensions?pagefrom=0 Not that it doesn't need to appear when below 200 pages in the cat, the "Previous 200" doesn't need to be linked at all: http://en.wikipedia.org/w/index.php?title=Category:Container_categories&from=0 If this behaviour saves a query and db load - fine with me tho.
The previous 200 links are required, because there are entries that start before 0, so we need to be able to navigate to those entries. (Whats really confusing is http://www.mediawiki.org/w/index.php?title=Category:Extensions&pageuntil=%20 has no entires in the pages section)
My example was bad because there relly were pages before 0. Better: http://www.mediawiki.org/wiki/Category:Extensions_with_no_license_specified (First page is "Extension:ABC") If there was a navi box and you clicked "0" you'd be linked to http://www.mediawiki.org/w/index.php?title=Category:Extensions_with_no_license_specified&pagefrom=0 Now "previous 200" is linked. Click it. Result: "This category currently contains no pages or media." Fatal error is user brain. Result may be correct but "previous 200" shouldn't be linked since there is no content. Last page test: http://www.mediawiki.org/w/index.php?title=Category:Extensions_with_no_license_specified&pagefrom=z (Last page is "Extension:Zodiac") http://www.mediawiki.org/w/index.php?title=Category:Extensions_with_no_license_specified&pagefrom=zp rsults in "This category currently contains no pages or media." (correct).
Oh, I see what you mean. Yeah, that'd take an extra (or actually 3 extra) db queries to check, but they'd be cheap queries, so probably not that big a deal
Lowering priority on high priority bugs that have a low severity