From: Alexandre Emsenhuber Date: Mon, 13 Dec 2010 19:47:34 +0000 (+0000) Subject: Removed trailing whitespaces X-Git-Tag: 1.31.0-rc.0~33336 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=1b1cd0a8bc3faa3143b5d5e5fad14362e64b6d30;p=lhc%2Fweb%2Fwiklou.git Removed trailing whitespaces --- diff --git a/includes/Article.php b/includes/Article.php index 4fbcca30a6..758c451ced 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -126,7 +126,7 @@ class Article { $this->insertRedirectEntry( $retval ); return $retval; } - + /** * Insert or update the redirect table entry for this page to indicate * it redirects to $rt . @@ -166,7 +166,7 @@ class Article { // recurse through to only get the final target return $this->getRedirectURL( Title::newFromRedirectRecurse( $text ) ); } - + /** * Get the Title object or URL to use for a redirect. We use Title * objects for same-wiki, non-special redirects and URLs for everything @@ -966,11 +966,11 @@ class Article { if ( $oldid === $this->getLatest() && $this->useParserCache( false ) ) { $this->mParserOutput = $parserCache->get( $this, $parserOptions ); if ( $this->mParserOutput ) { - wfDebug( __METHOD__ . ": showing parser cache for current rev permalink\n" ); + wfDebug( __METHOD__ . ": showing parser cache for current rev permalink\n" ); $wgOut->addParserOutput( $this->mParserOutput ); $wgOut->setRevisionId( $this->mLatest ); $outputDone = true; - break; + break; } } } @@ -1005,7 +1005,7 @@ class Article { $this->checkTouched(); $key = $parserCache->getKey( $this, $parserOptions ); $poolArticleView = new PoolWorkArticleView( $this, $key, $useParserCache, $parserOptions ); - + if ( !$poolArticleView->execute() ) { # Connection or timeout error wfProfileOut( __METHOD__ ); @@ -1482,10 +1482,10 @@ class Article { if ( !$this->isCurrent() || $wgOut->isPrintable() ) { $parserOptions->setEditSection( false ); } - + $useParserCache = $this->useParserCache( $oldid ); $this->outputWikiText( $this->getContent(), $useParserCache, $parserOptions ); - + return true; } @@ -1501,12 +1501,12 @@ class Article { global $wgOut; $parserCache = ParserCache::singleton(); $options = clone $this->getParserOptions(); - + if ( $wgOut->isPrintable() ) { $options->setIsPrintable( true ); $options->setEditSection( false ); } - + $output = $parserCache->getDirty( $this, $options ); if ( $output ) { @@ -1570,7 +1570,7 @@ class Article { } } - $imageUrl = $wgStylePath . '/common/images/redirect' . $imageDir . '.png'; + $imageUrl = $wgStylePath . '/common/images/redirect' . $imageDir . '.png'; return '
' . Html::element( 'img', array( 'src' => $imageUrl, 'alt' => '#REDIRECT' ) ) . '' . $link . '
'; @@ -1675,7 +1675,7 @@ class Article { $form = Html::openElement( 'form', $formParams ); $form .= Xml::submitButton( wfMsg( 'confirm_purge_button' ) ); $form .= Html::closeElement( 'form' ); - + $wgOut->addHTML( $form ); $wgOut->addWikiMsg( 'confirm-purge-bottom' ); @@ -4334,7 +4334,7 @@ class Article { */ public static function getAutosummary( $oldtext, $newtext, $flags ) { global $wgContLang; - + # Decide what kind of autosummary is needed. # Redirect autosummaries @@ -4448,7 +4448,7 @@ class Article { $this->mParserOptions->enableLimitReport(); } - // Clone to allow modifications of the return value without affecting + // Clone to allow modifications of the return value without affecting // the cache return clone $this->mParserOptions; } @@ -4573,7 +4573,7 @@ class Article { * consider, so it's not appropriate to use there. * * @since 1.16 (r52326) for LiquidThreads - * + * * @param $oldid mixed integer Revision ID or null */ public function getParserOutput( $oldid = null ) { @@ -4622,21 +4622,21 @@ class Article { class PoolWorkArticleView extends PoolCounterWork { private $mArticle; - + function __construct( $article, $key, $useParserCache, $parserOptions ) { parent::__construct( 'ArticleView', $key ); $this->mArticle = $article; $this->cacheable = $useParserCache; $this->parserOptions = $parserOptions; } - + function doWork() { return $this->mArticle->doViewParse(); } - + function getCachedWork() { global $wgOut; - + $parserCache = ParserCache::singleton(); $this->mArticle->mParserOutput = $parserCache->get( $this->mArticle, $this->parserOptions ); @@ -4650,21 +4650,21 @@ class PoolWorkArticleView extends PoolCounterWork { } return false; } - + function fallback() { return $this->mArticle->tryDirtyCache(); } - + function error( $status ) { global $wgOut; $wgOut->clearHTML(); // for release() errors $wgOut->enableClientCache( false ); $wgOut->setRobotPolicy( 'noindex,nofollow' ); - + $errortext = $status->getWikiText( false, 'view-pool-error' ); $wgOut->addWikiText( '
' . $errortext . '
' ); - + return false; } }