Open main menu

Extension:GoogleSiteVerification


Other languages:
English • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
GoogleSiteVerification
Release status: stable
Green check.svg
Implementation Hook
Description Adds Google Site Verification meta tag to pages
Author(s) Adam Shorland (Addshoretalk)
Latest version 0.1.1 (2014-01-20)
MediaWiki 1.19+
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Download
README
  • $wgGoogleVerificationCode
Translate the GoogleSiteVerification extension if it is available at translatewiki.net
Check usage and version matrix.

GoogleSiteVerification inserts the Google Site Verification meta tag into pages.

InstallationEdit

  • Download and place the file(s) in a directory called GoogleSiteVerification in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/GoogleSiteVerification/GoogleSiteVerification.php";
    $wgGoogleVerificationCode = 'KwDrf1TIRRgNQxUF6Nv_PkcpM-gnVFFm28OOAWv2-oo'; // Replace the example code with your website's code!
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.