Disable $wgLegacyJavaScriptGlobals for test2wiki

Bug: 65011
Change-Id: I78f53faa086f0e8fbf28fca066a36500f26338d6
Merge "Disable $wgLegacyJavaScriptGlobals for test2wiki"