Extension:YandexSiteVerification/en

From Linux Web Expert

MediaWiki extensions manual
Yandex Site Verification
Release status: stable
File:Green check.svg
Implementation Hook
Description Inserts Yandex Site Verification meta tag to pages
Author(s) Dolfinus , Adam Shorland
Latest version 1.0 (2017-02-06)
MediaWiki 1.25+
PHP 5.3+
Database changes No
License MIT License
Download
README

  • $wgYandexVerificationCode
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

MediaWiki extension that adds meta tag for Yandex site owner verification functionality.

Install

  • <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>YandexSiteVerification/en</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'YandexSiteVerification/en' );
    
  • Add $wgYandexVerificationCode variable with a value or your tracking code:
$wgYandexVerificationCode = '0123456789abcdef';

See also