Page MenuHomePhabricator

Error with "Move translatable page" - "target translatable page [...] exists"
Closed, ResolvedPublic

Description

I am trying to rename (move) a set of translated pages, on top of a redirect. It is reporting an error.

At https://meta.wikimedia.org/wiki/Special:MovePage/OTRS when I try to move it to VRT (which exists as a redirect with a single page-history entry, and is not marked for translation), I get the error message:

The translatable page cannot be moved to a new name because of the following error:

OTRS

    The target translatable page "VRT" exists.

(screenshot below)

Related links:

I have confirmed that "VRT" is not listed within https://meta.wikimedia.org/wiki/Special:PageTranslation

image.png (669×708 px, 78 KB)

Outcome

Translatable pages can now be moved over redirects given that the redirect points to the page to be renamed.

Event Timeline

@Quiddity I think the issue is that the target page exists, regardless of if it is in the page translation system - I've deleted it, can you try again?

Ah, thank you! That fixed the original problem.

Now I'm getting the standard disallowed-warning for: This translatable page consists of over 500 pages. Moving this many pages has been found to be unreliable. Please contact the administrator to do this via a maintenance script. -- Is that something you can help with, too? :D

(Just in case you can: The desired edit-summary for the page-move is: OTRS -> VRTS renaming process; see [[Phab:T280392]] and [[Phab:T280396]]
If not, do you happen to know if I just need to file a task here for that?)
Thanks, either way!)

I can't move it either, I guess by "administrator" they mean "system administrator" - I'll send a patch to clarify that message, but my understanding is yes, you need to file a phab request for the move and tag Wikimedia-maintenance-script-run

Quiddity claimed this task.

Much thanks, x2!

@Quiddity I think the issue is that the target page exists, regardless of if it is in the page translation system - I've deleted it, can you try again?

Hi, usually there is the option to overwrite the target page (at least with no-translatable pages). Why @Quiddity is not seeing it?

Tacsipacsi removed Quiddity as the assignee of this task.
Tacsipacsi subscribed.

I agree with @Ruthven. Non-translatable pages can be moved over redirects given that the redirect points to the page to be renamed, and the redirect’s page history contains only one entry (which created the redirect); the behavior should be the same when moving a translatable page.

abi_ triaged this task as Medium priority.

Change 710300 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] TranslatablePageMover: Remove custom target page exists check

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

Change 710300 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] TranslatablePageMover: Remove custom target page exists check

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

Now available on MediaWiki.org.