Manuale:$mediaWiki

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$mediaWiki and the translation is 14% complete.

Other languages:
Deutsch • ‎English • ‎British English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil

Dettagli[edit | edit source]

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.php.

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

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