Page MenuHomePhabricator

[Extension:HostStats] Remove the usage of global variable $wgUser, $wgOut
Closed, ResolvedPublic



Now we are replacing the global variable by getting the context. The Classes which extends SpecialPage can directly access the context by $this.


Replace $wgUser with $this->getUser() and remove unused $wgOut in SpecialHostStats.php.



Reserved for Mini-MWT at VVIT (Feb 2019)

Event Timeline

Restricted Application added a project: User-Jayprakash12345. · View Herald TranscriptFeb 18 2019, 10:55 AM

Change 492439 had a related patch set uploaded (by SuswethaK; owner: SuswethaK):
[mediawiki/extensions/HostStats@master] Removed the usage of global variable $wgUser, $wgOut

Change 492439 merged by jenkins-bot:
[mediawiki/extensions/HostStats@master] Removed the usage of global variable $wgUser, $wgOut

Jayprakash12345 closed this task as Resolved.Feb 24 2019, 2:01 PM
Jayprakash12345 removed a project: Patch-For-Review.