Manual:$mediaWiki/hu
Jump to navigation
Jump to search
Global object: $mediaWiki | |
---|---|
MediaWiki object | |
Class: | MediaWiki |
Located in: | MediaWiki.php |
Részletek
A MediaWiki a kötelező alaposztálya az egész projektnek. A MediaWiki osztály objektuma, a $mediaWiki, a főoldal elérési kódjában szerepel: index.php .
The MediaWiki class is responsible for initializing the $wgTitle and $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.