dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab99b52
)
(Follow-up r87705) per CR add docs to function. No code changes.
author
Brian Wolff
<bawolff@users.mediawiki.org>
Thu, 30 Jun 2011 22:47:41 +0000
(22:47 +0000)
committer
Brian Wolff
<bawolff@users.mediawiki.org>
Thu, 30 Jun 2011 22:47:41 +0000
(22:47 +0000)
includes/SpecialPageFactory.php
patch
|
blob
|
history
diff --git
a/includes/SpecialPageFactory.php
b/includes/SpecialPageFactory.php
index
88c549a
..
ade2558
100644
(file)
--- a/
includes/SpecialPageFactory.php
+++ b/
includes/SpecialPageFactory.php
@@
-468,6
+468,10
@@
class SpecialPageFactory {
* Returns false if there was no such special page, or a title object if it was
* a redirect.
*
+ * Also saves the current $wgTitle, $wgOut, and $wgRequest variables so that
+ * the special page will get the context it'd expect on a normal request,
+ * and then restores them to their previous values after.
+ *
* @param $title Title
*
* @return String: HTML fragment