diff options
author | Antoine Musso <hashar@users.mediawiki.org> | 2004-11-13 20:40:28 +0000 |
---|---|---|
committer | Antoine Musso <hashar@users.mediawiki.org> | 2004-11-13 20:40:28 +0000 |
commit | 45060393ea1cc4b94f19e895adf121127508714e (patch) | |
tree | d23b7c169eb5b5838d476f4d59ad014edfe19bcc /includes | |
parent | f174e30565f5f21eb0686d753f4d91164d3cee7f (diff) | |
download | mediawikicore-45060393ea1cc4b94f19e895adf121127508714e.tar.gz mediawikicore-45060393ea1cc4b94f19e895adf121127508714e.zip |
Fix bug http://bugzilla.wikipedia.org/show_bug.cgi?id=705
Stop showing rss / atom feeds links for various special pages.
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/6239
Diffstat (limited to 'includes')
-rw-r--r-- | includes/SpecialAncientpages.php | 2 | ||||
-rw-r--r-- | includes/SpecialBrokenRedirects.php | 1 | ||||
-rw-r--r-- | includes/SpecialCategories.php | 2 | ||||
-rw-r--r-- | includes/SpecialDeadendpages.php | 2 | ||||
-rw-r--r-- | includes/SpecialDisambiguations.php | 1 | ||||
-rw-r--r-- | includes/SpecialDoubleRedirects.php | 1 | ||||
-rw-r--r-- | includes/SpecialListusers.php | 1 | ||||
-rw-r--r-- | includes/SpecialLonelypages.php | 1 | ||||
-rw-r--r-- | includes/SpecialPopularpages.php | 1 | ||||
-rw-r--r-- | includes/SpecialShortpages.php | 1 | ||||
-rwxr-xr-x | includes/SpecialUncategorizedpages.php | 1 | ||||
-rw-r--r-- | includes/SpecialUnusedimages.php | 1 | ||||
-rw-r--r-- | includes/SpecialWantedpages.php | 1 |
13 files changed, 16 insertions, 0 deletions
diff --git a/includes/SpecialAncientpages.php b/includes/SpecialAncientpages.php index 60a42fa95917..f799cc2cb4ff 100644 --- a/includes/SpecialAncientpages.php +++ b/includes/SpecialAncientpages.php @@ -24,6 +24,8 @@ class AncientPagesPage extends QueryPage { function isExpensive() { return parent::isExpensive() ; } + + function isSyndicated() { return false; } function getSQL() { $db =& wfGetDB( DB_SLAVE ); diff --git a/includes/SpecialBrokenRedirects.php b/includes/SpecialBrokenRedirects.php index d717606dcda7..a42415405e03 100644 --- a/includes/SpecialBrokenRedirects.php +++ b/includes/SpecialBrokenRedirects.php @@ -22,6 +22,7 @@ class BrokenRedirectsPage extends PageQueryPage { } function isExpensive( ) { return true; } + function isSyndicated() { return false; } function getPageHeader( ) { #FIXME : probably need to add a backlink to the maintenance page. diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 3b2cac5c6d07..977484bfc972 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -25,6 +25,8 @@ class CategoriesPage extends QueryPage { return false; } + function isSyndicated() { return false; } + function getPageHeader() { return '<p>'.wfMsg('categoriespagetext')."</p><br />\n"; } diff --git a/includes/SpecialDeadendpages.php b/includes/SpecialDeadendpages.php index 9b18bb59966b..2b15db6e2693 100644 --- a/includes/SpecialDeadendpages.php +++ b/includes/SpecialDeadendpages.php @@ -29,6 +29,8 @@ class DeadendPagesPage extends PageQueryPage { function isExpensive( ) { return 1; } + + function isSyndicated() { return false; } /** * @return false diff --git a/includes/SpecialDisambiguations.php b/includes/SpecialDisambiguations.php index 4eaedc3be427..0243e05dac7d 100644 --- a/includes/SpecialDisambiguations.php +++ b/includes/SpecialDisambiguations.php @@ -22,6 +22,7 @@ class DisambiguationsPage extends PageQueryPage { } function isExpensive( ) { return true; } + function isSyndicated() { return false; } function getPageHeader( ) { global $wgUser; diff --git a/includes/SpecialDoubleRedirects.php b/includes/SpecialDoubleRedirects.php index 126ef2be04fb..1f21a3f232ff 100644 --- a/includes/SpecialDoubleRedirects.php +++ b/includes/SpecialDoubleRedirects.php @@ -22,6 +22,7 @@ class DoubleRedirectsPage extends PageQueryPage { } function isExpensive( ) { return true; } + function isSyndicated() { return false; } function getPageHeader( ) { #FIXME : probably need to add a backlink to the maintenance page. diff --git a/includes/SpecialListusers.php b/includes/SpecialListusers.php index bde94bba7347..a44901b390fc 100644 --- a/includes/SpecialListusers.php +++ b/includes/SpecialListusers.php @@ -44,6 +44,7 @@ class ListUsersPage extends QueryPage { function getName() { return "Listusers"; } + function isSyndicated() { return false; } /** * Show a drop down list to select a group as well as a user name diff --git a/includes/SpecialLonelypages.php b/includes/SpecialLonelypages.php index 64c3e001b946..d8d97d81f7af 100644 --- a/includes/SpecialLonelypages.php +++ b/includes/SpecialLonelypages.php @@ -28,6 +28,7 @@ class LonelyPagesPage extends PageQueryPage { function isExpensive() { return true; } + function isSyndicated() { return false; } function getSQL() { $dbr =& wfGetDB( DB_SLAVE ); diff --git a/includes/SpecialPopularpages.php b/includes/SpecialPopularpages.php index 640d7889f013..ca96168aa6d6 100644 --- a/includes/SpecialPopularpages.php +++ b/includes/SpecialPopularpages.php @@ -25,6 +25,7 @@ class PopularPagesPage extends QueryPage { # cur_counter is not indexed return true; } + function isSyndicated() { return false; } function getSQL() { $dbr =& wfGetDB( DB_SLAVE ); diff --git a/includes/SpecialShortpages.php b/includes/SpecialShortpages.php index c854e5510474..3faf4838542c 100644 --- a/includes/SpecialShortpages.php +++ b/includes/SpecialShortpages.php @@ -25,6 +25,7 @@ class ShortPagesPage extends QueryPage { function isExpensive() { return true; } + function isSyndicated() { return false; } function getSQL() { $dbr =& wfGetDB( DB_SLAVE ); diff --git a/includes/SpecialUncategorizedpages.php b/includes/SpecialUncategorizedpages.php index fc58e4566f30..2d56ce9df6c5 100755 --- a/includes/SpecialUncategorizedpages.php +++ b/includes/SpecialUncategorizedpages.php @@ -28,6 +28,7 @@ class UncategorizedPagesPage extends PageQueryPage { function isExpensive() { return true; } + function isSyndicated() { return false; } function getSQL() { $dbr =& wfGetDB( DB_SLAVE ); diff --git a/includes/SpecialUnusedimages.php b/includes/SpecialUnusedimages.php index 574899b7bd62..9a0f25387d10 100644 --- a/includes/SpecialUnusedimages.php +++ b/includes/SpecialUnusedimages.php @@ -20,6 +20,7 @@ class UnusedimagesPage extends QueryPage { function sortDescending() { return false; } + function isSyndicated() { return false; } function getSQL() { $dbr =& wfGetDB( DB_SLAVE ); diff --git a/includes/SpecialWantedpages.php b/includes/SpecialWantedpages.php index 6171022431ce..1a59ae5df9d7 100644 --- a/includes/SpecialWantedpages.php +++ b/includes/SpecialWantedpages.php @@ -24,6 +24,7 @@ class WantedPagesPage extends QueryPage { function isExpensive() { return true; } + function isSyndicated() { return false; } function getSQL() { $dbr =& wfGetDB( DB_SLAVE ); |