Last modified: 2014-07-24 04:43:08 UTC
When browsing a category with over 400 pages backwards (from "next" page to "previous") incorrect link to previous page appears. In effect some pages are ommited inlistings. Testcase: * Open http://test.wikipedia.org/w/index.php?title=Category:Category_with_many_files and click "next 200" twice (on this and next page) * When you see pages: Page401 to Page600, click "previous 200" * You see a page with links to Page201 to Page400, and link to "previous 200" on that page is incorrect: it points to http://test.wikipedia.org/w/index.php?title=Category:Category_with_many_files&pageuntil=Page200#mw-pages instead of http://test.wikipedia.org/w/index.php?title=Category:Category_with_many_files&pageuntil=Page201#mw-pages (pageuntil should should be set to the first element of current page, not the previos one) * If you click the "previous 200" link, you see links to Page001 to Page199. the Page200 is omitted. The "pageuntil=" parameter in a link seems to be the source of the problem. This effect appears on pages generated in backward browsing by clicking the "previous 200" link, when the "pageuntil=" parameter is used. On any wiki. A category must contain at least 401 pages to observe this effect.
Can't reproduce. Maybe it's fixed now. Can someone confirm and close this ?
(In reply to Rohan Rawat from comment #1) > Can't reproduce. > Maybe it's fixed now. > Can someone confirm and close this ? Not fixed. I still can reproduce the above example. More detailed description: 1. Open http://test.wikipedia.org/w/index.php?title=Category:Category_with_many_files : you will see page001 - page200 (it is OK) 2. Click "next 200": you will see page201 - page399 (it is still OK) 3. Click "next 200": you will see page401 and few next (it is still OK) 4. Click "previous 200": you will see page201 - page399 (it is still OK, but now the "previous 200" link is broken) 5. Click "previous 200": you will see page001 - page199 (it is *NOT* OK) Page200 seem to be lost between step 4. and 5. Link "previous 200" on a page you received via clicking "previous 200" on another page seems to be broken.
(In reply to Rohan Rawat from comment #1) > Can't reproduce. > Maybe it's fixed now. If you "cannot reproduce" somewhere in some way, please provide your exact steps. Otherwise everybody can just guess if you tested something different.
Change 146067 had a related patch set uploaded by Rohan013: Fix incorrect "previous 200" link in category listings https://gerrit.wikimedia.org/r/146067
Change 146067 merged by jenkins-bot: Fix off-by-one error in the "previous 200" link in category listings with until=param https://gerrit.wikimedia.org/r/146067