MediaWiki REL1_33
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(), UploadBase\checkCssFragment(), UploadBase\checkXMLEncodingMissmatch(), Cleanup\cleanupArticle(), Sanitizer\cleanUrl(), Sanitizer\cleanUrlCallback(), Language\commafy(), PdfImage\convertDumpToArray(), ApiFeedWatchlist\createFeedItem(), Sanitizer\cssDecodeCallback(), Sanitizer\decodeCharReferencesCallback(), Wikimedia\Rdbms\SQLiteField\defaultValue(), StringUtils\delimiterReplace(), MediaWiki\Extensions\ParserFunctions\ExprParser\doExpression(), Wikimedia\Rdbms\DatabaseMssql\doQuery(), Parser\doTableStuff(), DeprecatedInterfaceFinder\enterNode(), ApiSpamBlacklist\execute(), Cleanup\execute(), TestFileReader\execute(), StringUtils\explodeMarkup(), SpecialReplaceText\extractContext(), WikiTextStructure\extractHeadingBeforeFirstHeading(), OutputPageTest\extractHTMLTitle(), 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(), EditPage\internalAttemptSave(), PathRouter\internalParse(), 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(), AutoLoaderStructureTest\parseFile(), ParserTestRunner\parseOptions(), FancyCaptcha\pickImageFromList(), Preprocessor_Hash\preprocessToObj(), UserMailer\quotedPrintable(), SpecialUndelete\redirectToRevDel(), Wikimedia\Rdbms\Database\registerTempTableWrite(), KkConverter\regsConverter(), Parser\renderImageGallery(), DateFormatter\replace(), DoubleReplacer\replace(), RegexlikeReplacer\replace(), LinkHolderArray\replaceInternal(), LinkHolderArray\replaceInterwiki(), StringUtils\replaceMarkup(), LinkHolderArray\replaceTextCallback(), Parser\replaceTransparentTags(), ApiQueryAllLinks\run(), ApiQuerySearch\run(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\runExplode(), Sanitizer\safeEncodeAttribute(), SVGReader\scaleSVGUnit(), PrefixSearch\specialSearch(), MediaWikiTitleCodec\splitTitleString(), SearchMySQL\stripForSearchCallback(), Language\strongDirFromContent(), TextSuppressor\suppress(), DatabaseMysqlBaseTest\testChannelsMatch(), EnhancedChangesListTest\testEndRecentChangesList(), LinkFilterTest\testMakeLikeArrayWithValidPatterns(), PathRouterTest\testParse(), EnhancedChangesListTest\testRecentChangesPrefix(), ExifRotationTest\testRotationRendering(), ExifRotationTest\testRotationRenderingNoAutoRotate(), EnConverter\translate(), KkConverter\translate(), SrConverter\translate(), ApiOpenSearch\trimExtract(), Language\ucwordbreaksCallbackAscii(), Language\ucwordbreaksCallbackMB(), Language\ucwordsCallbackMB(), wfBaseName(), wfExpandIRI(), 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(), ResourceLoaderFileModule\expandPackageFiles(), 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(), ResourceLoaderOOUIImageModule\loadFromDefinition(), FileBackend\normalizeContainerPath(), FileOp\normalizeIfValidStoragePath(), FileBackendStore\primeFileCache(), ApiStructureTest\provideDocumentationExists(), ApiStructureTest\provideParameterConsistency(), WfAssembleUrlTest\provideURLParts(), ExtensionRegistry\queue(), SqliteInstaller\realpath(), ConvertExtensionToRegistration\removeAutodiscoveredParserTestFiles(), FileRepo\resolveToStoragePath(), UploadStash\stashFile(), FileRepo\streamFileWithStatus(), OutputPageTest\testTransformResourcePath(), OutputPage\transformResourcePath(), FileBackendDBRepoWrapper\translateArrayResults(), and wfRelativePath().

◆ $success

$success = session_start()

Definition at line 42 of file NoLocalSettings.php.

Referenced by BagOStuff\cas(), WinCacheBagOStuff\cas(), User\checkAndSetTouched(), LocalFileRestoreBatch\cleanupFailedBatch(), MediaWiki\Block\BlockRestrictionStore\delete(), ApiUploadTestCase\deleteFileByContent(), Wikimedia\Rdbms\DatabaseMssql\doQuery(), DatabaseOracle\doSelectDomain(), MovePageForm\doSubmit(), 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(), ApiMove\moveSubpages(), Title\moveSubpages(), Wikimedia\Rdbms\DatabaseMysqlBase\open(), Wikimedia\Rdbms\LoadBalancer\pingAll(), FileBackendStore\preloadFileStat(), UserPasswordPolicyTest\provideCheckUserPassword(), EnhancedChangesList\recentChangesBlockLine(), JobRunner\run(), CachingSiteStore\saveSites(), DBSiteStore\saveSites(), MessageCache\saveToCaches(), MediaTransformOutput\streamFileWithStatus(), MediaWiki\Auth\AuthManagerTest\testAccountCreation(), MediaWiki\Auth\AuthManagerTest\testAuthentication(), CaptchaPreAuthenticationProvider\testForAccountCreation(), CaptchaPreAuthenticationProvider\testForAuthentication(), CaptchaPreAuthenticationProviderTest\testPingLimiter(), GenerateJsonI18n\transformI18nFile(), SpecialUpload\unsaveUploadedFile(), Block\update(), MediaWiki\Block\BlockRestrictionStore\update(), MediaWiki\Block\BlockRestrictionStore\updateByParentBlockId(), 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 )
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
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.