Manual:MediaWiki.php

Description
Among other things this file contains:


 * Function, called from index.php. Run the current MediaWiki instance, calling  ,  ,   and.


 * Function : check if the maximum lag of database slaves is higher than maxlag>Special:MyLanguage/Manual:Maxlag parameter|  parameter, and if it's the case, output an error message.  It's primarily used in requests to , explicitly called by ApiMain.php before 1.19, although since 1.19 it works for index.php requests too.


 * Function  which creates a  object depending on the paramIndex>Special:MyLanguage/Manual:Parameters to index.php|  parameter passed to index.php.  If the   parameter is passed, it will override the  .  If the   parameter isn't passed and the   parameter is passed, it will override the   if it's not a special page.


 * Function  (before version 1.18 it was called , and before version 1.16 it was called  ) which does the most of the work. It:


 * Checks for invalid titles, or read permission errors


 * Performs interwiki redirects and canonical redirects


 * If it's a specialpg>Special:MyLanguage/Manual:Special pages|special page, calls the special page code


 * Calls, and


 * Calls  if   returned an article, or


 * Calls  if   returned a string.


 * Function, which creates an Article object from the Title given.  Then it checks if it is a redirect and if it's the case, recreate another Article from the target of the redirect and changes   and  .  It can return either:


 * An article object, which will be passed  to execute the requested action


 * A string if it's an interwiki redirect or a redirect to a special page


 * Function  (called by  ) which performs most actions, including creating the HTML.  For example, in the case of viewing a page, function "view" in  is called.


 * Function  (called by  ) which does the following:


 * Perform deferred updates


 * Commit any database transactions


 * Function  (  before 1.23), which runs zero, one or more jobs from the jobqueue>Special:MyLanguage/Manual:Job queue|Job queue, depending on  .  Called from   (it was called from   before 1.23).


 * now is moved into <tvar|1></>
 * now is moved into <tvar|1></>
 * now is moved into <tvar|1></>
 * now is moved into <tvar|1></>
 * now is moved into <tvar|1></>