Page MenuHomePhabricator

Move file page to new name that exists on commons got "MediaWiki:Cannotdelete" error
Open, Needs TriagePublic

Description

When I move File:Ampallang2.jpg to File:Ampallang piercing penis.jpg on zhwiki, I get this error message.
On zhwiki, the first title is just a wikitext page. There is no file. The second title does not exist.
On commons, the first title is a redirect. The second title is a file.

Reproduce step:

  1. Visit https://zh.wikipedia.org/wiki/File:Ampallang2.jpg?redirect=no
  2. Click "Move"
  3. Fill "New title" with "Ampallang piercing penis.jpg", fill "Reason", deselect "Leave a redirect behind".
  4. Click "Move page"
  5. Got message "File:Ampallang piercing penis.jpg exists on a shared repository. Moving a file to this title will override the shared file."
  6. Click "Move page"
  7. Got message "The page could not be moved, for the following reason: The page or file "File:Ampallang2.jpg" could not be deleted. It may have already been deleted by someone else."

Event Timeline

A2093064 created this task.Jan 17 2019, 2:42 AM
Restricted Application added subscribers: Cosine02, Aklapper. · View Herald TranscriptJan 17 2019, 2:42 AM

https://zh.wikipedia.org/wiki/File:Ampallang2.jpg?redirect=no now states that it has been deleted?:
2019年1月17日 (四) 04:25 AT(讨论 | 贡献)删除页面File:Ampallang2.jpg (F6 (TW)) (感谢)

Got message "File:Ampallang piercing penis.jpg exists on a shared repository. Moving a file to this title will override the shared file."

What would you have expected to happen instead?

I reproduce it again on Beta Cluster.

On commons.wikimedia.beta.wmflabs.org, File:Example2.jpg redirect to File:Example.jpg.

What would you have expected to happen instead?

I want to move File:Example2.jpg to File:Example.jpg on zh.wikipedia.beta.wmflabs.org. Move the local description page to match the file name on commons.
There is no file on local wiki. So it won't override the shared file. Just create local description by moving a page to here.

Reproduce step:

  1. Visit https://zh.wikipedia.beta.wmflabs.org/wiki/File:Example2.jpg?redirect=no
  2. Click "Move"
  3. Fill "New title" with "Example.jpg", fill "Reason", deselect "Leave a redirect behind" and "Watch source page and target page".
  4. Click "Move page"
  5. Got message "File:Example.jpg exists on a shared repository. Moving a file to this title will override the shared file."
  6. Click "Move page" again
  7. Got message "The page could not be moved, for the following reason: The page or file "File:Example2.jpg" could not be deleted. It may have already been deleted by someone else."

@Aklapper Please see my response above. Thanks.

@A2093064: I saw it two weeks ago.