From: Brion Vibber Date: Tue, 11 Oct 2005 05:32:51 +0000 (+0000) Subject: * Fix meta robots tag on Special:Version again to avoid listing vulnerable X-Git-Tag: 1.6.0~1471 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=733547ca5a96b3792fb210ecf2e6ee32a602c858;p=lhc%2Fweb%2Fwiklou.git * Fix meta robots tag on Special:Version again to avoid listing vulnerable versions for convenient harvesting by automated worms --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4c7e8ffe88..2296c25cdd 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -135,6 +135,8 @@ fully support the editing toolbar, but was found to be too confusing. * (bug 3643) Fix image page display of large images with resizing disabled * (bug 3334) Namespace changes for Polish * (bug 3660) Update diff3 detection to work with Windows/Cygwin +* Fix meta robots tag on Special:Version again to avoid listing vulnerable + versions for convenient harvesting by automated worms === Caveats === diff --git a/includes/SpecialVersion.php b/includes/SpecialVersion.php index 3ef0e67a34..a249a59cb4 100644 --- a/includes/SpecialVersion.php +++ b/includes/SpecialVersion.php @@ -36,7 +36,6 @@ class SpecialVersion { function execute() { global $wgOut; - $wgOut->setRobotpolicy( 'index,follow' ); $wgOut->addWikiText( $this->MediaWikiCredits() . $this->extensionCredits() . $this->wgHooks() ); $wgOut->addHTML( $this->IPInfo() ); }