From: Arne Heizmann Date: Fri, 3 Sep 2004 21:22:20 +0000 (+0000) Subject: remove trailing white space X-Git-Tag: 1.5.0alpha1~2128 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=73466f61ee6be0fffb275fae974df6ddc81f57de;p=lhc%2Fweb%2Fwiklou.git remove trailing white space --- diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 5b1df4b5cd..c453da647f 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -15,7 +15,7 @@ require_once ( 'Feed.php' ); * */ class QueryPage { - + /** * Subclasses return their name here. Make sure the name is also * specified in SpecialPage.php and in Language.php as a language message @@ -27,7 +27,7 @@ class QueryPage { /** * Subclasses return an SQL query here. - * + * * Note that the query itself should return the following four columns: * 'type' (your special page's name), 'namespace', 'title', and 'value' * *in that order*. 'value' is used for sorting. @@ -74,7 +74,7 @@ class QueryPage { function formatResult( $skin, $result ) { return ''; } - + /** * The content returned by this function will be output before any result */ @@ -152,14 +152,14 @@ class QueryPage { } } if ( $res === false ) { - $res = $dbr->query( $sql . $this->getOrder() . + $res = $dbr->query( $sql . $this->getOrder() . $dbr->limitResult( $limit,$offset ), $fname ); $num = $dbr->numRows($res); } $sk = $wgUser->getSkin( ); - + $wgOut->addHTML( $this->getPageHeader() ); $top = wfShowingResults( $offset, $num); diff --git a/includes/Skin.php b/includes/Skin.php index 28fa550435..5d39bc38a0 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -104,7 +104,7 @@ class Skin { function getStylesheet() { return 'wikistandard.css'; } - + function getSkinName() { return 'standard'; } @@ -230,7 +230,7 @@ class Skin { $s .= $this->doGetUserStyles(); return $s."\n"; } - + /** * placeholder, returns generated js in monobook */ @@ -457,7 +457,7 @@ class Skin { # of categories an article belong to if($wgUseCategoryBrowser) { $s .= '

'; - + # get a big array of the parents tree $parenttree = $wgTitle->getCategorieBrowser(); @@ -481,7 +481,7 @@ class Skin { } return $return; } - + $s .= walkThrough($parenttree); } @@ -2553,10 +2553,10 @@ class Skin { * comments. It escapes any HTML in the comment, but adds some CSS to format * auto-generated comments (from section editing) and formats [[wikilinks]]. * - * The &$title parameter must be a title OBJECT. It is used to generate a + * The &$title parameter must be a title OBJECT. It is used to generate a * direct link to the section in the autocomment. * @author Erik Moeller - * + * * Note: there's not always a title to pass to this function. * Since you can't set a default parameter for a reference, I've turned it * temporarily to a value pass. Should be adjusted further. --brion @@ -2576,7 +2576,7 @@ class Skin { $link=''; if($title) { $section=$auto; - + # This is hackish but should work in most cases. $section=str_replace('[[','',$section); $section=str_replace(']]','',$section);