From 733547ca5a96b3792fb210ecf2e6ee32a602c858 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 11 Oct 2005 05:32:51 +0000 Subject: [PATCH] * Fix meta robots tag on Special:Version again to avoid listing vulnerable versions for convenient harvesting by automated worms --- RELEASE-NOTES | 2 ++ includes/SpecialVersion.php | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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() ); } -- 2.20.1