Manual:$mediaWiki

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎ไทย • ‎татарча/tatarça

Details[edit]

MediaWiki is the to-be base class for this whole project. The MediaWiki class object, $mediaWiki, is initialized in the main site access script, index.phpManual:Index.php.

The MediaWiki class is responsible for initializing the $wgTitleManual:$wgTitle and $wgArticleManual:$wgArticle objects, as well as executing the &action= arguments from the URL.

This variable is only set when the index.php script is executed, it does not exist when executing other entry scripts, like api.php.