http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100190

Revision: 100190
Author:   reedy
Date:     2011-10-18 23:58:30 +0000 (Tue, 18 Oct 2011)
Log Message:
-----------
Fix typo

Trim trailing whitespace

Modified Paths:
--------------
    trunk/extensions/Contest/Contest.settings.php
    trunk/extensions/Contest/test/ContestValidationTests.php

Modified: trunk/extensions/Contest/Contest.settings.php
===================================================================
--- trunk/extensions/Contest/Contest.settings.php       2011-10-18 23:56:32 UTC 
(rev 100189)
+++ trunk/extensions/Contest/Contest.settings.php       2011-10-18 23:58:30 UTC 
(rev 100190)
@@ -21,9 +21,9 @@
        /**
         * Returns the default values for the settings.
         * setting name (string) => setting value (mixed)
-        * 
+        *
         * @since 0.1
-        * 
+        *
         * @return array
         */
        protected static function getDefaultSettings() {
@@ -39,9 +39,9 @@
         * Retruns an array with all settings after making sure they are
         * initialized (ie set settings have been merged with the defaults).
         * setting name (string) => setting value (mixed)
-        * 
+        *
         * @since 0.1
-        * 
+        *
         * @return array
         */
        public static function getSettings() {
@@ -59,21 +59,21 @@
 
        /**
         * Gets the value of the specified setting.
-        * 
+        *
         * @since 0.1
-        * 
+        *
         * @param string $settingName
-        * 
+        *
         * @throws MWException
         * @return mixed
         */
        public static function get( $settingName ) {
                $settings = self::getSettings();
-               
+
                if ( !array_key_exists( $settingName, $settings ) ) {
                        throw new MWException( 'Attempt to get non-existing 
setting "' . $settingName . '"' );
                }
-               
+
                return $settings[$settingName];
        }
 

Modified: trunk/extensions/Contest/test/ContestValidationTests.php
===================================================================
--- trunk/extensions/Contest/test/ContestValidationTests.php    2011-10-18 
23:56:32 UTC (rev 100189)
+++ trunk/extensions/Contest/test/ContestValidationTests.php    2011-10-18 
23:58:30 UTC (rev 100190)
@@ -33,8 +33,8 @@
                        
'https://gitorious.org/statusnet/mainline/merge_requests/2224' => true,
                );
 
-               foreach ( $tests as $test => $isValdid ) {
-                       if ( $isValdid ) {
+               foreach ( $tests as $test => $isValid ) {
+                       if ( $isValid ) {
                                $this->assertEquals( true, 
SpecialMyContests::validateSubmissionField( $test ) );
                        }
                        else {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to