PLA-597 -- fix wiki result match image on community

So on regular cross-wiki search, the wgExtensionsPath variable works fine without a global declaration, but when using this template for a cross-wiki match on on-wiki search, the wgExtensionsPath needs to be explicitly declared as global. Seems weird, but it's a simple fix that addresses the functional issue.