Adding some type documentation to some well used globals
authorSam Reed <reedy@users.mediawiki.org>
Thu, 24 Mar 2011 00:48:22 +0000 (00:48 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 24 Mar 2011 00:48:22 +0000 (00:48 +0000)
includes/DefaultSettings.php
includes/Setup.php

index 7d3e14a..13d443a 100644 (file)
@@ -4618,6 +4618,7 @@ $wgExtensionCredits = array();
 
 /**
  * Authentication plugin.
+ * @var AuthPlugin
  */
 $wgAuth = null;
 
index 9a217ed..fce5941 100644 (file)
@@ -366,8 +366,20 @@ $wgContLang = new StubContLang;
 // Now that variant lists may be available...
 $wgRequest->interpolateTitle();
 $wgUser = $wgCommandLineMode ? new User : User::newFromSession();
+
+/**
+ * @var Language
+ */
 $wgLang = new StubUserLang;
+
+/**
+ * @var OutputPage
+ */
 $wgOut = new StubObject( 'wgOut', 'OutputPage' );
+
+/**
+ * @var Parser
+ */
 $wgParser = new StubObject( 'wgParser', $wgParserConf['class'], array( $wgParserConf ) );
 
 if ( !is_object( $wgAuth ) ) {