Extension:Add HTML Meta and Title/tr

Category:Unmaintained extensions/tr#Add%20HTML%20Meta%20and%20Title/tr Category:MIT licensed extensions/tr
MediaWiki manüel uzantıları
Add HTML Meta and Title
Sürüm durumu: bakımsızCategory:Unmaintained extensions/tr
Uygulama Etiket Category:Tag extensions/tr
Açıklama MediaWiki ile daha kolay SEO (arama motoru optimizasyonu) sağlar.
Yazar(lar) Jim Wilson, Dennis Roczek (dennisroczekmesaj)
En son sürüm 0.7 (2015-09-29)
MediaWiki 1.24+Category:Extensions with manual MediaWiki version
Veritabanı değişiklikleri Hayır
Lisans MIT Lisansı
İndir Category:Extensions in Wikimedia version control/tr
<seo>
Translatewiki.net adresinde mevcutsa, Add HTML Meta and Title uzantısını çevirin
Category:All extensions/tr

The Add HTML Meta and Title extension allows for easier SEO (search engine optimization) with MediaWiki. It is based in part on the extension MetaKeywordsTag.

Kullanım

When you enter the following in a wiki page:

<seo title="word1,word2" metakeywords="word3,word4" metadescription="word5,word6" google-site-verification="123456789-abfd123456" />

...or the shorter...

<seo title="word1,word2" metak="word3,word4" metad="word5,word6" google-site-verification="123456789-abfd123456" />

...these words are added to the HTML title and meta headers. This makes SEO (search engine optimization) with MediaWiki easier.

For example, the above would become:

<title>word1,word2 - Wiki Name</title>         (the string "word1,word2" replaces page title)
<meta name="keywords" content="word3,word4" />
<meta name="description" content="word5,word6" />
<meta google-site-verification="123456789-abfd123456" />

(These are new meta tags - existing metas are left untouched.)

Kurulum

  • Dosyaları indirin ve extensions/ klasörünüzdeki AddHTMLMetaAndTitle 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/AddHTMLMetaAndTitle
  • LocalSettings.php dosyanızın altına aşağıdaki kodu ekleyin:
    wfLoadExtension( 'AddHTMLMetaAndTitle' );
    
  • Yes Yapıldı – Uzantının başarıyla yüklendiğini doğrulamak için vikinizde Special:Version seçeneğine gidin.

Değişiklik günlüğü

v0.7.0
  • added support for PHP CodeSniffer checks.
  • fixed any remaining errors and warnings.
v0.6.0
  • added Google's site verification tag.
v0.5.1
  • modified to work with MW versions 1.1.2 and up (Revision by Mic)
v0.4.0
  • have put $emt=""; in the parseSEO function because I got some nasty PHP notice for an uninitialized variable...
v0.2.0
  • added htmlspecialchars() as a filter to the text that is displayed in the title and meta - anything else needed to prevent malicious people? I think no. (If you are an English speaker you may want to use the htmlentities PHP function, which is more restrictive.)
v0.1.0
  • Initial version - everything works.

Ayrıca bakınız

Category:HTML head extensions/tr Category:Search engine optimization extensions/tr
Category:All extensions/tr Category:BeforePageDisplay extensions/tr Category:Extensions in Wikimedia version control/tr Category:Extensions with manual MediaWiki version Category:HTML head extensions/tr Category:MIT licensed extensions/tr Category:ParserFirstCallInit extensions/tr Category:Search engine optimization extensions/tr Category:Tag extensions/tr Category:Unmaintained extensions/tr