Steps to replicate the issue (include links if applicable):
- Visit https://simple.wikipedia.org/w/api.php?action=query&list=allrevisions&arvdir=newer&arvlimit=3 which should list the first revisions of the wiki you will see that the first two revisions are listed with the current time. You can reload the page in your browser to see that this is true (i.e., the time that the "first" revision was made updates with the clock!).
- If you scroll to the bottom of https://simple.wikipedia.org/w/index.php?title=Liquid&action=history&offset=&limit=500 you can see the two revisions in question are actually duplicates (in text and metadata) as the first two revisions to the page. They are listed in the interface with the current time (just as in the API). The revision IDs that are incrementally lower than the first two with timestamps.
What happens?:
The bad revisions appear to be duplicated. They also appear to have missing or invalid timestamps, which are being replaced with the current time in both the API and the UI.
What should have happened instead?:
I suppose either the revisions in question should be deleted or they should have correct timestamps if those are recorded somewhere. I haven't verified that the revisions are duplicated across all the wikis.
Other information (browser name/version, screenshots, etc.):
Works in all browsers. This is true in at least the following Wikipedias:
- Tok Pisin (tpi)
- Aromanian (roa-rup)
- Kashubian (csb)
- Sardinian (sc)
- Ido (io)
- Simple English (simple)
- Minnan (zh-min-nan)
It might also be true on other WMF wikis but we've only looked at Wikipedias. If you want find others that are affected you can make an API request like:
Credit: This was discovered by Zarine Kharazian (User:Zarinek) who I am working on a project with. I'm reporting the bug because I have a Phabricator account already.