「ヘルプ:Redirects」を編集中

移動先: 案内検索

警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 編集中の文章
1行目: 1行目:
 
<languages/>
 
<languages/>
 
{{TNT|PD Help Page}}
 
{{TNT|PD Help Page}}
 +
 
<translate>
 
<translate>
 
<!--T:1-->
 
<!--T:1-->
Redirects are used to forward users from one page name to another.</translate>
+
Redirects are used to forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings.
<translate>
 
<!--T:25-->
 
They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings.
 
  
 
== Creating a redirect == <!--T:2-->
 
== Creating a redirect == <!--T:2-->
  
 
<!--T:3-->
 
<!--T:3-->
You may start a new page with the name you want to direct from (see [[<tvar|help-new-page>Special:MyLanguage/Help:Starting a new page</>|Help:Starting a new page]]).</translate>
+
You may start a new page with the name you want to direct from (see [[<tvar|help-new-page>Special:MyLanguage/Help:Starting a new page</>|Help:Starting a new page]]). You can also use an existing page that you are making inactive as a page by going to that page and using the "edit" tab at the top. In either case, you will be inserting the following code at the very first text position of the Edit window for the page:</translate>
<translate>
 
<!--T:26-->
 
You can also use an existing page that you are making inactive as a page by going to that page and using the "edit" tab at the top.</translate>
 
<translate>
 
<!--T:27-->
 
In either case, you will be inserting the following code at the very first text position of the Edit window for the page:</translate>
 
 
  <nowiki>#REDIRECT [[</nowiki><translate><!--T:4-->
 
  <nowiki>#REDIRECT [[</nowiki><translate><!--T:4-->
 
''pagename''</translate><nowiki>]]</nowiki>
 
''pagename''</translate><nowiki>]]</nowiki>
 
<translate>
 
<translate>
 
<!--T:5-->
 
<!--T:5-->
where ''pagename'' is the name of the destination page.</translate>
+
where ''pagename'' is the name of the destination page. The word "redirect" is not case-sensitive, but there must be no space before the "#" symbol. Any text before the code will disable the code and prevent a redirect. Any text or regular content code after the redirect code will be ignored (and should be deleted from an existing page). However, to put or keep the current page name listed in a Category, the usual tag for that category is entered or kept on a line after the redirect code entry.
<translate>
 
<!--T:28-->
 
The word "redirect" is not case-sensitive, but there must be no space before the "#" symbol.</translate>
 
<translate>
 
<!--T:29-->
 
Any text before the code will disable the code and prevent a redirect.</translate>
 
<translate>
 
<!--T:30-->
 
Any text or regular content code after the redirect code will be ignored (and should be deleted from an existing page).</translate>
 
<translate>
 
<!--T:31-->
 
However, to put or keep the current page name listed in a Category, the usual tag for that category is entered or kept on a line after the redirect code entry.
 
  
 
<!--T:6-->
 
<!--T:6-->
You should 'preview' (using the button below the Edit window, or use Alt-P) to check that you have entered the correct destination page name.</translate>
+
You should 'preview' (using the button below the Edit window, or use Alt-P) to check that you have entered the correct destination page name. The preview page will not look like the resulting redirect page, it will look like a numbered list, with the destination page in blue:   
<translate>
 
<!--T:32-->
 
The preview page will not look like the resulting redirect page, it will look like a numbered list, with the destination page in blue:   
 
 
</translate>
 
</translate>
 
  1. REDIRECT  <span style="color:#0645AD"><translate><!--T:7-->
 
  1. REDIRECT  <span style="color:#0645AD"><translate><!--T:7-->
46行目: 23行目:
 
<translate>
 
<translate>
 
<!--T:8-->
 
<!--T:8-->
If the ''pagename'' as you typed it is not a valid page, it will show in red.</translate>
+
If the ''pagename'' as you typed it is not a valid page, it will show in red. Until there is a valid destination page, you should not make the redirect.
<translate>
 
<!--T:33-->
 
Until there is a valid destination page, you should not make the redirect.
 
  
 
== Viewing a redirect == <!--T:9-->
 
== Viewing a redirect == <!--T:9-->
  
 
<!--T:10-->
 
<!--T:10-->
After making a redirect at a page, you can no longer get to that page by using its name or by any link using that name.</translate>
+
After making a redirect at a page, you can no longer get to that page by using its name or by any link using that name; and they do not show up in wiki search results, either. However, near the top of the destination page, a notice that you have been forwarded appears, with the source pagename as an active link to it. Click this to get back to the redirected page, showing the large bent arrow symbol and the destination for the redirect.
<translate>
 
<!--T:34-->
 
However, near the top of the destination page, a notice that you have been forwarded appears, with the source pagename as an active link to it.</translate>
 
<translate>
 
<!--T:35-->
 
Click this to get back to the redirected page, showing the large bent arrow symbol and the destination for the redirect.
 
  
 
<!--T:11-->
 
<!--T:11-->
By doing this, you can do all the things that any wiki page allows.</translate>
+
By doing this, you can do all the things that any wiki page allows. You can go to the associated discussion page to discuss the redirect. You can view the history of the page, including a record of the redirect. You can edit the page if the redirect is wrong, and you can revert to an older version to remove the redirect.
<translate>
 
