I'd appreciate some feedback on this enhancement to the MediaWiki autoloader:
https://bugzilla.wikimedia.org/show_bug.cgi?id=53835 https://gerrit.wikimedia.org/r/59804
The PSR-4 recommendation has not been ratified, but I think it's the most convenient and rational namespace-based autoloading proposal, and I doubt it will be modified before adoption.
Putting this logic into core allows extension authors a standardized way of namespacing their classes, and also has the potential to deprecate or at least greatly reduce the redundant wgAutoloadClasses lists.
-Adam