Jump to content

Help:Self link/yo

From mediawiki.org
This page is a translated version of the page Help:Self link and the translation is 18% complete.
PD "Àkíyèsí" nígbàtí o bá ṣe àyípadà sí ojú-ewé yìí, ó túmọ̀ sí wípé o fara mọ́ jíjọ̀wọ́ iṣẹ́ àfikún rẹ sílẹ̀ lábẹ́ CC0. Ẹ wo Ìràọ́wọ́ Ojú-ewé Àwùjọ fún ẹ̀kúnrẹ́rẹ́ alàyé. PD

A self link is a wikilink which targets the page where it is placed. To avoid any confusion, a self-link is not clickable: the text is only bolded (but still represented as a ‎<a>...‎</a> tag[1]). If the preference to underline links is set, self links are still underlined, unless this is explicitly disabled by the following CSS:

 .mw-selflink { text-decoration: none !important; }

Apẹẹrẹ:

Utility

In templates transcluded on several pages (typically navigational templates), a link can usefully become a self link when the template is transcluded on the link target page. This avoids the reader believing they will see another page when clicking on it.

Some kinds of self links are clickable, because they are not a simple internal link with direct target.

Full URL

If you use external link syntax, providing the full URL of the page, the link is always clickable.

E.g. [//www.mediawiki.org/wiki/Help:Self_link/yo abc] gives abc

If you link to a page which redirects to the current page, the link remains clickable and not bolded.

If the target contains a fragment, even if the link targets the current section, it remains clickable and not bolded.

E.g. [[Help:Self link/yo#Link to a local section]] gives Help:Self link/yo#Link to a local section.

References