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

Revision: 100294
Author:   reedy
Date:     2011-10-19 23:32:20 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
Fix trailing whitespace

Modified Paths:
--------------
    trunk/extensions/Contest/includes/Contest.class.php
    trunk/extensions/Contest/specials/SpecialContest.php

Modified: trunk/extensions/Contest/includes/Contest.class.php
===================================================================
--- trunk/extensions/Contest/includes/Contest.class.php 2011-10-19 23:31:50 UTC 
(rev 100293)
+++ trunk/extensions/Contest/includes/Contest.class.php 2011-10-19 23:32:20 UTC 
(rev 100294)
@@ -138,7 +138,7 @@
         */
        public function getDefaults() {
                $defaultPage = 'MediaWiki:Contests/';
-               
+
                return array(
                        'name' => '',
                        'status' => self::STATUS_DRAFT,

Modified: trunk/extensions/Contest/specials/SpecialContest.php
===================================================================
--- trunk/extensions/Contest/specials/SpecialContest.php        2011-10-19 
23:31:50 UTC (rev 100293)
+++ trunk/extensions/Contest/specials/SpecialContest.php        2011-10-19 
23:32:20 UTC (rev 100294)
@@ -53,12 +53,12 @@
                }
                else {
                        $out->setPageTitle( wfMsgExt( 'contest-contest-title', 
'parseinline', $contest->getField( 'name' ) ) );
-                       
+
                        $this->displayNavigation();
                        $this->showGeneralInfo( $contest );
                        $this->showMailFunctionality( $contest );
                        $this->showContestants( $contest, $challengeTitle );
-                       
+
                        $out->addModules( 'contest.special.contest' );
                }
        }
@@ -111,31 +111,31 @@
                $stats['name'] = $contest->getField( 'name' );
                $stats['status'] = Contest::getStatusMessage( 
$contest->getStatus() );
                $stats['submissioncount'] = $this->getLang()->formatNum( 
$contest->getField( 'submission_count' ) );
-               
+
                $stats['end'] = wfMsgExt(
                        $contest->getDaysLeft() < 0 ? 
'contest-contest-days-ago' : 'contest-contest-days-left',
                        'parsemag',
                        $this->getLang()->timeanddate( $contest->getField( 
'end' ), true ),
                        $this->getLang()->formatNum( abs( 
$contest->getDaysLeft() ) )
                );
-               
+
                return $stats;
        }
 
        /**
-        * 
-        * 
+        *
+        *
         * @since 0.1
-        * 
+        *
         * @param Contest $contest
         */
        protected function showMailFunctionality( Contest $contest ) {
                $out = $this->getOutput();
 
                $out->addHTML( Html::element( 'h3', array(), wfMsg( 
'contest-contest-reminder-mail' ) ) );
-               
+
                $out->addWikiMsg( 'contest-contest-reminder-page', 
$contest->getField( 'reminder_email' ) );
-               
+
                $out->addHTML( Html::element(
                        'button',
                        array(
@@ -145,7 +145,7 @@
                        ),
                        wfMsg( 'contest-contest-send-reminder' )
                ) );
-               
+
                $out->addHTML( Html::rawElement(
                        'div',
                        array(
@@ -155,7 +155,7 @@
                        ContestUtils::getParsedArticleContent( 
$contest->getField( 'reminder_email' ) )
                ) );
        }
-       
+
        /**
         * Show a paged list of the contestants foe this contest.
         *


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

Reply via email to