Documentation: Remove paragraph about not creating a 2nd WebRequest
authorwithoutaname <drevitchi@gmail.com>
Sun, 27 Jul 2014 02:27:36 +0000 (19:27 -0700)
committerwithoutaname <drevitchi@gmail.com>
Sun, 27 Jul 2014 02:27:36 +0000 (19:27 -0700)
WebRequest is no longer required to be a singleton for $wgRequest,
thanks to https://gerrit.wikimedia.org/r/144996

Change-Id: Ica629fd28d96f8ee77ee548b0a284abf24b1e780

includes/WebRequest.php

index a1fa0eb..01cf33e 100644 (file)
  * URL or via a POSTed form stripping illegal input characters and
  * normalizing Unicode sequences.
  *
- * Usually this is used via a global singleton, $wgRequest. You should
- * not create a second WebRequest object; make a FauxRequest object if
- * you want to pass arbitrary data to some function in place of the web
- * input.
- *
  * @ingroup HTTP
  */
 class WebRequest {