MediaWiki master
WebStart.php File Reference

The set up for all MediaWiki web requests. More...

Go to the source code of this file.

Functions

 wfWebStartNoLocalSettings (SettingsBuilder $settings)
 
if(!defined('MW_CONFIG_CALLBACK')) wfWebStartSetup (SettingsBuilder $settings)
 

Variables

 if (!defined('MW_SETUP_CALLBACK'))
 
const MEDIAWIKI true
 

Detailed Description

The set up for all MediaWiki web requests.

It does:

  • web-related security checks,
  • decide how and from where to load site configuration (LocalSettings.php),
  • load Setup.php.
Note
GPL-2.0-or-later

Definition in file WebStart.php.

Function Documentation

◆ wfWebStartNoLocalSettings()

wfWebStartNoLocalSettings ( SettingsBuilder $settings)
Parameters
SettingsBuilder$settings
Returns
never

Definition at line 34 of file WebStart.php.

◆ wfWebStartSetup()

if(!defined( 'MW_CONFIG_CALLBACK')) wfWebStartSetup ( SettingsBuilder $settings)

Definition at line 53 of file WebStart.php.

Variable Documentation

◆ if

if ( ! defined'MW_SETUP_CALLBACK')
Initial value:
{
$locale = 'C'

Definition at line 68 of file WebStart.php.

Referenced by Wikimedia\Rdbms\Database\getScopedLockAndFlush(), and MediaWiki\Revision\RevisionStore\newRevisionsFromBatch().

◆ MEDIAWIKI

const MEDIAWIKI true

Definition at line 28 of file WebStart.php.