For MediaWiki (recent comments | status changes | tags | authors | states | release notes | statistics)
That revision made basePath always null. Fixed with r110926
The change in the foreach loop is broken since rtrim does not work by reference.