Manual:$wgScript/ja

詳細
index.php の URL であり、DOCUMENT_ROOT からの相対パスです.

is defined relative to $wgScript. If you redefine this in your then you must also make sure you update.