Manual:$wgScript/ru

Детали
The URL of index.php, relative to DOCUMENT_ROOT.

определяется по отношению к. If you redefine this in your then you must also make sure you update.