Песочница

Материал из Rosalab Wiki
Перейти к: навигация, поиск

На этой странице можно свободно "играться" не боясь потерять изменения или что-то попортить. <?php 2 /** 3 * @file 4 * 5 * NEVER EDIT THIS FILE 6 * 7 * 8 * To customize your installation, edit "LocalSettings.php". If you make 9 * changes here, they will be lost on next upgrade of MediaWiki! 10 * 11 * Note that since all these string interpolations are expanded 12 * before LocalSettings is included, if you localize something 13 * like $wgScriptPath, you must also localize everything that 14 * depends on it. 15 * 16 * Documentation is in the source and on: 17 * http://www.mediawiki.org/wiki/Manual:Configuration_settings 18 */ 19 20 /** 21 * @cond file_level_code 22 * This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined 23 */ 24 if( !defined( 'MEDIAWIKI' ) ) { 25 echo "This file is part of MediaWiki and is not a valid entry point\n"; 26 die( 1 ); 27 } 28 29 # Create a site configuration object. Not used for much in a default install 30 if ( !defined( 'MW_COMPILED' ) ) { 31 require_once( "$IP/includes/SiteConfiguration.php" ); 32 } 33 $wgConf = new SiteConfiguration; 34 /** @endcond */ 35 36 /** MediaWiki version number */ 37 $wgVersion = '1.18alpha'; 38 39 /** Name of the site. It must be changed in LocalSettings.php */ 40 $wgSitename = 'MediaWiki';