Help:Extension:Translate/Move translatable page/ja

Translate 拡張機能を使用して他の言語に翻訳された翻訳元ページを移動する場合、翻訳元ページと一緒に翻訳ページも移動する必要があります. 翻訳ページは、翻訳元ページの下位ページとして存在します. 例えば、FooBar という名前の翻訳元ページがあり、そのページがフランス語とスペイン語に翻訳されている場合、翻訳ページは FooBar/fr と FooBar/es に存在することになります.

翻訳された翻訳元ページを移動する過程は、通常のページと同じです. その違いは、下位ページの移動方法にあります.



画像では、翻訳対象の翻訳元ページを移動しています. There are a few sections to note here,


 * 1) 翻訳ページ - These are the languages to which the source page has been translated to. This will be moved.
 * 2) 翻訳単位ページ - 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) 翻訳対象に指定された下位ページ - 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) その他の下位ページ - 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.

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:


 * - 現在のページ名
 * - New page name
 * - User performing the move
 * - (optional) Reason for performing the move
 * - (optional) Move subpages under the current page

Example usage: php extensions/Translate/scripts/moveTranslatablePage.php "Main Page 50" "Main Page 60" Admin -- "Just an example" --move-sub-pages
 * 1) Here "Main Page 50" is being renamed to "Main Page 60" by "Admin

Sample output: