follow-up change (renaming) core class HttpRequest to MWHttpRequest

Change-Id: I2c44ab3323c6da8f4b787a8fd0e36d451115e92d
This commit is contained in:
Wikinaut 2013-03-04 00:05:06 +01:00
parent 08f2300932
commit 2fa8bc3cd7
3 changed files with 8 additions and 5 deletions

View file

@ -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)

View file

@ -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 <kellan@protest.net> -- 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" );

View file

@ -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,