From 2fa8bc3cd7ba792a5c9cc7fdd25c6619760aac1a Mon Sep 17 00:00:00 2001 From: Wikinaut Date: Mon, 4 Mar 2013 00:05:06 +0100 Subject: [PATCH] follow-up change (renaming) core class HttpRequest to MWHttpRequest Change-Id: I2c44ab3323c6da8f4b787a8fd0e36d451115e92d --- RELEASE-NOTES | 7 +++++-- RSS.php | 4 ++-- RSSParser.php | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 915c392..cef7f84 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,6 +1,6 @@ RELEASE NOTES of the MediaWiki extension RSS -Version 2.19 20130226 +Version 2.20 20130303 Manual http://www.mediawiki.org/wiki/Extension:RSS @@ -27,7 +27,10 @@ git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/RSS.git The length limitation must be HTML tag-safe, but it is not at the moment. Length limitation is disabled by default. -=== 2.19 2013-02-26 === +=== Version 2.20 2013-03-03 === +* follow-up change (renaming) of Class HttpRequest in core to MWHttpRequest + +=== Version 2.19 2013-02-26 === * (bug 45387) $wgAllowImageTag variable name changed to $wgRSSAllowImageTag * problem that $wgRSSAllowImageTag was ignored (fixed) * (bug 45388) definition of all variables in RSS.php (fixed) diff --git a/RSS.php b/RSS.php index cb86200..eff8cca 100644 --- a/RSS.php +++ b/RSS.php @@ -4,7 +4,7 @@ * * @file * @ingroup Extensions - * @version 2.18 + * @version 2.20 * @author mutante, Daniel Kinzler, Rdb, Mafs, Thomas Gries, Alxndr, Chris Reigrut, K001 * @author Kellan Elliott-McCrea -- author of MagpieRSS * @author Jeroen De Dauw @@ -14,7 +14,7 @@ * @link http://www.mediawiki.org/wiki/Extension:RSS Documentation */ -define( "EXTENSION_RSS_VERSION", "2.19 20130226" ); +define( "EXTENSION_RSS_VERSION", "2.20 20130303" ); if ( !defined( 'MEDIAWIKI' ) ) { die( "This is not a valid entry point.\n" ); diff --git a/RSSParser.php b/RSSParser.php index 7c2d9f7..4144eae 100644 --- a/RSSParser.php +++ b/RSSParser.php @@ -263,7 +263,7 @@ class RSSParser { // we set followRedirects intentionally to true to see error messages // in cases where the maximum number of redirects is reached - $client = HttpRequest::factory( $url, + $client = MWHttpRequest::factory( $url, array( 'timeout' => $wgRSSFetchTimeout, 'followRedirects' => true,