mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
XW-1300 | use global properly
This commit is contained in:
parent
17a045e1aa
commit
3bc774edaa
|
@ -132,6 +132,8 @@ class PortableInfoboxRenderServiceHelper {
|
|||
* @return bool
|
||||
*/
|
||||
public function isMercury() {
|
||||
global $wgArticleAsJson;
|
||||
|
||||
return !empty( $wgArticleAsJson );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue