Adjust $wgLoadScript adjustment

Change-Id: I3499b3ae9a293ce03ecaf299c4ede2b576e6eea9
Merge "Adjust $wgLoadScript adjustment"