ソフトリダイレクト
This article has been adapted from Wikipedia:Soft redirect and Help:Redirect on the English Wikipedia. The English pages have been translated in other languages. When editing or translating this page, consider referring to/ synchronizing with the current versions listed on Wiki-Data: Wikipedia:Soft redirect and Help:Redirect.
ソフトリダイレクトまたはウィキ間リダイレクトは参照先が他のサイト(姉妹プロジェクトを含む)のとき、通常のリダイレクト(「ハード」リダイレクトとも)に代わって使われるリダイレクトである。通常のリダイレクトと違って、ソフトリダイレクトではリダイレクト先に直接移動せずにまず特別なリダイレクトページに転移して、読者はそこでリダイレクトリンクをクリックする必要がある。
通常のリダイレクトと違い、ソフトリダイレクトはウィキのソフトウェア機能ではない。リンクをクリックすると別のウェブサイトに転移するという読者への通知を含むだけのページである。
ソフトリダイレクトはプロジェクト間の移動である場合に多用される。この場合、通常のリダイレクトは推奨されず、ハードリダイレクトは使用できません。(原因としては、URLを直に記述しなければならない、「~から転送」のリンクがないので元のページに戻れない、リンクが無限ループしてしまう恐れ、などがあります。)
例:
- "What links hereはHelp:What links hereへの「ハードリダイレクト」であり、リダイレクト先のページで「(What links hereから転送)」という小さな通知が表示される。
- 一方、Help:What links here自体がMediawiki.org上のmw:Help:What links hereへの「ソフトリダイレクト」である。
ソフトリダイレクトは、新しいページの作成要望としてリンクを作る時にも有効です。赤リンクが普通のリンクと違って目立つように、ソフトリダイレクトへのリンクも、スタブ機能(個人設定の「表示」タブにある「スタブリンク形式として表示する閾値」で有効化できる)を使用すれば、他のリンクと異なって見えます。リダイレクトと赤リンクも参照してください。
他言語版のソフトリダイレクトは、通常の読者にとって有用ではないため、作成すべきではありません。
Soft redirects are intended mostly to point to external websites, where hard redirects will not function. For internal use in general, hard redirects should be used instead.
Another situation where soft redirects are used is when the intended target is a special page, and the system automatically "softens" attempted hard redirects to special pages. For example, en:Wikipedia:List of tags redirects to en:Special:Tags.
カテゴリの「ソフトリダイレクト」
英語版のウィキペディアなどいくつかのウィキでは、en:template:category redirectを適用したカテゴリを、「カテゴリのソフトリダイレクト」と呼んでいます。
テンプレート
- Meta: {{Interwiki redirect}}
- MediaWiki: {{Interwiki redirect}}
- Commons: {{Softredirect}}
- Wikidata: {{Softredirect}}
- Incubator: {{Soft redirect}}
- Wikipedia: {{Soft redirect}}
- Wiktionary: {{Softredirect}}
- Wikisource: {{Softredirect}}
- Wikibooks: {{Softredirect}}
- Wikiquote: {{Softredirect}}
- Wikinews: {{Softredirect}}
- Wikispecies: {{Softredirect}}
- Wikiversity: {{Softredirect}}
- Wikivoyage: {{Soft redirect}}