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()
- $wgLang with $this->getLanguage()
- $wgOut with $this->getOutput()
in MassEditRegex.special.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)