Manual:$wgUsePathInfo/pt-br

Detalhes
Se desejar usar URLs "bonitas" (ou URLs curtas), ou seja,

Substitua este item para false se contiver inesperadamente texto incorreto, ou para true se for realmente correto. 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.