Change-Id: I8f9397d05de1c0bae33497d1f9e3146939599380
* /w/index.php?title=Foo_Bar -> /wiki/Foo_Bar
* - Don't redirect anything with query parameters other than 'title' or 'action=view'.
*
+ * @param Title $title
* @return bool True if a redirect was set.
+ * @throws HttpError
*/
- private function tryNormaliseRedirect( $title ) {
+ private function tryNormaliseRedirect( Title $title ) {
$request = $this->context->getRequest();
$output = $this->context->getOutput();