User "Aaron Schulz" posted a comment on MediaWiki.r96280.
Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96280#c25444
Commit summary:
Add a new RequestContext::newExtraneousContext() to create a context filled
with data not derived from the current session. Also modify setLang to accept a
language code.
Comment:
+ if ( $request instanceof WebRequest ) {
Should that be FauxRequest? Otherwise getIP() and getCookie() functions will be
based on the current session.
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview