Manual:$mediaWiki/zh
全域对象: $mediaWiki | |
---|---|
MediaWiki object | |
类: | MediaWiki |
位于: | MediaWiki.php |
细节
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 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
.Notes
- Refactored and removed in: gerrit change 965563.