MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
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

  • $wgGoogleVerificationCode

GoogleSiteVerification inserts the Google Site Verification meta tag into pages.


  • 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.