* (bug 20380) Link to history/log action at the top of Special:RevisionDelete are...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 25 Aug 2009 19:57:35 +0000 (19:57 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 25 Aug 2009 19:57:35 +0000 (19:57 +0000)
They're useless since they're linking to Special:Log/xxx?action=history, Special:Log?page=Special:Log, etc.

RELEASE-NOTES
includes/specials/SpecialRevisiondelete.php

index db7a37d..e9ea049 100644 (file)
@@ -434,6 +434,8 @@ this. Was used when mwEmbed was going to be an extension.
   DatabaseBase::getFlag() now have documentation
 * (bug 19966) MediaWiki:License-header is now used for the licensing header in
   the file description page instead of MediaWiki:License
+* (bug 20380) Link to history/log action at the top of Special:RevisionDelete
+  are new more displayed when when doing log suppression
 
 == API changes in 1.16 ==
 
index cb2447d..a23455d 100644 (file)
@@ -183,7 +183,7 @@ class SpecialRevisionDelete extends UnlistedSpecialPage {
        protected function showConvenienceLinks() {
                global $wgOut, $wgUser, $wgLang;
                # Give a link to the logs/hist for this page
-               if( $this->targetObj ) {
+               if( $this->targetObj && $this->targetObj->getNamespace() != NS_SPECIAL ) {
                        $links = array();
                        $logtitle = SpecialPage::getTitleFor( 'Log' );
                        $links[] = $this->skin->linkKnown(