Manual:$wgUsePathInfo

Details
Whether to use 'pretty' URLs (or short>Special:MyLanguage/Manual:Short URL|Short URL), e.g.  

Override this to false if   contains unexpectedly incorrect garbage, or to true if it is really correct.