Page MenuHomePhabricator

Stuck-hidden file / Deleted file revisions displaying improperly
Closed, ResolvedPublic

Description

The old revision of https://en.wikipedia.org/wiki/File:HambonesMeditations.jpg is stuck hidden somehow; I tried to unrevdel it and it appeared to succeed but the file remained revdelled. I then tried a delete/undelete to see if that would clear the stuck hidden state, which resulted in MediaWiki thinking the file was hidden again. I then tried to unrevdel a second time, which had the same failure mode, and then a third time which failed with "Revision visibility could not be updated: Error modifying the item dated 16:49, 26 November 2018: Its status appears to have been changed by someone else while you attempted to modify it. Please check the logs.", probably indicating that MediaWiki and swift disagree what happened to the file or something like it. Could someone work out what the heck is going on here?

Event Timeline

I have also just noticed that files where I deleted old revisions, such as https://en.wikipedia.org/wiki/File:SuccessKid.jpg, the old versions do not show "No thumbnail" but links with alt text. In this case it shows "Thumbnail for version as of 04:23, 26 April 2015" and a link to https://upload.wikimedia.org/wikipedia/en/archive/f/ff/20260405164800%21SuccessKid.jpg but for that link I get "File not found: /v1/AUTH_mw/wikipedia-en-local-public.ff/archive/f/ff/20260405164800%21SuccessKid.jpg"

Mentioned in SAL (#wikimedia-operations) [2026-04-15T15:24:28Z] <Emperor> update & restart envoy on apus frontends T423065 T382824

Can't say for sure but maybe that's because of a missing update in the new file schema? See line 192 on the new side https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1273030/1/includes/FileRepo/File/LocalFileDeleteBatch.php

Aklapper renamed this task from Stuck-hidden file to Stuck-hidden file / Deleted file revisions displaying improperly.Apr 18 2026, 5:34 PM
Aklapper triaged this task as Unbreak Now! priority.
Aklapper added a project: Regression.

Change #1275200 had a related patch set uploaded (by Zabe; author: Zabe):

[operations/mediawiki-config@master] Temporarily switch back to file read old schema

https://gerrit.wikimedia.org/r/1275200

Change #1275200 merged by jenkins-bot:

[operations/mediawiki-config@master] Temporarily switch back to file read old schema

https://gerrit.wikimedia.org/r/1275200

Mentioned in SAL (#wikimedia-operations) [2026-04-19T17:16:25Z] <zabe@deploy1003> Started scap sync-world: Backport for [[gerrit:1275200|Temporarily switch back to file read old schema (T423065)]]

Mentioned in SAL (#wikimedia-operations) [2026-04-19T17:34:06Z] <zabe@deploy1003> zabe: Backport for [[gerrit:1275200|Temporarily switch back to file read old schema (T423065)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-04-19T17:50:07Z] <zabe@deploy1003> Finished scap sync-world: Backport for [[gerrit:1275200|Temporarily switch back to file read old schema (T423065)]] (duration: 33m 41s)

Should be working again. Following up in T423821.