remove trailing white space
authorArne Heizmann <timwi@users.mediawiki.org>
Fri, 3 Sep 2004 21:22:20 +0000 (21:22 +0000)
committerArne Heizmann <timwi@users.mediawiki.org>
Fri, 3 Sep 2004 21:22:20 +0000 (21:22 +0000)
includes/QueryPage.php
includes/Skin.php

index 5b1df4b..c453da6 100644 (file)
@@ -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);
index 28fa550..5d39bc3 100644 (file)
@@ -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 .= '<br/><hr/>';
-                       
+
                        # 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 <moeller@scireview.de>
-        * 
+        *
         * 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);