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  ), 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.

If NewExtension implements a class called NewClass in the file, then in its initialization file   it should add to   as follows: