「テンプレート:Mediawiki/doc」を編集中
この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
3行目: | 3行目: | ||
# (optional) Link description | # (optional) Link description | ||
# (optional) Special. Set this to "yes" for special pages, and the template will link to the local Special page if it exists (otherwise, it will point to mediawiki.org). | # (optional) Special. Set this to "yes" for special pages, and the template will link to the local Special page if it exists (otherwise, it will point to mediawiki.org). | ||
+ | <!-- Compatibility Note: The "mw" prefix is only in the default interwiki prefixes since MediaWiki 1.16 (see mw:Manual:Interwiki#References). If you plan to use this script with an older version, it might be possible or necessary to use the "mediawikiwiki" prefix. --> | ||
{{ #ifeq: | {{ #ifeq: | ||
8行目: | 9行目: | ||
| MediaWiki | | MediaWiki | ||
| This is so that the public domain help pages - which can be freely copied and included in other sites - have correct links to Mediawiki: | | This is so that the public domain help pages - which can be freely copied and included in other sites - have correct links to Mediawiki: | ||
− | * on external sites, it creates an interwiki link to ' | + | * on external sites, it creates an interwiki link to 'mw' (included in the default interwiki table for new installs) |
* on Mediawiki, it creates an internal or interwiki link | * on Mediawiki, it creates an internal or interwiki link | ||
14行目: | 15行目: | ||
==Examples== | ==Examples== | ||
− | *{{tlx| | + | *{{tlx|1=Mediawiki|2=Page_Title}} |
− | *{{tlx| | + | *{{tlx|1=Mediawiki|2=Page_Title|3=text}} |
− | + | ||
− | + | == Demo of interwiki link == | |
− | + | ||
− | < | + | <nowiki>{{mediawiki|m:Help:Calculation|Help:Calculation}}</nowiki> gives either<br /> <nowiki>[[m:Help:Calculation|Help:Calculation]] or [[mw:m:Help:Calculation|Help:Calculation]]</nowiki>. |
− | + | ||
− | + | {{Languages|Template:Mediawiki/doc}} | |
− | + | ||
− | + | <includeonly>[[Category:Info templates|MediaWiki]] | |
− | + | [[Category:Help]]</includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |