The MediaWiki class is the helper class for the index.php entry point.
MediaWiki::doPostOutputShutdown |
( |
|
$mode = 'normal' | ) |
|
This function does work that can be done after the user gets the HTTP response so they don't block on it
This manages deferred updates, job insertion, final commit, and the logging of profiling data
- Parameters
-
string | $mode | Use 'fast' to always skip job running |
- Since
- 1.26
MediaWiki::doPreOutputCommit |
( |
| ) |
|
Returns the name of the action that will be executed.
- Returns
- string Action
This function commits all DB changes as needed before the user can receive a response (in case commit fails)
- Parameters
-
- Since
- 1.27
MediaWiki::restInPeace |
( |
|
$mode = 'fast' | ) |
|
Ends this task peacefully
- Parameters
-
string | $mode | Use 'fast' to always skip job running |
Run the current MediaWiki instance; index.php just calls this
MediaWiki::triggerJobs |
( |
| ) |
|
Potentially open a socket and sent an HTTP request back to the server to run a specified number of jobs. This registers a callback to cleanup the socket once it's done.
The documentation for this class was generated from the following file:
- /home/hwfunc/workspace/leonid/BlueSpiceDoc-composer/mediawiki-REL1_27/includes/MediaWiki.php