MediaWiki REL1_31
NoLocalSettings.php File Reference

Display an error page when there is no LocalSettings.php file. More...

Go to the source code of this file.

Variables

 $installerStarted = ( $success && isset( $_SESSION['installData'] ) )
 
 $matches = []
 
 $path = '/'
 
 $success = session_start()
 
 $templateParser = new TemplateParser()
 
foreach(array_filter(explode('/', $_SERVER[ 'PHP_SELF'])) as $part) if(!function_exists( 'session_name')) else
 
 try
 

Detailed Description

Display an error page when there is no LocalSettings.php file.

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 NoLocalSettings.php.

Variable Documentation

◆ $installerStarted

$installerStarted = ( $success && isset( $_SESSION['installData'] ) )

Definition at line 44 of file NoLocalSettings.php.

◆ $matches

$matches = []

Definition at line 24 of file NoLocalSettings.php.

Referenced by ApiQuerySearch\addInterwikiResults(), DifferenceEngine\addLocalisedTitleTooltipsCb(), SimpleCaptcha\buildRegexes(), BaseBlacklist\buildSharedBlacklists(), PathRouterTest\callbackForTest(), SearchHighlighter\caseCallback(), CheckStorage\check(), AutoLoaderTest\checkAutoLoadConf(), UploadBase\checkCssFragment(), UploadBase\checkXMLEncodingMissmatch(), Cleanup\cleanupArticle(), Sanitizer\cleanUrl(), Sanitizer\cleanUrlCallback(), Language\commafy(), PdfImage\convertDumpToArray(), ApiFeedWatchlist\createFeedItem(), Sanitizer\cssDecodeCallback(), Sanitizer\decodeCharReferencesCallback(), ExprParser\doExpression(), Wikimedia\Rdbms\DatabaseMssql\doQuery(), Parser\doTableStuff(), DeprecatedInterfaceFinder\enterNode(), ApiSpamBlacklist\execute(), Cleanup\execute(), TestFileReader\execute(), SpecialReplaceText\extractContext(), WikiTextStructure\extractHeadingBeforeFirstHeading(), EditPage\extractSectionTitle(), Parser\extractTagsAndParams(), WebRequest\extractTitle(), PathRouter\extractTitle(), SearchEngineTest\fetchIds(), MediaWikiVersionFetcher\fetchVersion(), SpamBlacklist\filter(), SpamBlacklistHooks\filterMergedContent(), Language\firstChar(), Parser\formatHeadings(), LocalisationUpdate\Finder\getComponents(), MultiHttpClient\getCurlHandle(), ImportImages\getFileCommentFromSourceWiki(), ImportImages\getFileUserFromSourceWiki(), ParserFuzzTest\getFuzzInput(), GitInfo\getHeadSHA1(), GitInfo\getHeadViewUrl(), LocalisationUpdate\Finder\getItem(), CSSMin\getLocalFileReferences(), Title\getLocalURL(), TransformationalImageHandler\getMagickVersion(), Languages\getMessagesWithDubiousLinks(), VirtualRESTServiceClient\getMountAndService(), SearchNearMatcher\getNearMatchInternal(), WebRequest\getPathInfo(), CssContent\getRedirectTarget(), JavaScriptContent\getRedirectTarget(), NumericUppercaseCollation\getSortKey(), FormatMetadata\getVisibleFields(), FancyCaptcha\hashFromImageName(), TableCleanup\hexChar(), SearchHighlighter\highlightText(), MediaWiki\Tidy\Balancer\inColumnGroupMode(), MediaWiki\Tidy\Balancer\inHeadMode(), EditPage\internalAttemptSave(), WebRequest\interpolateTitle(), BaseBlacklist\isLocalSource(), MWHttpRequest\isLocalURL(), Wikimedia\Rdbms\DatabaseMssql\LimitToTopN(), SearchHighlighter\linkReplace(), SpecialUndelete\loadRequest(), DifferenceEngine\localiseLineNumbersCb(), MagicWordArray\matchAndRemove(), EditPage\matchSpamRegexInternal(), MagicWord\matchVariableStartToEnd(), TitleBlacklistEntry\newFromString(), Sanitizer\normalizeCharReferencesCallback(), Sanitizer\normalizeCss(), Parser\normalizeUrlComponent(), SpamBlacklistHooks\onUploadVerifyUpload(), DjVuImage\pageTextCallback(), PathRouter\parse(), ParserTestRunner\parseOptions(), FancyCaptcha\pickImageFromList(), Preprocessor_Hash\preprocessToObj(), UserMailer\quotedPrintable(), SpecialUndelete\redirectToRevDel(), Wikimedia\Rdbms\Database\registerTempTableOperation(), KkConverter\regsConverter(), Parser\renderImageGallery(), DateFormatter\replace(), DoubleReplacer\replace(), RegexlikeReplacer\replace(), LinkHolderArray\replaceTextCallback(), Parser\replaceTransparentTags(), ApiQueryAllLinks\run(), ApiQuerySearch\run(), ExtParserFunctions\runExplode(), Sanitizer\safeEncodeAttribute(), SVGReader\scaleSVGUnit(), PrefixSearch\specialSearch(), MediaWikiTitleCodec\splitTitleString(), SearchMySQL\stripForSearchCallback(), Language\strongDirFromContent(), TextSuppressor\suppress(), PathRouterTest\testAdditionalParameter(), PathRouterTest\testBasic(), PathRouterTest\testCallback(), DatabaseMysqlBaseTest\testChannelsMatch(), PathRouterTest\testCharacters(), EnhancedChangesListTest\testEndRecentChangesList(), PathRouterTest\testFail(), PathRouterTest\testKeyParameter(), PathRouterTest\testLength(), PathRouterTest\testLoose(), LinkFilterTest\testMakeLikeArrayWithValidPatterns(), PathRouterTest\testOrder(), PathRouterTest\testPatternUrlencoding(), PathRouterTest\testRawParamValue(), EnhancedChangesListTest\testRecentChangesPrefix(), PathRouterTest\testRegexpChars(), PathRouterTest\testRestrictedValue(), ExifRotationTest\testRotationRendering(), ExifRotationTest\testRotationRenderingNoAutoRotate(), PathRouterTest\testSpecial(), PathRouterTest\testUnicode(), PathRouterTest\testUrlencoding(), EnConverter\translate(), KkConverter\translate(), SrConverter\translate(), ApiOpenSearch\trimExtract(), Language\ucwordbreaksCallbackAscii(), Language\ucwordbreaksCallbackMB(), Language\ucwordsCallbackMB(), wfBaseName(), wfExpandIRI_callback(), wfExtractThumbParams(), and wfThumbHandle404().

