Page MenuHomePhabricator

Complex page move leaves some translation-related pages behind
Open, HighPublic

Description

Recently, I moved [[m:Grants:Learning patterns]] to [[m:Learning patterns]] and [[m:Grants:Evaluation]] to [[m:Learning and Evaluation]]. Each are translatable pages with an extensive collection of subpages, many of which are also translatable.

In general, the page move occurred without incident.

However, certain translation related pages (possibly all of them, or possibly just a subset) were not moved. They are tracked here:

Event Timeline

Harej created this task.Jun 21 2017, 11:18 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 21 2017, 11:18 PM
Harej added a comment.EditedJun 23 2017, 1:58 AM

A new batch of pages affected by this:

Programs:Training/Survey Design/ar
Programs:Training/Survey Design/arz
Programs:Training/Survey Design/bg
Programs:Training/Survey Design/en
Programs:Training/Survey Design/fr
Programs:Training/Survey Design/it
Programs:Training/Survey Design/ja
Programs:Training/Survey Design/ko
Programs:Training/Survey Design/lb
Programs:Training/Survey Design/oc
Programs:Training/Survey Design/pt-br
Programs:Training/Survey Design/ru
Programs:Training/Survey Design/tr
Programs:Training/Survey Design/uk
Programs:Training/Survey Design/zh

I'm definitely seeing a pattern here. A page will be moved successfully, and its translation subpages will be moved successfully, and its other subpages will be moved successfully, but the translation subpages of the other subpages won't.

If an example will help here: Imagine I have a page, [[Super Portal]]. The page is translatable and has a translation subpage, [[Super Portal/en]]. Because it is a portal it also has a garden-variety subpage, [[Super Portal/News]]. That page is also marked for translation, leading to [[Super Portal/News/en]]. If I rename [[Super Portal]] and all subpages, it will rename [[Super Portal]], [[Super Portal/en]], [[Super Portal/News]], but NOT [[Super Portal/News/en]]. That is what I believe is going on here.

Harej added a comment.Jun 23 2017, 5:50 PM

Trying to get around this first by moving the subpage and then moving the parent page is a terrible idea, it turns out, since doing the former prevents the latter.

Nikerabbit triaged this task as High priority.Jun 27 2017, 5:54 AM
Harej added a comment.Jun 27 2017, 9:12 PM

Workaround: copy the contents of the Translations-space pages to their new corresponding titles (try to give credit to the original translator via edit summary), make the old translation subpages redirect to the new ones, delete the old Translations. This is undesirable but it works.

Harej added a comment.Jun 27 2017, 9:25 PM

I think this bug has been reported before... T114592

I think this bug has been reported before... T114592

Yes, the other problem being redirects.

Perhelion added a comment.EditedJul 26 2018, 8:57 AM

Trying to get around this first by moving the subpage and then moving the parent page is a terrible idea, it turns out, since doing the former prevents the latter.

I don't understand your claim, as this would be the simplest solution for this bug. The parent page blocks the move of the subpages, so move the parent page at last. It's no fun to move 20 pages by hand. Therefore I do not advertise anymore to use this extension.