Fix http://bugzilla.wikipedia.org/show_bug.cgi?id=490 Implement a header in Special...
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 22 Sep 2004 00:58:41 +0000 (00:58 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 22 Sep 2004 00:58:41 +0000 (00:58 +0000)
includes/SpecialCategories.php
languages/Language.php

index 248ea64..9be3d1c 100644 (file)
@@ -25,6 +25,9 @@ class CategoriesPage extends QueryPage {
                return false;
        }
 
+       function getPageHeader() {
+               return '<p>'.wfMsg('categoriespagetext')."</p><br>\n";
+       }
        function getSQL() {
                $NScat = NS_CATEGORY;
                $dbr =& wfGetDB( DB_SLAVE );
index f5a7107..2d04101 100644 (file)
@@ -1013,6 +1013,8 @@ That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
 a direct URL, and so may still be listed here despite being
 in active use.',
 'booksources'  => 'Book sources',
+'categoriespagetext' => 'The following categories exists in the wiki.',
+
 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
 'booksourcetext' => "Below is a list of links to other sites that
 sell new and used books, and may also have further information