* Implement MW_VERSION constant in Defines.php and use it in preference to $wgVersion...
[lhc/web/wiklou.git] / includes / OutputPage.php
index 640b4a3..2c8bb23 100644 (file)
@@ -2683,7 +2683,7 @@ class OutputPage {
         */
        public function getHeadLinks( Skin $sk, $addContentType = false ) {
                global $wgUniversalEditButton, $wgFavicon, $wgAppleTouchIcon, $wgEnableAPI,
-                       $wgSitename, $wgVersion, $wgHtml5, $wgMimeType,
+                       $wgSitename, $wgHtml5, $wgMimeType,
                        $wgFeed, $wgOverrideSiteFeed, $wgAdvertisedFeedTypes,
                        $wgEnableDublinCoreRdf, $wgEnableCreativeCommonsRdf,
                        $wgDisableLangConversion, $wgCanonicalLanguageLinks, $wgContLang,
@@ -2710,7 +2710,7 @@ class OutputPage {
 
                $tags[] = Html::element( 'meta', array(
                        'name' => 'generator',
-                       'content' => "MediaWiki $wgVersion",
+                       'content' => "MediaWiki " . MW_VERSION,
                ) );
 
                $p = "{$this->mIndexPolicy},{$this->mFollowPolicy}";