MediaWiki
REL1_24
|
This does the initial set up for a web request. More...
Go to the source code of this file.
Enumerations | |
enum | MEDIAWIKI |
Variables | |
$IP = getenv( 'MW_INSTALL_PATH' ) | |
$wgProfiler = array() | |
$wgRequestTime = microtime( true ) | |
$wgRUstart = wfGetRusage() ?: array() | |
if ($IP===false) |
This does the initial set up for a web request.
It does some security checks, starts the profiler and loads the configuration, and optionally loads Setup.php depending on whether MW_NO_SETUP is defined.
Setup.php (if loaded) then sets up GlobalFunctions, the AutoLoader, and the configuration globals (though not $wgTitle).
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html
Definition in file WebStart.php.
enum MEDIAWIKI |
Definition at line 50 of file WebStart.php.
$IP = getenv( 'MW_INSTALL_PATH' ) |
Definition at line 56 of file WebStart.php.
Referenced by CommandLineInstaller\__construct(), MimeMagic\__construct(), CheckSyntax\addPath(), ApiQuerySiteinfo\appendGeneralInfo(), AutoLoader\autoload(), CheckSyntax\buildFileList(), AutoLoaderTest\checkAutoLoadConf(), MysqlUpdater\doInterwikiUpdate(), CheckLess\execute(), DateFormats\execute(), MwSql\execute(), GenerateNormalizerDataMl\execute(), UploadDumper\execute(), CleanupSpam\execute(), GenerateNormalizerDataAr\execute(), GenerateUtf8Case\execute(), GenerateJsonI18n\execute(), SpecialVersion\execute(), FindHooks\execute(), PHPUnitMaintClass\execute(), CommandLineInstaller\execute(), MWDocGen\execute(), GenerateCollationData\generateFirstChars(), GitInfo\getCacheFilePath(), SpecialVersion\getCreditsForExtension(), ResourceLoaderStartUpModule\getModifiedTime(), ResourceLoaderStartUpModule\getScript(), SpecialVersion\getVersion(), SpecialVersion\getVersionLinkedGit(), SpecialVersion\getVersionLinkedSvn(), MWDocGen\init(), DatabaseSqliteTest\prepareDB(), GitInfo\repo(), LocalisationCacheTest\setUp(), UploadFromUrlTestSuite\setUp(), Maintenance\setup(), ParserTest\setupGlobals(), UploadFromUrlTestSuite\setupUploadDir(), OracleInstaller\setupUser(), MediaWikiParserTest\suite(), DatabaseSqliteTest\testEntireSchema(), DatabaseTest\testStoredFunctions(), wfGetPrecompiledData(), and wfShellExec().
$wgProfiler = array() |
Definition at line 72 of file WebStart.php.
$wgRequestTime = microtime( true ) |
Definition at line 42 of file WebStart.php.
Referenced by RebuildFileCache\execute(), MWDebug\getDebugInfo(), Maintenance\setup(), wfDebugTimer(), wfLogProfilingData(), and wfReportTime().
$wgRUstart = wfGetRusage() ?: array() |
Definition at line 63 of file WebStart.php.
Definition at line 57 of file WebStart.php.