Fix whitespace
authorSam Reed <reedy@users.mediawiki.org>
Wed, 7 Sep 2011 21:14:55 +0000 (21:14 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 7 Sep 2011 21:14:55 +0000 (21:14 +0000)
Swap xor for ^

Documentation

RELEASE-NOTES-1.19
includes/api/ApiMain.php
includes/logging/LogFormatter.php
includes/specials/SpecialUserlogin.php
maintenance/namespaceDupes.php

index 1e7528d..1d1c5a5 100644 (file)
@@ -76,7 +76,7 @@ production.
   warnings/notices to be thrown.
 * (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs are
   used
-* (bug 28649) Avoiding half truncated multi-byte unicode characters when 
+* (bug 28649) Avoiding half truncated multi-byte unicode characters when
   truncating log comments.
 * Show --batch-size option in help of maintenance scripts that support it
 * (bug 4381) Magic quotes cleaning was not comprehensive, key strings were not
index e45ba85..a88a0a5 100644 (file)
@@ -428,7 +428,7 @@ class ApiMain extends ApiBase {
                                return;
                        } // else no XVO and anonymous, send public headers below
                }
-               
+
                // Send public headers
                if ( $wgVaryOnXFPForAPI ) {
                        $response->header( 'Vary: Accept-Encoding, X-Forwarded-Proto' );
index e9b01ef..a036248 100644 (file)
@@ -56,7 +56,9 @@ class LogFormatter {
 
        // Nonstatic->
 
-       /// @var LogEntry
+       /**
+        * @var LogEntry
+        */
        protected $entry;
 
        /// Whether to output user tool links
index 5527086..73bdd3c 100644 (file)
@@ -377,7 +377,7 @@ class LoginForm extends SpecialPage {
                        return false;
                }
 
-               // Hook point to check for exempt from account creation throttle        
+               // Hook point to check for exempt from account creation throttle
                if ( !wfRunHooks( 'exemptFromAccountCreationThrottle', array( $ip ) ) ) {
                        wfDebug( "LoginForm::exemptFromAccountCreationThrottle: a hook allowed account creation w/o throttle\n" );
                } else {
@@ -780,7 +780,6 @@ class LoginForm extends SpecialPage {
         * @param $emailTitle String: message name of email title
         * @param $emailText String: message name of email text
         * @return Status object
-        * @private
         */
        function mailPasswordInternal( $u, $throttle = true, $emailTitle = 'passwordremindertitle', $emailText = 'passwordremindertext' ) {
                global $wgServer, $wgScript, $wgUser, $wgNewPasswordExpiry, $wgRequest;
index b883ea6..08783d7 100644 (file)
 require_once( dirname( __FILE__ ) . '/Maintenance.php' );
 
 class NamespaceConflictChecker extends Maintenance {
+
+       /**
+        * @var DatabaseBase
+        */
+       protected $db;
+
        public function __construct() {
                parent::__construct();
                $this->mDescription = "";
@@ -183,6 +189,8 @@ class NamespaceConflictChecker extends Maintenance {
         *
         * @param $ns Integer: namespace id (id for new namespace?)
         * @param $name String: prefix that is being made a namespace
+        *
+        * @return array
         */
        private function getConflicts( $ns, $name ) {
                $page  = 'page';
@@ -217,6 +225,8 @@ class NamespaceConflictChecker extends Maintenance {
 
        /**
         * Report any conflicts we find
+        *
+        * @return bool
         */
        private function reportConflict( $row, $suffix ) {
                $newTitle = Title::makeTitleSafe( $row->namespace, $row->title );