Problem: Now we are replacing the global variable by getting the context. The Classes which extends SpecialPage can directly access the context by $this.
- $wgUser with $this->getUser()
- $wgRequest with $this->getRequest()
- $wgOut with $this->getOutput()
in SpecialPatroller.php. If there are multiple usage then use variable to store context instead of calling $this again and again.
Reserved for Mini-MWT at VVIT (Feb 2019)