file description page for multi-paged documents.
* (bug 28883) Message names for different compression types commonly
used in Tiff files.
+* When translcuding a special page, do not let it interpret url parameters.
=== API changes in 1.19 ===
* @return String: HTML fragment
*/
static function capturePath( &$title ) {
- global $wgOut, $wgTitle;
+ global $wgOut, $wgTitle, $wgRequest;
$oldTitle = $wgTitle;
$oldOut = $wgOut;
+ $oldRequest = $wgRequest;
+
+ // Don't want special pages interpreting ?feed=atom parameters.
+ $wgRequest = new FauxRequest( array() );
$context = new RequestContext;
$context->setTitle( $title );
+ $context->setRequest( $wgRequest );
$wgOut = $context->getOutput();
$ret = self::executePath( $title, $context, true );
}
$wgTitle = $oldTitle;
$wgOut = $oldOut;
+ $wgRequest = $oldRequest;
return $ret;
}
return null;
}
}
-}
\ No newline at end of file
+}