Extension:Link Attributes/tr

Uyarı Uyarı: This extension is often confused with the similarly named Extension:LinkAttributes.
Category:GPL licensed extensions/tr
MediaWiki manüel uzantıları
Link Attributes
Sürüm durumu: kararlıCategory:Stable extensions/tr
Uygulama Ayrıştırıcı işlevi Category:Parser function extensions/tr
Açıklama Bağlantılara rel, rev ve class özellikleri için destek ekler
Yazar(lar) Toby Inkster, Dennis Roczek, Sam Wilson
En son sürüm 1.1
MediaWiki >= 1.35.0
Veritabanı değişiklikleri Hayır
Lisans GNU Genel Kamu Lisansı 2.0 veya üstü
İndir Category:Extensions in Wikimedia version control/tr
Translatewiki.net adresinde mevcutsa, Link Attributes uzantısını çevirin
Category:All extensions/tr

Bu uzantı, bağlantılarda rel, rev ve class özellikleri için destek ekler:

  • rel – Bağlantılı URL'nin boşlukla ayrılmış bağlantı türleri olarak ilişkisi.
  • rev – Ters bağlantı belirtildi; rel özniteliğinin tersi. Çok kafa karıştırıcı olduğu için kullanımdan kaldırıldı.
  • class – A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements.

Kullanım

The syntax is a little unorthodox. To set the rel attribute, place one or more tokens in double-parentheses at the end of the link title. e.g.:

  [http://tobyinkster.co.uk/ My website((me home))]

The above would be converted to the following link:

  <a href="http://tobyinkster.co.uk/" rel="me home" class="external">My website</a>

To set the class attribute, the same syntax is used, but tokens which represent classes are prefixed with a dot:

  [http://tobyinkster.co.uk/ My website((me .class1 home .class2))]

Becomes:

  <a href="http://tobyinkster.co.uk/" rel="me home" class="external class1 class2">My website</a>

Similarly, prefixing with a tilde (~) sets the rev attribute.

Tokens may be prefixed by a minus sign (-) to indicate that you don't want to add the token, but remove it. For example:

  [http://tobyinkster.co.uk/ My website((me -.external home))]

Becomes:

  <a href="http://tobyinkster.co.uk/" rel="me home">My website</a>

The "nofollow" rel token is considered untouchable though.

Kurulum

  • Dosyaları indirin ve extensions/ klasörünüzdeki Link_Attributes adlı dizine yerleştirin.
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Link_Attributes
    
  • LocalSettings.php dosyanızın altına aşağıdaki kodu ekleyin:
    wfLoadExtension( 'Link_Attributes' );
    
  • Yes Yapıldı – Uzantının başarıyla yüklendiğini doğrulamak için vikinizde Special:Version seçeneğine gidin.

Ayrıca bakınız

Category:All extensions/tr Category:Extensions in Wikimedia version control/tr Category:GPL licensed extensions/tr Category:HtmlPageLinkRendererEnd extensions/tr Category:LinkerMakeExternalLink extensions/tr Category:Parser function extensions/tr Category:Stable extensions/tr