http://www.mediawiki.org/wiki/Special:Code/MediaWiki/66746
Revision: 66746 Author: ashley Date: 2010-05-22 11:47:56 +0000 (Sat, 22 May 2010) Log Message: ----------- trim trailing spaces Modified Paths: -------------- trunk/phase3/includes/OutputPage.php Modified: trunk/phase3/includes/OutputPage.php =================================================================== --- trunk/phase3/includes/OutputPage.php 2010-05-22 08:53:38 UTC (rev 66745) +++ trunk/phase3/includes/OutputPage.php 2010-05-22 11:47:56 UTC (rev 66746) @@ -988,7 +988,7 @@ } /** - * Add wikitext with a custom Title object and + * Add wikitext with a custom Title object and * * @param $text String: wikitext * @param $title Title object @@ -1304,13 +1304,13 @@ */ public function getXVO() { $cvCookies = $this->getCacheVaryCookies(); - + $cookiesOption = array(); foreach ( $cvCookies as $cookieName ) { $cookiesOption[] = 'string-contains=' . $cookieName; } $this->addVaryHeader( 'Cookie', $cookiesOption ); - + $headers = array(); foreach( $this->mVaryHeader as $header => $option ) { $newheader = $header; @@ -1319,7 +1319,7 @@ $headers[] = $newheader; } $xvo = 'X-Vary-Options: ' . implode( ',', $headers ); - + return $xvo; } @@ -1554,7 +1554,7 @@ ) ); } } - + if ( $wgJQueryOnEveryPage ) { $this->includeJQuery(); } @@ -2035,8 +2035,8 @@ public function addReturnTo( $title, $query=array(), $text=null ) { global $wgUser; $this->addLink( array( 'rel' => 'next', 'href' => $title->getFullUrl() ) ); - $link = wfMsgHtml( - 'returnto', + $link = wfMsgHtml( + 'returnto', $wgUser->getSkin()->link( $title, $text, array(), $query ) ); $this->addHTML( "<p id=\"mw-returnto\">{$link}</p>\n" ); @@ -2581,7 +2581,7 @@ /** * Include jQuery core. Use this to avoid loading it multiple times - * before we get a usable script loader. + * before we get a usable script loader. * * @param $modules Array: list of jQuery modules which should be loaded * @return Array: the list of modules which were not loaded. _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs