MediaWiki REL1_41
|
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( null, new EmptyBagOStuff() ) | |
foreach(array_filter(explode('/', $_SERVER[ 'PHP_SELF'])) as $part) if(!function_exists( 'session_name')) | else |
try | |
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.
$installerStarted = ( $success && isset( $_SESSION['installData'] ) ) |
Definition at line 46 of file NoLocalSettings.php.
$matches = [] |
Definition at line 26 of file NoLocalSettings.php.
Referenced by CheckStorage\check(), UploadBase\checkXMLEncodingMissmatch(), MediaWiki\Parser\Sanitizer\cleanUrl(), Wikimedia\Rdbms\SQLiteField\defaultValue(), StringUtils\delimiterReplace(), DeprecatedInterfaceFinder\enterNode(), Parser\extractTagsAndParams(), MediaWiki\Request\WebRequest\extractTitle(), MediaWiki\Request\PathRouter\extractTitle(), MediaWikiVersionFetcher\fetchVersion(), MediaWiki\Request\WebRequest\getAcceptLang(), ClassCollector\getClasses(), MultiHttpClient\getCurlHandle(), MediaWiki\Utils\GitInfo\getHeadSHA1(), MediaWiki\Utils\GitInfo\getHeadViewUrl(), MediaWiki\Title\Title\getLocalURL(), TransformationalImageHandler\getMagickVersion(), VirtualRESTServiceClient\getMountAndService(), MediaWiki\Search\TitleMatcher\getNearMatchInternal(), MediaWiki\Request\WebRequest\getPathInfo(), CssContent\getRedirectTarget(), JavaScriptContent\getRedirectTarget(), NumericUppercaseCollation\getSortKey(), MediaWiki\Output\OutputPage\getUnprefixedDisplayTitle(), FormatMetadata\getVisibleFields(), TableCleanup\hexChar(), SearchHighlighter\highlightText(), MediaWiki\EditPage\EditPage\internalAttemptSave(), MediaWiki\Request\PathRouter\internalParse(), MediaWiki\Request\WebRequest\interpolateTitle(), DifferenceEngine\localiseLineNumbers(), MediaWiki\Diff\TextDiffer\BaseTextDiffer\localizeLineNumbers(), MediaWiki\Parser\MagicWordArray\matchAndRemove(), MediaWiki\Request\PathRouter\parse(), Wikimedia\Http\HttpAcceptParser\parseAccept(), UserMailer\quotedPrintable(), Parser\renderImageGallery(), LinkHolderArray\replaceInternal(), LinkHolderArray\replaceInterwiki(), StringUtils\replaceMarkup(), LinkHolderArray\replaceText(), DjVuImage\retrieveMetaData(), MediaWiki\Parser\Sanitizer\safeEncodeAttribute(), SVGReader\scaleSVGUnit(), PrefixSearch\specialSearch(), MediaWiki\Title\MediaWikiTitleCodec\splitTitleString(), SearchMySQL\stripForSearchCallback(), EnConverter\translate(), KkConverter\translate(), LanguageConverter\translateWithoutRomanNumbers(), ApiOpenSearch\trimExtract(), Language\ucwordbreaks(), Language\ucwords(), wfBaseName(), and wfExtractThumbParams().
$path = '/' |
Definition at line 27 of file NoLocalSettings.php.
Referenced by MediaWiki\WikiMap\WikiReference\__construct(), FSFileBackendList\__construct(), ThumbnailImage\__construct(), MediaWiki\ResourceLoader\Image\__construct(), TempFSFile\__construct(), MissingExtensionException\__construct(), HTTPFileStreamer\__construct(), MediaWiki\Utils\GitInfo\__construct(), UnregisteredLocalFile\__construct(), MediaWiki\Rest\Handler\Helper\PageRedirectHelper\__construct(), MediaWiki\Settings\Source\PhpSettingsSource\__construct(), MediaWiki\Settings\Source\FileSource\__construct(), FSLockManager\__destruct(), MemcLockManager\__destruct(), RedisLockManager\__destruct(), FileBackendMultiWrite\accessibilityCheck(), MediaWiki\Request\PathRouter\add(), ApiResult\addArrayType(), ApiResult\addArrayTypeRecursive(), ApiResult\addContentField(), ApiResult\addContentValue(), ApiResult\addIndexedTagName(), ApiResult\addIndexedTagNameRecursive(), SwiftFileBackend\addMissingHashMetadata(), ApiResult\addPreserveKeysList(), MediaWiki\Request\PathRouter\addStrict(), ApiResult\addSubelementsList(), ApiResult\addValue(), ApiErrorFormatter\addWarningOrError(), ApiErrorFormatter_BackCompat\addWarningOrError(), ApiQuerySiteinfo\appendInstalledLibraries(), DatabaseUpdater\applyPatch(), TempFSFile\autocollect(), CheckStorage\check(), FindOrphanedFiles\checkFiles(), FileRepo\cleanupBatch(), LocalRepo\cleanupDeletedBatch(), FileBackendStore\clearCache(), MediaWiki\ResourceLoader\FileModule\compileLessString(), FileBackendMultiWrite\consistencyCheck(), SwiftFileBackendFileList\current(), FileBackendStore\deleteFileCache(), FileOp\dependsOn(), MediaWiki\Request\PathRouter\doAdd(), FSFileBackend\doClearCache(), FileBackendStore\doConcatenate(), MemoryFileBackend\doDirectoryExists(), FileBackendStore\doGetFileContentsMulti(), SwiftFileBackend\doGetFileContentsMulti(), SwiftFileBackend\doGetFileStatMulti(), SwiftFileBackend\doGetLocalCopyMulti(), FSLockManager\doLock(), NullLockManager\doLock(), QuorumLockManager\doLockByType(), FSLockManager\doSingleLock(), FSLockManager\doSingleUnlock(), FSLockManager\doUnlock(), NullLockManager\doUnlock(), QuorumLockManager\doUnlockByType(), FileRepo\enumFilesInStorage(), WebInstaller\envCheckPath(), WebInstaller\envPrepPath(), TransformationalImageHandler\escapeMagickInput(), TransformationalImageHandler\escapeMagickOutput(), TransformationalImageHandler\escapeMagickPath(), ApiHelp\execute(), ApiParamInfo\execute(), ApiQueryTokens\execute(), CheckImages\execute(), CopyFileBackend\execute(), DeleteArchivedFiles\execute(), FindMissingFiles\execute(), FindOrphanedFiles\execute(), GenerateJsonI18n\execute(), ValidateRegistrationFile\execute(), MediaWiki\Rest\Router\execute(), MediaWiki\SpecialPage\SpecialPageFactory\executePath(), MediaWiki\ResourceLoader\Module\expandRelativePaths(), FileBackend\extensionFromPath(), ExtensionProcessor\extractAttributes(), ExtensionProcessor\extractCredits(), ExtensionProcessor\extractHooks(), ExtensionProcessor\extractInfo(), ExtensionProcessor\extractInfoFromFile(), ExtensionProcessor\extractPathBasedGlobal(), MediaWiki\Request\WebRequest\extractTitle(), MediaWiki\Request\PathRouter\extractTitle(), FileRepo\fileExistsBatch(), ExecutableFinder\findExecutable(), ExecutableFinder\findInDefaultPaths(), AutoloadGenerator\forceClassPath(), MemcLockManager\freeLocksOnServer(), RedisLockManager\freeLocksOnServer(), AutoloadGenerator\generateJsonAutoload(), AutoloadGenerator\generatePHPAutoload(), File\getArchiveRel(), File\getArchiveThumbUrl(), File\getArchiveUrl(), File\getArchiveVirtualUrl(), FileBackendDBRepoWrapper\getBackendPath(), FileBackendDBRepoWrapper\getBackendPaths(), QuorumLockManager\getBucketFromPath(), XhprofData\getCriticalPath(), FileRepo\getDeletedHashPath(), MemoryFileBackend\getDirectoryListInternal(), SwiftFileBackend\getDirListPageInternal(), ApiQueryAllLinks\getExamplesMessages(), ApiQueryBacklinksprop\getExamplesMessages(), ApiQueryLinks\getExamplesMessages(), ApiRemoveAuthenticationData\getExamplesMessages(), UploadStash\getExtensionForPath(), Installer\getExtensionInfo(), MediaWiki\Specials\SpecialVersion\getExternalLibraries(), HTMLFormFieldCloner\getFieldPath(), UploadStash\getFile(), FileBackendMultiWrite\getFileContentsMulti(), FileBackendStore\getFileContentsMulti(), MemoryFileBackend\getFileListInternal(), FileRepo\getFileSha1(), FileBackendStore\getFileSha1Base36(), FileRepo\getFileSize(), FileBackendStore\getFileStat(), FileRepo\getFileTimestamp(), MediaWikiSite\getFileUrl(), FileBackendStore\getFileXAttributes(), ApiBase\getFinalParamDescription(), SqliteInstaller\getGlobalDefaults(), FileRepo\getHashPathForLevel(), MediaWiki\ResourceLoader\Image\getImageData(), ImageHandler\getImageSize(), FileRepo\getLocalCopy(), FileBackendMultiWrite\getLocalCopyMulti(), MediaTransformOutput\getLocalCopyPath(), MediaWiki\ResourceLoader\FileModule\getLocalPath(), MediaWiki\ResourceLoader\Image\getLocalPath(), MediaWiki\ResourceLoader\ImageModule\getLocalPath(), FileRepo\getLocalReference(), FileBackendMultiWrite\getLocalReferenceMulti(), FileBackendStore\getLocalReferenceMulti(), MemcLockManager\getLocksOnServer(), RedisLockManager\getLocksOnServer(), ApiBase\getModuleFromPath(), ApiBase\getModuleSourceInfo(), VirtualRESTServiceClient\getMountAndService(), MediaWiki\ResourceLoader\FileModule\getPackageFileType(), MediaWiki\ResourceLoader\FileModule\getPath(), File\getPath(), MediaWiki\Request\WebRequest\getPathInfo(), MWFileProps\getPropsFromPath(), Site\getProtocol(), UploadBase\getRealPath(), MediaWiki\Rest\Handler\ParsoidHandler\getRedirectRouteUrl(), MediaWiki\ResourceLoader\Module\getRelativePaths(), FSFileBackendList\getRelPath(), MediaWiki\ResourceLoader\FileModule\getRemotePath(), ApiResult\getResultData(), Wikimedia\UUID\GlobalIdGenerator\getSequentialPerNodeIDs(), MediaWiki\Specials\SpecialWatchlist\getShortDescriptionHelper(), DjVuHandler\getSizeAndMetadata(), ImageHandler\getSizeAndMetadata(), MediaHandler\getSizeAndMetadataWithFallback(), ExternalStoreFactory\getStoreForUrl(), MediaWiki\ResourceLoader\FileModule\getStyleSheetLang(), MediaWiki\ResourceLoader\getThemePath(), MediaWiki\ResourceLoader\getThemePaths(), ForeignAPIFile\getThumbPath(), File\getThumbRel(), File\getThumbVirtualUrl(), File\getVirtualUrl(), FileRepo\getVirtualUrl(), FileBackendStore\ingestFreshFileStats(), FileRepo\initDirectory(), MediaWiki\Request\PathRouter\internalParse(), FileBackend\isPathTraversalFree(), FileBackend\isStoragePath(), MediaWiki\Settings\Source\PhpSettingsSource\load(), LocalFile\loadFromFile(), SwiftFileBackend\loadListingStatInternal(), MediaWiki\Settings\WikiFarmSettingsLoader\loadWikiFarmSettings(), SiteImporter\makeSite(), MediaWiki\Request\PathRouter\makeWeight(), MediaWiki\Rest\PathTemplateMatcher\PathMatcher\match(), ConvertExtensionToRegistration\needsComposerAutoloader(), UnregisteredLocalFile\newFromPath(), MediaWiki\FileBackend\FSFile\TempFSFileFactory\newTempFSFile(), FileBackend\normalizeContainerPath(), FileOp\normalizeIfValidStoragePath(), LockManager\normalizePathsByType(), AutoloadGenerator\normalizePathSeparator(), MediaWiki\HookContainer\HookRunner\onImgAuthBeforeStream(), Wikimedia\Rdbms\DatabaseSqlite\open(), MediaWiki\Request\PathRouter\parse(), ExternalStoreDB\parseURL(), ApiPageSet\populateGeneratorData(), FileOp\precheck(), FileBackendStore\preloadCache(), FileBackendStore\primeContainerCache(), FileBackendStore\primeFileCache(), MediaWiki\ResourceLoader\FileModule\processStyle(), PruneFileCache\prune_directory(), TempFSFile\purgeAllOnShutdown(), ExtensionRegistry\queue(), FileRepo\quickPurge(), FileRepo\quickPurgeBatch(), AutoloadGenerator\readDir(), ExtensionRegistry\readFromQueue(), MediaWiki\ResourceLoader\OOUIImageModule\readJSONFile(), MediaWiki\ResourceLoader\FileModule\readStyleFile(), MemcLockManager\recordKeyForPath(), RedisLockManager\recordKeyForPath(), ConvertExtensionToRegistration\removeAutodiscoveredParserTestFiles(), ApiResult\removePreserveKeysList(), ApiResult\removeSubelementsList(), ApiResult\removeValue(), MediaWiki\Settings\Source\SettingsFileUtils\resolveRelativeLocation(), FileRepo\resolveToStoragePathIfVirtual(), FileBackendMultiWrite\resyncFiles(), ApiQueryRandom\runQuery(), EraseArchivedFile\scrubVersion(), CookieJar\serializeToHttpRequest(), Wikimedia\Rdbms\DatabaseSqlite\serverIsReadOnly(), AutoloadGenerator\setExcludePaths(), FileBackendStore\setFileCache(), MediaWikiSite\setFilePath(), MediaWikiSite\setPagePath(), AutoloadGenerator\setPsr4Namespaces(), MediaWiki\ResourceLoader\FileModule\setSkinStylesOverride(), Licenses\stackItem(), UploadStash\stashFile(), UploadSourceAdapter\stream_open(), SevenZipStream\stream_open(), FileRepo\streamFileWithStatus(), ApiMain\substituteResultWithError(), MediaWiki\Output\OutputPage\transformResourcePath(), FileBackendDBRepoWrapper\translateArrayResults(), MediaWiki\Specials\SpecialRevisionDelete\tryShowFile(), SevenZipStream\url_stat(), ExtensionJsonValidator\validate(), MediaWiki\Request\PathRouter\validateRoute(), wfBaseName(), wfImageAuthMain(), wfLoadExtension(), wfLoadSkin(), and wfRelativePath().
$success = session_start() |
Definition at line 44 of file NoLocalSettings.php.
Referenced by MediaWiki\User\User\checkAndSetTouched(), LocalFileRestoreBatch\cleanupFailedBatch(), MediumSpecificBagOStuff\doCas(), WinCacheBagOStuff\doCas(), APCUBagOStuff\doIncrWithInit(), MemcachedPhpBagOStuff\doIncrWithInitSync(), FixDoubleRedirects\execute(), PurgeParserCache\execute(), CompressOld\execute(), MemoizedCallable\fetchResult(), RedisBagOStuff\getConnectionsForKeys(), EnhancedChangesList\getLineData(), FileBackendStore\ingestFreshFileStats(), WikiPage\insertRedirectEntry(), MemoizedCallable\invokeArgs(), MediaWiki\Specials\SpecialCreateAccount\logAuthResult(), MediaWiki\Specials\SpecialUserLogin\logAuthResult(), MediaWiki\Linker\Linker\makeExternalImage(), MediaWiki\Linker\Linker\makeExternalLink(), MediumSpecificBagOStuff\mergeViaCas(), Wikimedia\Rdbms\LoadBalancer\pingAll(), EnhancedChangesList\recentChangesBlockLine(), CachingSiteStore\saveSites(), MediaTransformOutput\streamFileWithStatus(), GenerateJsonI18n\transformI18nFile(), MediaWiki\Specials\SpecialUpload\unsaveUploadedFile(), MediaWiki\Block\BlockRestrictionStore\update(), and MediaWiki\Block\BlockRestrictionStore\updateByParentBlockId().
$templateParser = new TemplateParser( null, new EmptyBagOStuff() ) |
Definition at line 49 of file NoLocalSettings.php.
Referenced by wfForbidden().
foreach(array_filter(explode('/', $_SERVER['PHP_SELF'])) as $part) if (!function_exists('session_name')) else |
Definition at line 39 of file NoLocalSettings.php.
try |
Definition at line 52 of file NoLocalSettings.php.