Translations:Manual:$wgUsePathInfo/14/en

It's highly recommended to set its value in LocalSettings.php to prevent inconsistencies between web requests and scripts run from the command line, where the value may change between them.