MediaWiki
REL1_41
index.php
Go to the documentation of this file.
1
<?php
// For broken web servers: ><pre>
2
3
// If you are reading this in your web browser, your server is probably
4
// not configured correctly to run PHP applications!
5
//
6
// See the README, INSTALL, and UPGRADE files for basic setup instructions
7
// and pointers to the online documentation.
8
//
9
// https://www.mediawiki.org/wiki/Special:MyLanguage/MediaWiki
10
//
11
// -------------------------------------------------
12
36
define(
'MW_ENTRY_POINT'
,
'index'
);
37
38
// Bail on old versions of PHP, or if composer has not been run yet to install
39
// dependencies. Using dirname( __FILE__ ) here because __DIR__ is PHP5.3+.
40
// phpcs:ignore MediaWiki.Usage.DirUsage.FunctionFound
41
require_once dirname( __FILE__ ) .
'/includes/PHPVersionCheck.php'
;
42
wfEntryPointCheck
(
'html'
, dirname( $_SERVER[
'SCRIPT_NAME'
] ) );
43
44
require __DIR__ .
'/includes/WebStart.php'
;
45
46
wfIndexMain
();
47
48
function
wfIndexMain
() {
49
$mediaWiki =
new
MediaWiki
();
50
$mediaWiki->run();
51
}
wfEntryPointCheck
wfEntryPointCheck( $format='text', $scriptPath='/')
Check PHP version and that external dependencies are installed, and display an informative error if e...
Definition
PHPVersionCheck.php:337
wfIndexMain
wfIndexMain()
Definition
index.php:48
MediaWiki
A helper class for throttling authentication attempts.
index.php
Generated on Wed Nov 27 2024 07:26:38 for MediaWiki by
1.10.0