Manual:Code

This page describes key files and directories in the MediaWiki source code. For more detailed information, see the class, file and comprehensive references auto-generated from the MediaWiki source code using doxygen.

Directory /includes/
This directory stores common include files needed by MediaWiki.

Directory /includes/db/
This directory contains the code for database support. Database.php provides MediaWiki's database abstraction layer.

Directory /languages/
This directory contains files used for localization and internationalization.

Directory /maintenance/
This directory contains maintenance scripts that must be run from a command line interface.

See Manual:Maintenance scripts for an overview of those scripts.

Directory /skins/
This directory contain all skins classes, JavaScripts, CSS and some images used by that skins.

Code for most special pages is in files named Special*.php in the /includes/specials/ directory.