From: Brian Wolff Date: Thu, 30 Jun 2011 22:47:41 +0000 (+0000) Subject: (Follow-up r87705) per CR add docs to function. No code changes. X-Git-Tag: 1.31.0-rc.0~29135 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=904f84e97c80f3467a7617c1902d32d3f3c3ff80;p=lhc%2Fweb%2Fwiklou.git (Follow-up r87705) per CR add docs to function. No code changes. --- diff --git a/includes/SpecialPageFactory.php b/includes/SpecialPageFactory.php index 88c549a138..ade2558c3f 100644 --- 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