◆ $path

$path = '/'

Definition at line 25 of file NoLocalSettings.php.

Referenced by WikiReference\__construct(), GitInfo\__construct(), RedisLockManager\__destruct(), FSFileBackend\cleanPathSlashes(), FileRepo\cleanupBatch(), LocalRepo\cleanupDeletedBatch(), FileBackendMultiWrite\consistencyCheck(), PathRouter\doAdd(), FileBackendStore\doGetFileContentsMulti(), SwiftFileBackend\doGetFileContentsMulti(), SwiftFileBackend\doGetFileStatMulti(), SwiftFileBackend\doGetLocalCopyMulti(), FSLockManager\doLock(), QuorumLockManager\doLockByType(), FSLockManager\doSingleLock(), FSLockManager\doSingleUnlock(), FileBackendTest\doTestDoQuickOperations(), QuorumLockManager\doUnlockByType(), TransformationalImageHandler\escapeMagickPath(), ApiParamInfo\execute(), FindOrphanedFiles\execute(), ExtensionRegistry\exportExtractedData(), ExtensionProcessor\extractCredits(), RedisLockManager\freeLocksOnServer(), FileBackendDBRepoWrapper\getBackendPaths(), XhprofData\getCriticalPath(), FileRepo\getDeletedHashPath(), SwiftFileBackend\getDirListPageInternal(), SqliteInstaller\getGlobalDefaults(), FileRepo\getHashPathForLevel(), ApiHelp\getHelpInternal(), FileOp\getJournalEntries(), FileBackendStore\getLocalReferenceMulti(), RedisLockManager\getLocksOnServer(), ApiParamInfo\getModuleInfo(), ApiBase\getModuleSourceInfo(), UploadBase\getRealPath(), UIDGenerator\getSequentialPerNodeIDs(), getThemePath(), FileRepo\getVirtualUrl(), WikiImporter\handleUpload(), FileRepo\initDirectory(), CryptRand\initialRandomState(), ResourceLoaderOOUIImageModule\loadFromDefinition(), FileBackend\normalizeContainerPath(), FileOp\normalizeIfValidStoragePath(), FileBackendStore\primeFileCache(), ApiStructureTest\provideDocumentationExists(), ApiStructureTest\provideParameterConsistency(), WfAssembleUrlTest\provideURLParts(), ExtensionRegistry\queue(), SqliteInstaller\realpath(), FileRepo\resolveToStoragePath(), UploadStash\stashFile(), FileRepo\streamFileWithStatus(), JpegPixelFormatTest\testPixelFormatRendering(), OutputPageTest\testTransformResourcePath(), OutputPage\transformResourcePath(), FileBackendDBRepoWrapper\translateArrayResults(), and wfRelativePath().

