We typically recommend against the use of /Foo ($wgArticlePath = "/$1") style pretty urls. But people still use them. We might as well keep a tracking bug open with the bugs that can pop up when you make use of root urls.
More problems are documented here: https://www.mediawiki.org/wiki/Manual:Wiki_in_site_root_directory