Page MenuHomePhabricator

Request to move translatable page: Movement Charter
Closed, ResolvedPublicRequest

Description

Please move the following translatable page through Translate's moveTranslatableBundle.php script (docs for the system administrators):

Current translatable page title/URL: https://meta.wikimedia.org/wiki/Movement_Charter

Requested new title: Movement Charter/Project

Reason for the rename: preparing page for final Charter draft, per MCDC decision: https://meta.wikimedia.org/wiki/Talk:Movement_Charter#c-Risker-20240608011100-Announcement_-_Final_Charter_text_to_be_released_June_10,_2024. moving current content to a more appropriate subpage

Additional remarks (such as if all subpages and/or talk pages should be moved as well, or any other additional remarks):

  • please do not move the talk page
  • please retain the subpages
  • please retain the redirects

Event Timeline

abi_ triaged this task as Medium priority.
abi_ moved this task from Backlog to Working on on the Wikimedia-Site-requests board.
abi_ subscribed.

Started this move:

mwscript extensions/Translate/scripts/moveTranslatableBundle.php --wiki=metawiki "Movement_Charter" "Movement_Charter/Project" "RamzyM_(WMF)" --skip-talkpages --reason "As requested in T366979" --skip-subpages
Check if 'Movement_Charter' can be moved to 'Movement_Charter/Project' (excluding subpages; excluding talkpages; leaving redirects)

There was an error while moving the page:

Function: MediaWiki\Page\MovePage::moveToInternal
Query: UPDATE  `page` SET page_namespace = 1198,page_title = 'Movement_Charter/Project/61/en' WHERE page_id = 11550997

#0 /srv/mediawiki/php-1.43.0-wmf.8/includes/libs/rdbms/database/Database.php(1189): Wikimedia\Rdbms\Database->getQueryException('Duplicate entry...', 1062, 'UPDATE  `page` ...', 'MediaWiki\\Page\\...')

Manually moving the pages using moveBatch.php

The move is done. I think everything looks as expected, but can you check on your end?

Yes, thank you very much for your help!

I note that the moveBatch.php part of the move left redirects. Those should probably be cleaned up, especially since a new translatable page is being created at the name "Movement Charter"

And the errors in the move were because the RamsyM marked the page for translation while the move was still being processed, and then people started translating it. So yes, the script should be updated to handle that issue, but also don't touch the page until the move is done for future reference.

Suprisingly it looks like other tunits, even ones that were moved via MoveBatch, did not lose their fuzzy status. I would have expected the edit made to them as part of the move to cause Fuzzy status to be lost. I'll just use AWB to manually add FUZZY to the Page title tunits (done that now)

Taking that as a note for next time, thanks @Pppery

Nikerabbit subscribed.

Thanks for the help cleaning this up.