<!--T:36-->
 
You can go to the associated discussion page to discuss the redirect.</translate>
 
<translate>
 
<!--T:37-->
 
You can view the history of the page, including a record of the redirect.</translate>
 
<translate>
 
<!--T:38-->
 
You can edit the page if the redirect is wrong, and you can revert to an older version to remove the redirect.
 
  
 
== Deleting a redirect == <!--T:12-->
 
== Deleting a redirect == <!--T:12-->
  
 
<!--T:13-->
 
<!--T:13-->
There's generally no need to delete redirects.</translate>
+
There's generally no need to delete redirects. They do not occupy a significant amount of database space. If a page name is vaguely meaningful, there's no harm, and some benefit, in having it as a redirect to the more relevant or current page.  
<translate>
 
<!--T:39-->
 
They do not occupy a significant amount of database space.</translate>
 
<translate>
 
<!--T:40-->
 
If a page name is vaguely meaningful, there's no harm, and some benefit, in having it as a redirect to the more relevant or current page.  
 
  
 
<!--T:14-->
 
<!--T:14-->
91行目: 44行目:
  
 
<!--T:16-->
 
<!--T:16-->
A double redirect is a page redirecting to a page which is itself a redirect, and it will not work.</translate>
+
A double redirect is a page redirecting to a page which is itself a redirect, and it will not work. Instead, people will be presented with a view of the next redirect page. This is a deliberate restriction, partly to prevent infinite loops, and partly to keep things simple.  
<translate>
 
<!--T:47-->
 
Instead, people will be presented with a view of the next redirect page.</translate>
 
<translate>
 
<!--T:41-->
 
This is a deliberate restriction, partly to prevent infinite loops, and partly to keep things simple.  
 
  
 
<!--T:17-->
 
<!--T:17-->
However, you could look out for double redirects and eliminate them by changing them to be 1-step redirects instead.</translate>
+
However, you could look out for double redirects and eliminate them by changing them to be 1-step redirects instead. You are most likely to need to do this after a significant [[<tvar|help-moving>Special:MyLanguage/Help:Moving a page</>|page move]]. Use the "what links here" toolbox link to find double redirects to a particular page, or use [[Special:DoubleRedirects]] to find them throughout the whole wiki.
<translate>
 
<!--T:42-->
 
You are most likely to need to do this after a significant [[<tvar|help-moving>Special:MyLanguage/Help:Moving a page</>|page move]].</translate>
 
<translate>
 
<!--T:43-->
 
Use the "what links here" toolbox link to find double redirects to a particular page, or use [[Special:DoubleRedirects]] to find them throughout the whole wiki.
 
  
 
<!--T:24-->
 
<!--T:24-->
There is an option, <tvar|doublefix>{{Ll|Manual:$wgFixDoubleRedirects|$wgFixDoubleRedirects}}</>, to automatically fix double redirects with a {{LL|Manual:Job queue|job queue}}.</translate>
+
There is an option, {{Ll|Manual:$wgFixDoubleRedirects}}, to automatically fix double redirects with a {{LL|Manual:Job queue|job queue}}. However, it tends to aggravate page move vandalism, so it is disabled by default. The <nowiki>__STATICREDIRECT__</nowiki> {{Ll|Help:Magic_words#Behavior_switches|magic word}} can be used to skip the double-redirect fix on a particular page.
<translate>
 
<!--T:44-->
 
However, it tends to aggravate page move vandalism, so it is disabled by default.</translate>
 
<translate>
 
<!--T:45-->
 
The <tvar|static-redir><nowiki>__STATICREDIRECT__</nowiki></> {{Ll|Help:Magic_words#Behavior_switches|magic word}} can be used to skip the double-redirect fix on a particular page.
 
  
 
== A redirect to a page in the category namespace == <!--T:18-->
 
== A redirect to a page in the category namespace == <!--T:18-->
127行目: 62行目:
  
 
<!--T:21-->
 
<!--T:21-->
Users with the ''suppressredirect'' [[<tvar|manual-rights>Special:MyLanguage/Manual:User rights</>|right]] may move a page without creating a redirect.</translate>
+
Users with the ''suppressredirect'' [[<tvar|manual-rights>Special:MyLanguage/Manual:User rights</>|right]] may move a page without creating a redirect. By default this right is assigned to sysops and bots.
<translate>
 
<!--T:46-->
 
By default this right is assigned to sysops and bots.
 
  
 
== See also == <!--T:22-->
 
== See also == <!--T:22-->
142行目: 74行目:
 
* {{ll|Category:Redirect extensions}}
 
* {{ll|Category:Redirect extensions}}
  
[[Category:Help{{translation}}|Redirects]]
+
[[Category:Help{{LangCat|Redirects}}|Redirects]]
[[Category:Redirect{{translation}}]]
 

ひつじ小屋別館2代目への投稿はすべて、他の投稿者によって編集、変更、除去される場合があります。 自分が書いたものが他の人に容赦なく編集されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください(詳細はひつじ小屋別館2代目:著作権を参照)。 著作権保護されている作品は、許諾なしに投稿しないでください!

このページを編集するには、下記の確認用の質問に回答してください (詳細):

取り消し | 編集の仕方 (新しいウィンドウで開きます)