Page MenuHomePhabricator

Transfer translations of resolutions from Meta-Wiki to Foundation Governance Wiki (foundation.wikimedia.org)
Closed, ResolvedPublic8 Estimated Story Points

Description

Utilizing the new script for transferring translations, I would like to request a transfer of these translated pages:

First and second batches:

Please let me know if there is anything more you need from me - thank you!

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Varnent changed the task status from Open to Stalled.Jan 6 2024, 11:43 AM
Varnent claimed this task.
Varnent renamed this task from [DRAFT] Transfer translations of resolutions from Meta-Wiki to Foundation Governance Wiki (foundation.wikimedia.org) to Transfer translations of resolutions from Meta-Wiki to Foundation Governance Wiki (foundation.wikimedia.org).Jan 7 2024, 7:47 AM
Varnent changed the task status from Stalled to Open.
Varnent removed Varnent as the assignee of this task.
Varnent updated the task description. (Show Details)
Varnent updated the task description. (Show Details)

We can use https://www.mediawiki.org/wiki/User:APatro_(WMF)/Move_translatable_bundles_across_wiki to export and then import the translatable bundles across wikis.

Unfortunately the script does not support changing the namespace or the title of the page, so that will have to be done manually. To do that we can use the normal move translatable bundle special page.

For sake of my own process - I have completed "First batch" and moving on to "Second batch". I have double checked them on both wikis, and reduced the list a little by removing ones with just 1-2 languages to transfer (and those are now completed).

Will signal when list of second batch has been completed and verified.

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

[mediawiki/extensions/Translate@master] ImportTranslatableBundle: Add progress indicator and improve messages

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

@Varnent We're making various changes to the script that imports translatable pages to,

  1. Automatically mark the page for translation when importing
  2. Setting various metadata such as priority languages when importing.
  3. Allow specifying a target page name (including a different namespace) during importing.

Once these are done, we can start the transfer process.

@abi_: Sounds good! I have finished compiling and double checking the list. Should be all set from my side - but if you need anything more from me - just let me know! Thank you!

Change 1006940 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] ImportTranslatableBundle: Add progress indicator and improve messages

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

@Varnent A few questions:

  1. When we import the page from Meta to Foundation wiki, which user account would you like us to use? There will be an entry in Special:Log for the import action with this user account. See image from my local machine:

image.png (58×808 px, 19 KB)

  1. There is a templates being used on Meta-Wiki; (MovedToFoundationGovWiki) that is not present on Foundation wiki. When we export WMF_Resolutions/2008-09_Budget to Resolution:2008-09_Budget on Foundation wiki this template markup will also be exported and imported but not the template itself.
  2. Would you like talk pages / sub pages from Meta-Wiki to also be moved to Foundation wiki.

Once the changes are deployed next week, I'll start by migrating one page and we can review if everything looks good before proceeding further.

@abi_ Thank you again for all of your work on this!

  1. Does the account need to be logged in? WMFOffice, my account, or really any account is fine really. Not too picky about this, but should probably be a Foundation account of some type.
  2. I have setup a redirect, it will display a message twice, but I will clean up the pages and would rather the message display twice than accidentally miss a page.
  3. Yes - we should migrate over the immediately related pages, so subpages and talk pages if possible.

Thank you again!

Does the account need to be logged in? WMFOffice, my account, or really any account is fine really. Not too picky about this, but should probably be a Foundation account of some type.

No, login is not needed.

@Varnent I exported https://meta.wikimedia.org/wiki/WMF_Resolutions/2008-09_Budget and imported it to https://foundation.wikimedia.org/wiki/Resolution:2008-09_Budget; I think everything looks OK. Can you do a sanity check?

Some notes regarding the export and imports:

Export:

mwscript extensions/Translate/scripts/exportTranslatableBundle.php --wiki=metawiki --translatable-bundle "WMF_Resolutions/2008-09_Budget" --filename /tmp/WMF_Resolutions_2008-09_Budget.xml --include-talk-pages --include-subpages

