「ヘルプ:Moving a page」の版間の差分

提供: ひつじ小屋別館2代目
移動先: 案内検索
(1版)
(1版 をインポートしました)
 
(6人の利用者による、間の11版が非表示)
3行目: 3行目:
 
<translate>
 
<translate>
 
<!--T:1-->
 
<!--T:1-->
'''Moving (renaming) a page''' means giving it another name. This is done by using the "{{lc:{{int:move}}}}" [[Help:Navigation#Page Tabs|tab]] at the top. The tab is not visible if you are not logged in. Then simply enter the new name and click "{{int:movepagebtn}}". Normally you would want to leave the "{{int:movetalk}}" option ticked.
+
'''Moving (renaming) a page''' means giving it another name. This is done by using the "<tvar|move>{{lc:{{int|move}}}}</>" [[<tvar|nav>Special:MyLanguage/Help:Navigation#Page Tabs</>|tab]] at the top. The tab is not visible if you are not logged in. Then simply enter the new name and click "<tvar|movepagebtn>{{int|movepagebtn}}</>". Normally you would want to leave the "<tvar|movetalk>{{int|movetalk}}</>" option ticked.
  
 
<!--T:2-->
 
<!--T:2-->
15行目: 15行目:
  
 
<!--T:5-->
 
<!--T:5-->
* Creates a new page "A", whose content is a [[Help:Redirects|redirect]] to page "B"
+
* Creates a new page "A", whose content is a [[<tvar|redirects>Special:MyLanguage/Help:Redirects</>|redirect]] to page "B"
  
</translate><!--I think the above describes just the opposite to what actually happens in the database, I'm going to replace it with correct description: page is not actually moved in [[Page table]], it's simply given a new title--><translate>
+
</translate><!--I think the above describes just the opposite to what actually happens in the database, I'm going to replace it with correct description: page is not actually moved in [[<tvar|m-pagetable>Special:MyLanguage/Manual:page table</>|Page table]], it's simply given a new title--><translate>
  
 
<!--T:6-->
 
<!--T:6-->
The second point is important. By using the "{{MediaWiki:move}}" feature, you also '''move the editing history''', which is desirable in most situations. The editing history allows people to see how the contents of the page were built up, and who contributed what. If you move contents around by copying and pasting (not using the move feature), you do not achieve this (see also [[Help:Tracking changes]]).
+
The second point is important. By using the "<tvar|move>{{int|move}}</>" feature, you also '''move the editing history''', which is desirable in most situations. The editing history allows people to see how the contents of the page were built up, and who contributed what. If you move contents around by copying and pasting (not using the move feature), you do not achieve this (see also <tvar|tracking>{{ll|Help:Tracking changes}}</>).
  
 
<!--T:7-->
 
<!--T:7-->
Because the move operation '''leaves behind a redirect''' (see [[Help:Redirects]]), it should not result in any broken links, however you might want to hunt down pages or other redirects which link in to the redirect, and change their text to link directly to the new title. The "{{MediaWiki:whatlinkshere}}" feature, which can be used through the link in the {{MediaWiki:toolbox}} (at bottom of the [[Help:Navigation#Sidebar|sidebar]] on the left) is useful when doing this.
+
Because the move operation '''leaves behind a redirect''' (see <tvar|redirects>{{ll|Help:Redirects}}</>), it should not result in any broken links, however you might want to hunt down pages or other redirects which link in to the redirect, and change their text to link directly to the new title. The "<tvar|what>{{int|whatlinkshere}}</>" feature, which can be used through the link in the <tvar|toolbox>{{int|toolbox}}</> (at bottom of the [[<tvar|nav>Special:MyLanguage/Help:Navigation#Sidebar</>|sidebar]] on the left) is useful when doing this.
  
 
== Proposing a move == <!--T:8-->
 
== Proposing a move == <!--T:8-->
  
 
<!--T:9-->
 
<!--T:9-->
Deciding on a page title can be a difficult aspect of wiki organization, and one which can often provoke debates. If the move you have in mind is one which might cause upset or could be considered controversial, you should propose the move first. Do this by leaving a note giving your reasons on the [[Help:Talk pages|talk page]]. You might also establish a system for labeling the page itself, with a move proposal template, to make everybody aware of your intentions.
+
Deciding on a page title can be a difficult aspect of wiki organization, and one which can often provoke debates. If the move you have in mind is one which might cause upset or could be considered controversial, you should propose the move first. Do this by leaving a note giving your reasons on the [[<tvar|talk>Special:MyLanguage/Help:Talk pages</>|talk page]]. You might also establish a system for labeling the page itself, with a move proposal template, to make everybody aware of your intentions.
  
 
== Undo a move == <!--T:10-->
 
== Undo a move == <!--T:10-->
  
 
<!--T:11-->
 
<!--T:11-->
As with all wiki editing, a move operation can be reversed (by any user).  To reverse a move operation, simply move the page back, e.g. move page "B" back to "A".
+
As with almost all wiki editing, a move operation can be reversed (by any user).  To reverse a move operation, simply move the page back, e.g. move page "B" back to "A".
  
 
<!--T:12-->
 
<!--T:12-->
The page title "B" will still be left behind, as a redirect from "B" to "A". Any user can remove the redirect and propose that the page be deleted. However the final deletion will require sysop privileges (see [[Help:Deleting a page]]).
+
The page title "B" will still be left behind, as a redirect from "B" to "A". Any user can remove the redirect and propose that the page be deleted. However the final deletion will require sysop privileges (see <tvar|delete>{{ll|Help:Deleting a page}}</>).
  
 
== Moving a page without creating a redirect == <!--T:13-->
 
== Moving a page without creating a redirect == <!--T:13-->
 +
</translate>
  
<!--T:14-->
+
[[{{lm|Movepage with redirect suppression hightlighted|png}}|right|350px|thumb|<translate><!--T:14-->
[[File:Movepage with redirect suppression hightlighted.png|right|350px|thumb|Relevant option highlighted]]
+
Relevant option highlighted</translate>]]
  
<!--T:15-->
+
<translate><!--T:15-->
Users with the ''suppressredirect'' [[Help:User rights|user right]] can optionally move a page without creating a redirect. This is particularly useful when undoing a move.
+
Users with the ''suppressredirect'' [[<tvar|rights>Special:MyLanguage/Help:User rights</>|user right]] can optionally move a page without creating a redirect. This is particularly useful when undoing a move.
  
 
<!--T:16-->
 
<!--T:16-->
When the right is enabled, one additional check box will appear when one needs to move a page (see picture at right).  
+
When the right is enabled, one additional check box will appear when one needs to move a page (see picture at right).
  
 +
==Mass renaming / moving== <!--T:19-->
 +
 +
<!--T:20-->
 +
MediaWiki does not offer a special page with which to perform a batch operation for page moves.</translate>
 +
<translate>
 +
<!--T:21-->
 +
There may be alternatives, depending on your situation:
 +
</translate>
 +
 +
* {{ll|Extension:Replace Text}}
 +
* {{ll|Manual:MoveBatch.php|MoveBatch.php}}: <translate><!--T:22-->
 +
a maintenance script for renaming a batch of pages.</translate>
 +
* {{ll|Manual:Pywikibot/movepages.py}}
 +
 +
==Moving subpages== <!--T:22 -->
 +
<translate>
 +
<!--T:23-->
 +
Users with the ''move-subpages'' [[<tvar|rights>Special:MyLanguage/Help:User rights</>|user right]] can optionally move [[<tvar|nav>Special:MyLanguage/Help:Subpages</>|subpages]] of a page, preserving its "tree" structure. If you specify the root page you want to move in the title (by visiting Special:MovePage/''Some_page''), the special page displays the subpages of that root page.
 +
</translate>
 +
 +
<translate>
 
== See also == <!--T:17-->
 
== See also == <!--T:17-->
 
+
</translate>
 +
* {{ll|Help:Copying a page}}
 +
<translate>
 
<!--T:18-->
 
<!--T:18-->
* [[Help:Copying a page]]
+
* [[<tvar|redirects>Special:MyLanguage/Help:Redirects#Suppressing_a_redirect</>|Help:Redirects#Suppressing a redirect]]  
* [[Help:Redirects#Suppressing a redirect]]  
+
* [[<tvar|rights>Special:MyLanguage/Manual:User rights</>|Manual:User rights]]
* [[Manual:User rights]]
 
 
</translate>
 
</translate>
[[Category:Help{{langcat|Moving a page}}|{{PAGENAME}}]]
+
[[Category:Help{{translation}}|{{PAGENAME}}]]

2016年7月24日 (日) 00:25時点における最新版

PD Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info.
PD
</div>

Moving (renaming) a page means giving it another name. This is done by using the "移動" tab at the top. The tab is not visible if you are not logged in. Then simply enter the new name and click "ページを移動". Normally you would want to leave the "付随するトークページも移動" option ticked.

If you move page "A" to a new title "B", this operation will do the following:

  • Renames the title of page "A" as "B"
  • Renames all the editing history of page "A" as of page "B" as well
  • Creates a new page "A", whose content is a redirect to page "B"

The second point is important. By using the "移動" feature, you also move the editing history, which is desirable in most situations. The editing history allows people to see how the contents of the page were built up, and who contributed what. If you move contents around by copying and pasting (not using the move feature), you do not achieve this (see also Help:Tracking changesHelp:Tracking changes).

Because the move operation leaves behind a redirect (see Help:RedirectsHelp:Redirects), it should not result in any broken links, however you might want to hunt down pages or other redirects which link in to the redirect, and change their text to link directly to the new title. The "リンク元" feature, which can be used through the link in the ツール (at bottom of the sidebar on the left) is useful when doing this.

Proposing a move[編集]

Deciding on a page title can be a difficult aspect of wiki organization, and one which can often provoke debates. If the move you have in mind is one which might cause upset or could be considered controversial, you should propose the move first. Do this by leaving a note giving your reasons on the talk page. You might also establish a system for labeling the page itself, with a move proposal template, to make everybody aware of your intentions.

Undo a move[編集]

As with almost all wiki editing, a move operation can be reversed (by any user). To reverse a move operation, simply move the page back, e.g. move page "B" back to "A".

The page title "B" will still be left behind, as a redirect from "B" to "A". Any user can remove the redirect and propose that the page be deleted. However the final deletion will require sysop privileges (see Help:Deleting a pageHelp:Deleting a page).

Moving a page without creating a redirect[編集]

Users with the suppressredirect user right can optionally move a page without creating a redirect. This is particularly useful when undoing a move.

When the right is enabled, one additional check box will appear when one needs to move a page (see picture at right).

Mass renaming / moving[編集]

MediaWiki does not offer a special page with which to perform a batch operation for page moves. There may be alternatives, depending on your situation:

Moving subpages[編集]

Users with the move-subpages user right can optionally move subpages of a page, preserving its "tree" structure. If you specify the root page you want to move in the title (by visiting Special:MovePage/Some_page), the special page displays the subpages of that root page.

See also[編集]

案内メニュー