From 0cd9da4a37fbdd5fedfa417d53f0fec908e3207a Mon Sep 17 00:00:00 2001 From: Rob Church Date: Fri, 28 Apr 2006 18:19:18 +0000 Subject: [PATCH] Remove unneeded extra whitespace at top of Special:Categories --- RELEASE-NOTES | 1 + includes/SpecialCategories.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index fb711c4fa7..abe675ddda 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -132,6 +132,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 5005): Fix XHTML output. * (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date). * (bug 4825): note in DefaultSettings.php about 'profiling' table creation +* Remove unneeded extra whitespace at top of Special:Categories == Compatibility == diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 32ec179641..ccfd369e6b 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -28,8 +28,9 @@ class CategoriesPage extends QueryPage { function isSyndicated() { return false; } function getPageHeader() { - return wfMsgWikiHtml('categoriespagetext') . "
\n"; + return wfMsgWikiHtml( 'categoriespagetext' ); } + function getSQL() { $NScat = NS_CATEGORY; $dbr =& wfGetDB( DB_SLAVE ); -- 2.20.1