aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/QueryPage.php10
-rw-r--r--includes/Skin.php14
2 files changed, 12 insertions, 12 deletions
diff --git a/includes/QueryPage.php b/includes/QueryPage.php
index 5b1df4b5cdd3..c453da647f06 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 28fa550435dc..5d39bc38a084 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 .= '<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);