* (bug 12536) User should be able to get MediaWiki version from any page
authorVictor Vasiliev <vasilievvv@users.mediawiki.org>
Mon, 14 Jan 2008 18:42:39 +0000 (18:42 +0000)
committerVictor Vasiliev <vasilievvv@users.mediawiki.org>
Mon, 14 Jan 2008 18:42:39 +0000 (18:42 +0000)
* (bug 12622) A JavaScript constant to declare whether api.php is available

RELEASE-NOTES
includes/Skin.php

index a41b3c2..1657d6b 100644 (file)
@@ -129,7 +129,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Added exception hooks
 * (bug 12574) Allow bots to specify whether an edit should be marked as a bot
   edit, via the parameter 'bot'. (Default: '1')
-* (bug 12611) Bot flag ignored in recent changes
+* (bug 12536) User should be able to get MediaWiki version from any page
+* (bug 12622) A JavaScript constant to declare whether api.php is available
  
 
 === Bug fixes in 1.12 ===
@@ -308,6 +309,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   This should help prevent infinite link loops that some software may follow,
   and will generally keep feed behavior cleaner.
 * (bug 12608) Unifying the spelling of getDBkey() in the code.
+* (bug 12611) Bot flag ignored in recent changes
 
 
 == Parser changes in 1.12 ==
index 64d8b3e..e693f92 100644 (file)
@@ -298,6 +298,7 @@ class Skin extends Linker {
                global $wgTitle, $wgCanonicalNamespaceNames, $wgOut, $wgArticle;
                global $wgBreakFrames, $wgRequest;
                global $wgUseAjax, $wgAjaxWatch;
+               global $wgVersion, $wgEnableAPI, $wgEnableWriteAPI;
 
                $ns = $wgTitle->getNamespace();
                $nsname = isset( $wgCanonicalNamespaceNames[ $ns ] ) ? $wgCanonicalNamespaceNames[ $ns ] : $wgTitle->getNsText();
@@ -325,6 +326,9 @@ class Skin extends Linker {
                        'wgContentLanguage' => $wgContLang->getCode(),
                        'wgBreakFrames' => $wgBreakFrames,
                        'wgCurRevisionId' => isset( $wgArticle ) ? $wgArticle->getLatest() : 0,
+                       'wgVersion' => $wgVersion,
+                       'wgEnableAPI' => $wgEnableAPI,
+                       'wgEnableWriteAPI' => $wgEnableWriteAPI,
                );
 
                global $wgLivePreview;