Jump to content

Manual:Plainlinks/ja

From mediawiki.org
This page is a translated version of the page Manual:Plainlinks and the translation is 38% complete.

plainlinks クラスは、通常は外部リンクとともに表示される小さな矢印を除去します。

The MediaWiki CSS class plainlinks is one of several built in classes. It can be used when constructing internal links to special pages that are not otherwise possible.

An example of the use of the plainlinks class within a template would be the following:

<span class="plainlinks">[{{ fullurl: Special:Allpages |namespace={{{1|3}}} }} {{ ns: {{{1|3}}} }}]</span>

結果: User talk

or simply

<span class="plainlinks">https://www.mediawiki.org/w/index.php?title=Special:Allpages&namespace=3</span>

結果: https://www.mediawiki.org/w/index.php?title=Special:Allpages&namespace=3

or even

<span class="plainlinks">[https://www.mediawiki.org/w/index.php?title=Special:Allpages&namespace=3 リンク テキスト]</span>

結果: リンク テキスト

You could also adjust the css file with the correct internal link color #002bb8. Change in "plainlinks a":

#bodyContent .plainlinks a {
	background: none !important;
	padding: 0 !important;
	color: #002bb8 !important;
}
This is a work-around for T13477 and T32883. External links pointing to the internal domain should be recognized as internal links by MediaWiki.