dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
df7ab01
)
Merge "Fixed some doc errors in tryNormaliseRedirect()"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Fri, 28 Aug 2015 09:39:33 +0000
(09:39 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 28 Aug 2015 09:39:33 +0000
(09:39 +0000)
includes/MediaWiki.php
patch
|
blob
|
history
diff --git
a/includes/MediaWiki.php
b/includes/MediaWiki.php
index
ee59263
..
fbacb25
100644
(file)
--- a/
includes/MediaWiki.php
+++ b/
includes/MediaWiki.php
@@
-283,9
+283,11
@@
class MediaWiki {
* /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();