◆ $success

$success = session_start()

Definition at line 42 of file NoLocalSettings.php.

Referenced by User\checkAndSetTouched(), LocalFileRestoreBatch\cleanupFailedBatch(), ApiUploadTestCase\deleteFileByContent(), Wikimedia\Rdbms\DatabaseMssql\doQuery(), MovePageForm\doSubmit(), SpecialRenameuser\execute(), DeleteBatch\execute(), DeleteEqualMessages\execute(), FixDoubleRedirects\execute(), PurgeParserCache\execute(), CompressOld\execute(), UpdateMediaWiki\execute(), MemoizedCallable\fetchResult(), ArrayBackedMemoizedCallable\fetchResult(), EnhancedChangesList\getLineData(), MemoizedCallable\invokeArgs(), MessageCache\load(), CaptchaAuthenticationRequest\loadFromSubmission(), SpecialCreateAccount\logAuthResult(), SpecialUserLogin\logAuthResult(), Linker\makeExternalImage(), Linker\makeExternalLink(), BagOStuff\mergeViaCas(), BagOStuff\mergeViaLock(), ApiMove\moveSubpages(), Title\moveSubpages(), Wikimedia\Rdbms\DatabaseMysqlBase\open(), Wikimedia\Rdbms\LoadBalancer\pingAll(), FileBackendStore\preloadFileStat(), EnhancedChangesList\recentChangesBlockLine(), WatchedItemStore\removeWatch(), CachingSiteStore\saveSites(), DBSiteStore\saveSites(), MessageCache\saveToCaches(), DatabaseOracle\selectDB(), WatchedItemStore\setNotificationTimestampsForUser(), MediaTransformOutput\streamFileWithStatus(), MediaWiki\Auth\AuthManagerTest\testAccountCreation(), MediaWiki\Auth\AuthManagerTest\testAuthentication(), CaptchaPreAuthenticationProvider\testForAccountCreation(), CaptchaPreAuthenticationProvider\testForAuthentication(), CaptchaPreAuthenticationProviderTest\testPingLimiter(), GenerateJsonI18n\transformI18nFile(), SpecialUpload\unsaveUploadedFile(), and RenameUserCleanup\updateTable().

◆ $templateParser

$templateParser = new TemplateParser()

Definition at line 47 of file NoLocalSettings.php.

◆ else

foreach(array_filter(explode('/', $_SERVER['PHP_SELF'])) as $part) if (!function_exists('session_name')) else
Initial value:
{
if ( !wfIniGetBool( 'session.auto_start' ) ) {
session_name( 'mw_installer_session' );
}
$oldReporting = error_reporting( E_ALL & ~E_NOTICE )
wfIniGetBool( $setting)
Safety wrapper around ini_get() for boolean settings.

Definition at line 37 of file NoLocalSettings.php.

◆ try

try
Initial value:
{
global $wgVersion
$wgVersion
MediaWiki version number.

Definition at line 50 of file NoLocalSettings.php.