|
MediaWiki
REL1_20
|
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. | |
Static Public Member Functions | |
| static | articleFromTitle ($title, IContextSource $context) |
| Create an Article object of the appropriate class for the given page. | |
Private Member Functions | |
| checkMaxLag () | |
| Checks if the request should abort due to a lagged server, for given maxlag parameter. | |
| doJobs () | |
| Do a job from the job queue. | |
| 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) | |
| 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 |
| static MediaWiki::articleFromTitle | ( | $ | title, |
| IContextSource $ | context | ||
| ) | [static] |
Create an Article object of the appropriate class for the given page.
| $title | Title |
| $context | IContextSource |
| MediaWiki::checkMaxLag | ( | ) | [private] |
| MediaWiki::doJobs | ( | ) | [private] |
| MediaWiki::initializeArticle | ( | ) | [private] |
| MediaWiki::main | ( | ) | [private] |
Definition at line 485 of file Wiki.php.
References $title, $wgTitle, getAction(), getTitle(), Title\makeTitle(), HTMLFileCache\newFromTitle(), performRequest(), HTMLFileCache\useFileCache(), wfGetLBFactory(), wfProfileIn(), and wfProfileOut().
| MediaWiki::output | ( | OutputPage $ | x = null | ) |
| MediaWiki::parseTitle | ( | ) | [private] |
| MediaWiki::performAction | ( | Page $ | page | ) | [private] |
| MediaWiki::performRequest | ( | ) | [private] |
| MediaWiki::request | ( | WebRequest $ | x = null | ) |
| MediaWiki::run | ( | ) |
IContextSource MediaWiki::$context [private] |