From: Alexandre Emsenhuber Date: Tue, 25 Aug 2009 19:57:35 +0000 (+0000) Subject: * (bug 20380) Link to history/log action at the top of Special:RevisionDelete are... X-Git-Tag: 1.31.0-rc.0~40059 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=0ff930c40f4fb817339fd30a4ea67551691bd87c;p=lhc%2Fweb%2Fwiklou.git * (bug 20380) Link to history/log action at the top of Special:RevisionDelete are new more displayed when when doing log suppression They're useless since they're linking to Special:Log/xxx?action=history, Special:Log?page=Special:Log, etc. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index db7a37d92d..e9ea0498d7 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index cb2447d767..a23455d276 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -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(