Import:

mwscript extensions/Translate/scripts/importTranslatableBundle.php --wiki=foundationwiki /tmp/WMF_Resolutions_2008-09_Budget.xml  --user "GVarnum-WMF" --interwiki-prefix "metawiki" --comment "See phab:T354473" --target-name "Resolution:2008-09_Budget" --override

@Varnent I exported https://meta.wikimedia.org/wiki/WMF_Resolutions/2008-09_Budget and imported it to https://foundation.wikimedia.org/wiki/Resolution:2008-09_Budget; I think everything looks OK. Can you do a sanity check?

Some notes regarding the export and imports:

Export:

mwscript extensions/Translate/scripts/exportTranslatableBundle.php --wiki=metawiki --translatable-bundle "WMF_Resolutions/2008-09_Budget" --filename /tmp/WMF_Resolutions_2008-09_Budget.xml --include-talk-pages --include-subpages

Import:

mwscript extensions/Translate/scripts/importTranslatableBundle.php --wiki=foundationwiki /tmp/WMF_Resolutions_2008-09_Budget.xml  --user "GVarnum-WMF" --interwiki-prefix "metawiki" --comment "See phab:T354473" --target-name "Resolution:2008-09_Budget" --override

Looks good! Thank you!! Great work! :)

@Varnent I exported https://meta.wikimedia.org/wiki/WMF_Resolutions/2008-09_Budget and imported it to https://foundation.wikimedia.org/wiki/Resolution:2008-09_Budget; I think everything looks OK. Can you do a sanity check?

Some notes regarding the export and imports:

Export:

mwscript extensions/Translate/scripts/exportTranslatableBundle.php --wiki=metawiki --translatable-bundle "WMF_Resolutions/2008-09_Budget" --filename /tmp/WMF_Resolutions_2008-09_Budget.xml --include-talk-pages --include-subpages

Import:

mwscript extensions/Translate/scripts/importTranslatableBundle.php --wiki=foundationwiki /tmp/WMF_Resolutions_2008-09_Budget.xml  --user "GVarnum-WMF" --interwiki-prefix "metawiki" --comment "See phab:T354473" --target-name "Resolution:2008-09_Budget" --override

Looks good! Thank you!! Great work! :)

Glad to hear that. I'll do some more tomorrow and we can recheck. If everything looks good, I can complete the rest early next week.

Glad to hear that. I'll do some more tomorrow and we can recheck. If everything looks good, I can complete the rest early next week.

That sounds great! Thank you - and please let me know if you need anything along the way. I greatly appreciate your efforts on this lift, and empathize with how heavy this lift can actually be.

I wrote a small script to generate the commands necessary to export and import the translatable bundles across the wikis: https://gitlab.wikimedia.org/abi/utility-belt/-/commit/eb1e1ea4a7b65edb11ce0f714977442f1cbec8cf?view=parallel

That sounds great! Thank you - and please let me know if you need anything along the way. I greatly appreciate your efforts on this lift, and empathize with how heavy this lift can actually be.

You are welcome :-) I think we are good for now. I'll let you know if we need anything else.

I exported and imported some more pages, let me know if they look OK, and I'll do the rest early next week. Thanks!

That sounds great! Thank you - and please let me know if you need anything along the way. I greatly appreciate your efforts on this lift, and empathize with how heavy this lift can actually be.

You are welcome :-) I think we are good for now. I'll let you know if we need anything else.

I exported and imported some more pages, let me know if they look OK, and I'll do the rest early next week. Thanks!

Everything looks good - thank you!

@Varnent, I've migrated all the pages to Foundation wiki. I did some quick verification, and I think it looks OK.

@Varnent, I've migrated all the pages to Foundation wiki. I did some quick verification, and I think it looks OK.

Awesome!! Thank you so much! I think we can go ahead and close this ticket. I will take care of the remaining cleanup work related to the migration (already underway).