Page MenuHomePhabricator

Special:MovePage for translatable pages should provide option to create redirect and move talk
Closed, ResolvedPublic

Description

Not urgent but it's a bit confusing, one is used to it and assumes it does both.

Outcome

  • Implemented functionality to move talk pages along with the translatable pages, if present.
  • Talk pages that are translatable still need to be moved separately.

See screenshot below,

talk-page-output.png (686×1 px, 128 KB)

  1. User:Abijeet Patro/To Moved has a talk page that will be moved.
  2. Translations:User:Abijeet Patro/To Moved/1/en-gb has a talk page that will be moved.
  3. User talk:Abijeet Patro/To Moved/es has a translatable talk page that has to be moved separately.

This functionality is also available via the moveTranslatablePage.php script.

Documentation has been updated here: https://www.mediawiki.org/wiki/Help:Extension:Translate/Move_translatable_page

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:56 AM
bzimport set Reference to bz39023.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 60920 has been marked as a duplicate of this bug. ***

Just a note that this still causes lots of broken links (when moving translatable pages, via bug 60920), see e.g. https://meta.wikimedia.org/wiki/Meta:Babel#Moving_Programs:Evaluation_portal .

(In reply to Tilman Bayer from comment #2)

Just a note that this still causes lots of broken links

Yes, IMHO this is not a feature request but a proper bug, per https://meta.wikimedia.org/wiki/Don%27t_delete_redirects

Testme: Special:MyLanguage behaviour when target is a redirect.

Nikerabbit renamed this task from Special:MovePage should provide option to create redirect and move talk to Special:MovePage for translatable pages should provide option to create redirect and move talk.Apr 20 2016, 10:16 AM
Nikerabbit raised the priority of this task from Low to Medium.
Nikerabbit updated the task description. (Show Details)
Nikerabbit removed a subscriber: wikibugs-l-list.

Came across this bug (feature request?) with the renaming of "Audiences" back to "Product" (see revision note here: https://www.mediawiki.org/w/index.php?title=Wikimedia_Product/New_Content_Program_Metrics_Reports&oldid=3286950; I added the redirect after encountering this)

Thanks to T168591, non-translatable sub-pages can be moved behind, but still not talk pages? What a strange behavior!

Adding this to our board since we've been getting a few reports of this catching people unawares.

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

[mediawiki/extensions/Translate@master] MovePage: Add support for moving talkpages

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

For pages that are going to be moved will have a "Has talk page" label next to them.

image.png (634×1 px, 113 KB)

The user will have the option to move them which is enabled by default.

We're currently working on improving the code to reduce the number of database operations that we have to do. Once that is in place, we will re-implement (from the existing patch in review) the talk page move functionality on top of it.

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

[mediawiki/extensions/Translate@master] MovePage: Add support for moving talkpages

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

Change 701443 abandoned by Abijeet Patro:

[mediawiki/extensions/Translate@master] MovePage: Add support for moving talkpages

Reason:

Abandoned in favor of I693939661bbca321115e99ba0d39561de2e0d6e9

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

Change 709102 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] MovePage: Add support for moving talkpages

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

Tested and confirm as working on MediaWiki.org