Help:Extension:Translate/Move translatable page/zh

在使用翻译扩展将已翻译为其他语言的源页与源页一起移动时，也必须移动翻译页. 翻译页面作为源页面的子页面存在. 例如，如果我们有一个名称为FooBar的源页面，并且该页面已被翻译成法语和西班牙语，则翻译页面将分别为FooBar/fr和FooBar/es

移动翻译后的源页的过程与普通页相同. The difference is in the way the subpages are moved.



In the image, we are moving a translatable source page. There are a few sections to note here,


 * 1)  Translation page  - These are the languages to which the source page has been translated to. This will be moved.
 * 2)  Translation unit pages  - These are the smallest individually tracked component of translatable pages: the page is divided into paragraph-sized translation units and each unit is a message. All of these will also be moved.
 * 3)  Subpage marked for translation  - These are other translatable source pages that exist as subpages under the source page that is being moved. These cannot be moved as part of the current move operation but has to be moved separately.
 * 4)  Other subpage  - These are normal subpages under the source translatable page that is being moved. The user can choose to move this by selecting the Move all subpages option on the screen.

Talk pages if present are also moved. Pages that have talk pages are denoted with a (Has talk page) suffix. Similar to subpages marked for translation, translatable talk pages have to be moved separately.

Once the user initiates the move process, the actual moving will be done via background jobs. The status of the "move job" can be tracked via the Page translation log.

Moving a large number of pages
To move a large number of pages, we recommend using the script  as it can be slightly unreliable to do so via the UI that uses the   to move the pages.

While moving the page, the script will perform the necessary validations, display what will be moved, and then take confirmation from the user before performing the move.

The script takes the following parameter:


 * - Current page name
 * - New page name
 * - User performing the move
 * - (optional) Reason for performing the move
 * - (optional) Skip moving subpages under the current page
 * - (optional) Skip moving talkpages under the current page

Example usage: php extensions/Translate/scripts/moveTranslatableBundle.php "Main Page 60" "Main Page 70" Admin --reason "Just an example"
 * 1) Here "Main Page 60" is being renamed to "Main Page 70" by "Admin