|
MediaWiki
REL1_23
|
The MediaWiki class is the helper class for the index.php entry point. More...

Public Member Functions | |
| __construct (IContextSource $context=null) | |
| getAction () | |
| Returns the name of the action that will be executed. | |
| getTitle () | |
| Get the Title object that we'll be acting on, as specified in the WebRequest. | |
| output (OutputPage $x=null) | |
| request (WebRequest $x=null) | |
| restInPeace () | |
| Ends this task peacefully. | |
| run () | |
| Run the current MediaWiki instance index.php just calls this. | |
Protected Member Functions | |
| triggerJobs () | |
| Potentially open a socket and sent an HTTP request back to the server to run a specified number of jobs. | |
Private Member Functions | |
| checkMaxLag () | |
| Checks if the request should abort due to a lagged server, for given maxlag parameter. | |
| initializeArticle () | |
| Initialize the main Article object for "standard" actions (view, etc) Create an Article object for the page, following redirects if needed. | |
| main () | |
| parseTitle () | |
| Parse the request to get the Title object. | |
| performAction (Page $page, Title $requestTitle) | |
| Perform one of the "standard" actions. | |
| performRequest () | |
| Performs the request. | |
Private Attributes | |
| IContextSource | $context |
| TODO: fold $output, etc, into this. | |
The MediaWiki class is the helper class for the index.php entry point.
| MediaWiki::__construct | ( | IContextSource $ | context = null | ) |
| IContextSource | null | $context |
| MediaWiki::checkMaxLag | ( | ) | [private] |
Get the Title object that we'll be acting on, as specified in the WebRequest.
Definition at line 134 of file Wiki.php.
Referenced by main(), and Preferences\tryUISubmit().
| MediaWiki::initializeArticle | ( | ) | [private] |
| MediaWiki::main | ( | ) | [private] |
Definition at line 490 of file Wiki.php.
References $cache, $output, $timestamp, $title, $wgTitle, getAction(), getTitle(), global, Title\makeTitle(), Title\newFromText(), HTMLFileCache\newFromTitle(), performRequest(), HTMLFileCache\useFileCache(), wfDebugLog(), wfGetLBFactory(), wfProfileIn(), and wfProfileOut().
| MediaWiki::output | ( | OutputPage $ | x = null | ) |
| MediaWiki::parseTitle | ( | ) | [private] |
| MediaWiki::performAction | ( | Page $ | page, |
| Title $ | requestTitle | ||
| ) | [private] |
| MediaWiki::performRequest | ( | ) | [private] |
| MediaWiki::request | ( | WebRequest $ | x = null | ) |
| MediaWiki::run | ( | ) |
| MediaWiki::triggerJobs | ( | ) | [protected] |
IContextSource MediaWiki::$context [private] |