Page MenuHomePhabricator

New images pagination shows the same images every time
Open, Needs TriagePublic

Description

  1. Create a query on the commons Special:NewImages page: uploaded between 2017-12-01 and 2017-12-03 by new users, only bitmap images and videos, show 500 images: https://commons.wikimedia.org/w/index.php?title=Special:NewFiles&offset=20171203235959&limit=500&user=&newbies=1&mediatype%5B0%5D=ARCHIVE&mediatype%5B1%5D=BITMAP&mediatype%5B2%5D=MULTIMEDIA&mediatype%5B3%5D=UNKNOWN&mediatype%5B4%5D=VIDEO&start=2017-12-01&end=2017-12-03&wpFormIdentifier=specialnewimages
  1. Click on the link "older 500" at the bottom of the page: the same images are dislayed (the first one is [[File:Peluches-gigantes-peluchilandia.jpg]] and the last one [[File:Deroc P1010163mod.jpg]]). Instead, a new set of 500 images should be displayed.

The URL changes, the new one is https://commons.wikimedia.org/w/index.php?title=Special:NewFiles&offset=20171203113738&limit=500&user=&newbies=1&mediatype%5B0%5D=ARCHIVE&mediatype%5B1%5D=BITMAP&mediatype%5B2%5D=MULTIMEDIA&mediatype%5B3%5D=UNKNOWN&mediatype%5B4%5D=VIDEO&start=2017-12-01&end=2017-12-03&wpFormIdentifier=specialnewimages

Event Timeline

Strainu created this task.Dec 10 2017, 10:14 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 10 2017, 10:14 PM

@Strainu: Clearer steps needed:

When trying to go back to the previous images

How? By clicking the "oldest" link at the bottom? By clicking the "oldest 500" link at the bottom?

only the first 50 images are shown no matter how many times one clicks on "previous 50"

I do not see any "previous 50" link anywhere.

Strainu added a comment.EditedDec 15 2017, 9:18 PM

@Strainu: Clearer steps needed:

@Aklapper:

  1. Go to the link I provided.
  2. Click on "previous 500"
  3. The new page only contains 50 images (the newest 50 of the 500 from point 1)
  4. One of the links at the botton now reads "previous 50". Click on it.
  5. The same page from point 3 is displayed.

Does this help reproduce?

  1. Go to the link I provided.
  2. Click on "previous 500"

I guess you mean "older 500" at the bottom (adding &uselang=en to the URL will show things in English)

  1. The new page only contains 50 images (the newest 50 of the 500 from point 1)

Cannot reproduce. 500 shown here.

  1. One of the links at the botton now reads "previous 50".

Cannot reproduce. "older 500" shown here.

@Aklapper, are you logged in? If not, could you please try while logged in? I am unable to reproduce when logged out, so I disabled all user scripts and gadgets and I can still reproduce when logged in.

I was logged in when I tried, yes.

Strainu updated the task description. (Show Details)Dec 16 2017, 9:18 PM
Strainu added a comment.EditedDec 16 2017, 9:23 PM

OK, so I tested with users Strainu, Strainubot and anonymous. The issue about the 500 limit getting lost is only reproducible with my main account, so it's probably caused by some script. However, the fact that the same images are displayed regardless of how many times I click on "older 500" is reproducible each and every time. I have updated the description to reflect this, hopefully you will be able to reproduce at least this part.

Aklapper renamed this task from New images pagination does not work to New images pagination shows "older 50" instead of the previous clicked "older 500" for a specific user account.Dec 17 2017, 10:33 AM
Strainu renamed this task from New images pagination shows "older 50" instead of the previous clicked "older 500" for a specific user account to New images pagination shows the same images every time.Dec 17 2017, 4:26 PM