X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fcontext%2FIContextSource.php;h=58bf5d985ec2edb5a689a9ca5f9039847c60e3a9;hp=66df7fc659c4b5253f56b28741d61d0b373f4ce4;hb=59ebff658ce912c1b0e7ef8d8f9bfec5a4e17b39;hpb=3823118cd82f95c0c81675e459b3d217a63540f4 diff --git a/includes/context/IContextSource.php b/includes/context/IContextSource.php index 66df7fc659..58bf5d985e 100644 --- a/includes/context/IContextSource.php +++ b/includes/context/IContextSource.php @@ -29,7 +29,8 @@ * The contained objects include: * a) Key objects that depend (for construction/loading) on the HTTP request * b) Key objects used for response building and PHP session state control - * c) The site configuration object + * c) Performance metric deltas accumulated from request execution + * d) The site configuration object * All of the objects are useful for the vast majority of MediaWiki requests. * The site configuration object is included on grounds of extreme * utility, even though it should not actually depend on the web request. @@ -40,7 +41,8 @@ * c) Primary MediaWiki output builder objects (OutputPage, user skin object) * d) The language object for the user/request * e) The title and wiki page objects requested via URL (if any) - * f) The site configuration object + * f) Performance metric deltas accumulated from request execution + * g) The site configuration object * * This class is not intended as a service-locator nor a service singleton. * Objects that only depend on site configuration do not belong here (aside @@ -130,8 +132,9 @@ interface IContextSource { public function getStats(); /** - * Get a Message object with context set + * Get a Message object with context set. See wfMessage for parameters. * + * @param mixed ... * @return Message */ public function msg();