Jump to content

Extension:YandexSiteVerification

From mediawiki.org
MediaWiki extensions manual
Yandex Site Verification
Release status: stable
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

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

Install

  • Download and place the file(s) in a directory called YandexSiteVerification in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'YandexSiteVerification' );
    
  • Add $wgYandexVerificationCode variable with a value or your tracking code:
$wgYandexVerificationCode = '0123456789abcdef';
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also