Board Thread:Watercooler/@comment-24757753-20171113135811/@comment-24757753-20180228232707

Yep, using  is the best option.

The global variables only exist for legacy reasons - using them in newer versions of MediaWiki outputs a console message recommending  instead. There's a bit more info at the MediaWiki wiki.