Parser: Call firstCallInit() in getTags/getFunctionHooks
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 14 Aug 2018 05:49:53 +0000 (22:49 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Tue, 14 Aug 2018 21:16:42 +0000 (14:16 -0700)
commitb7b8f214bb788c57ed1cc5ce70974f1a71df844c
tree13df1f6913aa07d843e34c29a410f2882f5914fa
parente8370d69779881d7f9a2baa0d9af64497c29df35
Parser: Call firstCallInit() in getTags/getFunctionHooks

So callers don't need to do this manually. Pointed out by Tim in T201799.

Depends-On: Ia6c36d5a650095e35093bf47e275e081e89b3daf
Change-Id: Ida62767f3ca53f99609cae01d3a20051bb92ccab
includes/api/ApiQuerySiteinfo.php
includes/parser/Parser.php
tests/phpunit/includes/api/ApiQuerySiteinfoTest.php