Manual:$wgAutoloadClasses

Details
This array maps class and interface names to PHP filenames. MediaWiki core's  uses it to load those files.

Extensions (and skins) specify this class mapping in the   key of  (or skin.json), for example from the 1>Special:MyLanguage/Extension:BoilerPlate|BoilerPlate extension's </>:

Example prior to extension.json
Assume the extension NewExtension 's files are in the directory extensions/NewExtension</tt>.

If NewExtension implements a class called NewClass in the file NewClass.php</tt>, then in its initialization file NewExtension/NewExtension.php</tt> it should add to  as follows: