This reduces the size of the class map ($wgAutoloadLocalClasses), and allows new classes and namespaces to be added without modifying the class or namespace map as long as they conform to PSR-4. Adding a PSR-4 mapping for the top-level MediaWiki namespace means that conforming subnamespaces do not need to be listed. I did not add some odd or broken cases, since I figure it's better to fix them by moving the files, which can be done in a separate commit. I removed testPSR4Completeness, since PSR-4 completeness is no longer required, that's the point. Bug: T166010 Change-Id: Ie5e50ecb519b99a1197688c046c7be245ce6da1b |
||
|---|---|---|
| .. | ||
| ApiPrefixUniquenessTest.php | ||
| ApiStructureTest.php | ||
| AutoLoaderStructureTest.php | ||
| AvailableRightsTest.php | ||
| ContentHandlerSanityTest.php | ||
| DatabaseIntegrationTest.php | ||
| ExtensionJsonValidationTest.php | ||
| PasswordPolicyStructureTest.php | ||
| ResourcesTest.php | ||
| RestStructureTest.php | ||
| SpecialPageFatalTest.php | ||
| StructureTest.php | ||