MediaWiki  1.23.2
index.php
Go to the documentation of this file.
1 <?php
33 # Bail on old versions of PHP. Pretty much every other file in the codebase
34 # has structures (try/catch, foo()->bar(), etc etc) which throw parse errors in
35 # PHP 4. Setup.php and ObjectCache.php have structures invalid in PHP 5.0 and
36 # 5.1, respectively.
37 if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5.3.2' ) < 0 ) {
38  // We need to use dirname( __FILE__ ) here cause __DIR__ is PHP5.3+
39  require dirname( __FILE__ ) . '/includes/PHPVersionError.php';
40  wfPHPVersionError( 'index.php' );
41 }
42 
43 require __DIR__ . '/includes/WebStart.php';
44 
46 $mediaWiki->run();
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
wfPHPVersionError
wfPHPVersionError( $type)
Display something vaguely comprehensible in the event of a totally unrecoverable error.
Definition: PHPVersionError.php:40
MediaWiki
This document describes the state of Postgres support in MediaWiki
Definition: postgres.txt:4
$mediaWiki
$mediaWiki
Definition: index.php:45