MediaWiki fundraising/REL1_35
|
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 | |
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 44 of file NoLocalSettings.php.
$matches = [] |
Definition at line 24 of file NoLocalSettings.php.
Referenced by ApiQuerySearch\addInterwikiResults(), DifferenceEngine\addLocalisedTitleTooltipsCb(), SearchHighlighter\caseCallback(), CheckStorage\check(), UploadBase\checkCssFragment(), MediaWiki\EditPage\SpamChecker\checkInternal(), UploadBase\checkXMLEncodingMissmatch(), Sanitizer\cleanUrl(), Sanitizer\cleanUrlCallback(), Language\commafy(), ApiFeedWatchlist\createFeedItem(), Sanitizer\cssDecodeCallback(), Sanitizer\decodeCharReferencesCallback(), Wikimedia\Rdbms\SQLiteField\defaultValue(), StringUtils\delimiterReplace(), MediaWiki\Extensions\ParserFunctions\ExprParser\doExpression(), DeprecatedInterfaceFinder\enterNode(), WikiTextStructure\extractHeadingBeforeFirstHeading(), EditPage\extractSectionTitle(), Parser\extractTagsAndParams(), WebRequest\extractTitle(), PathRouter\extractTitle(), MediaWikiVersionFetcher\fetchVersion(), FundraiserSubscriptionPage\filterValue(), Parser\finalizeHeadings(), GatewayAdapter\formatXmlString(), WebRequest\getAcceptLang(), ClassCollector\getClasses(), MultiHttpClient\getCurlHandle(), ImportImages\getFileCommentFromSourceWiki(), ImportImages\getFileUserFromSourceWiki(), GitInfo\getHeadSHA1(), GitInfo\getHeadViewUrl(), CSSMin\getLocalFileReferences(), Title\getLocalURL(), TransformationalImageHandler\getMagickVersion(), VirtualRESTServiceClient\getMountAndService(), SearchNearMatcher\getNearMatchInternal(), WebRequest\getPathInfo(), CssContent\getRedirectTarget(), JavaScriptContent\getRedirectTarget(), NumericUppercaseCollation\getSortKey(), FormatMetadata\getVisibleFields(), Parser\handleTables(), TableCleanup\hexChar(), SearchHighlighter\highlightText(), EditPage\internalAttemptSave(), PathRouter\internalParse(), WebRequest\interpolateTitle(), MWHttpRequest\isLocalURL(), SearchHighlighter\linkReplace(), SpecialUndelete\loadRequest(), DifferenceEngine\localiseLineNumbersCb(), MagicWordArray\matchAndRemove(), MagicWord\matchVariableStartToEnd(), Sanitizer\normalizeCharReferencesCallback(), Parser\normalizeUrlComponent(), DjVuImage\pageTextCallback(), PathRouter\parse(), Wikimedia\Http\HttpAcceptParser\parseAccept(), Preprocessor_Hash\preprocessToObj(), FundraiserUnsubscribeSilverpop\processRemoteAction(), UserMailer\quotedPrintable(), SpecialUndelete\redirectToRevDel(), KkConverter\regsConverter(), Parser\renderImageGallery(), LinkHolderArray\replaceInternal(), LinkHolderArray\replaceInterwiki(), StringUtils\replaceMarkup(), LinkHolderArray\replaceText(), ApiQueryAllLinks\run(), ApiQuerySearch\run(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\runExplode(), Sanitizer\safeEncodeAttribute(), SVGReader\scaleSVGUnit(), PrefixSearch\specialSearch(), MediaWikiTitleCodec\splitTitleString(), SearchMySQL\stripForSearchCallback(), Language\strongDirFromContent(), EnConverter\translate(), KkConverter\translate(), SrConverter\translate(), ApiOpenSearch\trimExtract(), Language\ucwordbreaks(), Language\ucwords(), wfBaseName(), wfExpandIRI(), and wfExtractThumbParams().
$path = '/' |
Definition at line 25 of file NoLocalSettings.php.
Referenced by WikiReference\__construct(), FSFileBackendList\__construct(), ThumbnailImage\__construct(), ResourceLoaderImage\__construct(), TempFSFile\__construct(), GitInfo\__construct(), FSLockManager\__destruct(), MemcLockManager\__destruct(), RedisLockManager\__destruct(), FileBackendMultiWrite\accessibilityCheck(), PathRouter\add(), ApiResult\addArrayType(), ApiResult\addArrayTypeRecursive(), ApiResult\addContentField(), ApiResult\addContentValue(), ApiResult\addIndexedTagName(), ApiResult\addIndexedTagNameRecursive(), SwiftFileBackend\addMissingHashMetadata(), ApiResult\addPreserveKeysList(), PathRouter\addStrict(), ApiResult\addSubelementsList(), ApiResult\addValue(), ApiErrorFormatter\addWarningOrError(), ApiErrorFormatter_BackCompat\addWarningOrError(), ApiQuerySiteinfo\appendInstalledLibraries(), DatabaseUpdater\applyPatch(), TempFSFile\autocollect(), CheckStorage\check(), CategoryFinder\check(), FindOrphanedFiles\checkFiles(), FileRepo\cleanupBatch(), LocalRepo\cleanupDeletedBatch(), FileBackendStore\clearCache(), FSLockManager\closeLockHandles(), FileBackendMultiWrite\consistencyCheck(), SwiftFileBackendFileList\current(), Wikimedia\UUID\GlobalIdGenerator\deleteCacheFiles(), FileBackendStore\deleteFileCache(), FileOp\dependsOn(), PathRouter\doAdd(), FSFileBackend\doClearCache(), FileBackendStore\doConcatenate(), MemoryFileBackend\doDirectoryExists(), FileBackendStore\doGetFileContentsMulti(), SwiftFileBackend\doGetFileContentsMulti(), SwiftFileBackend\doGetFileStatMulti(), SwiftFileBackend\doGetLocalCopyMulti(), MySqlLockManager\doGetLocksOnServer(), PostgreSqlLockManager\doGetLocksOnServer(), 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(), CheckImages\execute(), CopyFileBackend\execute(), DeleteArchivedFiles\execute(), FindMissingFiles\execute(), FindOrphanedFiles\execute(), GenerateJsonI18n\execute(), ValidateRegistrationFile\execute(), MediaWiki\Rest\Router\execute(), ResourceLoaderFileModule\expandPackageFiles(), ResourceLoaderModule\expandRelativePaths(), ExtensionRegistry\exportExtractedData(), SiteExporter\exportSite(), FileBackend\extensionFromPath(), ExtensionProcessor\extractAttributes(), ExtensionProcessor\extractCredits(), ExtensionProcessor\extractHooks(), ExtensionProcessor\extractInfo(), ExtensionProcessor\extractPathBasedGlobal(), WebRequest\extractTitle(), PathRouter\extractTitle(), Gateway_Form_Mustache\fieldError(), FileBackendStore\fileCacheKey(), FileRepo\fileExistsBatch(), ExecutableFinder\findExecutable(), ExecutableFinder\findInDefaultPaths(), MediaWiki\OutputHandler\findUriExtension(), AutoloadGenerator\forceClassPath(), MemcLockManager\freeLocksOnServer(), RedisLockManager\freeLocksOnServer(), Wikimedia\Rdbms\DatabaseSqlite\generateDatabaseName(), AutoloadGenerator\generateJsonAutoload(), AutoloadGenerator\generatePHPAutoload(), ContentSecurityPolicy\getAdditionalSelfUrls(), ContentSecurityPolicy\getAdditionalSelfUrlsScript(), File\getArchiveRel(), File\getArchiveThumbRel(), File\getArchiveThumbUrl(), File\getArchiveUrl(), File\getArchiveVirtualUrl(), FileBackendDBRepoWrapper\getBackendPath(), FileBackendDBRepoWrapper\getBackendPaths(), QuorumLockManager\getBucketFromPath(), XhprofData\getCriticalPath(), GatewayAdapter\getCurlBaseOpts(), FileRepo\getDeletedHashPath(), MemoryFileBackend\getDirectoryListInternal(), SwiftFileBackend\getDirListPageInternal(), DjVuHandler\getDjVuImage(), ApiQueryAllLinks\getExamplesMessages(), ApiQueryBacklinksprop\getExamplesMessages(), ApiQueryLinks\getExamplesMessages(), ApiRemoveAuthenticationData\getExamplesMessages(), UploadStash\getExtensionForPath(), Installer\getExtensionInfo(), SpecialVersion\getExternalLibraries(), 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(), ApiHelp\getHelpInternal(), ResourceLoaderImage\getImageData(), WebPHandler\getImageSize(), DjVuHandler\getImageSize(), ExifBitmapHandler\getImageSize(), ImageHandler\getImageSize(), FileOp\getJournalEntries(), FileRepo\getLocalCopy(), FileBackendMultiWrite\getLocalCopyMulti(), FileBackendStore\getLocalCopyMulti(), MediaTransformOutput\getLocalCopyPath(), CSSMin\getLocalFileReferences(), ResourceLoaderFileModule\getLocalPath(), ResourceLoaderImage\getLocalPath(), ResourceLoaderImageModule\getLocalPath(), FileRepo\getLocalReference(), FileBackendMultiWrite\getLocalReferenceMulti(), FileBackendStore\getLocalReferenceMulti(), MemcLockManager\getLocksOnServer(), RedisLockManager\getLocksOnServer(), DjVuHandler\getMetadata(), ApiBase\getModuleFromPath(), ApiParamInfo\getModuleInfo(), ApiBase\getModuleSourceInfo(), VirtualRESTServiceClient\getMountAndService(), ResourceLoaderFileModule\getPackageFileType(), ResourceLoaderFileModule\getPath(), File\getPath(), WebRequest\getPathInfo(), MWFileProps\getPropsFromPath(), Site\getProtocol(), UploadBase\getRealPath(), MediaWiki\Rest\Router\getRelativePath(), ResourceLoaderModule\getRelativePaths(), FSFileBackendList\getRelPath(), ResourceLoaderFileModule\getRemotePath(), ApiResult\getResultData(), Wikimedia\UUID\GlobalIdGenerator\getSequentialPerNodeIDs(), MediaWiki\Interwiki\InterwikiLookupAdapter\getSiteInterwikis(), MediaWikiTwigLoader\getSource(), Gateway_Form_Mustache\getSrcSet(), ExternalStoreFactory\getStoreForUrl(), ResourceLoaderFileModule\getStyleSheetLang(), getThemePath(), getThemePaths(), File\getThumbRel(), File\getThumbVirtualUrl(), ExternalStoreMemory\getURLComponents(), File\getVirtualUrl(), FileRepo\getVirtualUrl(), WikiMap\getWikiReferenceFromWgConf(), WikiMap\getWikiWikiReferenceFromSites(), File\getZoneUrl(), ForeignResourceManager\handleTypeFile(), ForeignResourceManager\handleTypeMultiFile(), WikiImporter\handleUpload(), FileBackendStore\ingestFreshFileStats(), FileRepo\initDirectory(), PathRouter\internalParse(), FileBackend\isPathTraversalFree(), Wikimedia\Rdbms\DatabaseSqlite\isProcessMemoryPath(), FileBackend\isStoragePath(), SwiftFileBackend\loadListingStatInternal(), CheckDependencies\loadThing(), SiteImporter\makeSite(), PathRouter\makeWeight(), MediaWiki\Rest\PathTemplateMatcher\PathMatcher\match(), ConvertExtensionToRegistration\needsComposerAutoloader(), MediaWiki\FileBackend\FSFile\TempFSFileFactory\newTempFSFile(), FileBackend\normalizeContainerPath(), FileOp\normalizeIfValidStoragePath(), LockManager\normalizePathsByType(), AutoloadGenerator\normalizePathSeparator(), MediaWiki\HookContainer\HookRunner\onImgAuthBeforeStream(), Wikimedia\Rdbms\DatabaseSqlite\open(), PathRouter\parse(), ExternalStoreDB\parseURL(), ApiResult\path(), CleanupImages\pokeFile(), ApiPageSet\populateGeneratorData(), FileOp\precheck(), FileBackendStore\preloadCache(), FileBackendStore\primeContainerCache(), FileBackendStore\primeFileCache(), ResourceLoaderFileModule\processStyle(), PruneFileCache\prune_directory(), FSLockManager\pruneKeyLockFiles(), TempFSFile\purgeAllOnShutdown(), ExtensionRegistry\queue(), SquidPurgeClient\queuePurge(), FileRepo\quickPurge(), FileRepo\quickPurgeBatch(), AutoloadGenerator\readDir(), ExtensionRegistry\readFromQueue(), ResourceLoaderOOUIImageModule\readJSONFile(), ResourceLoaderFileModule\readStyleFile(), SqliteInstaller\realpath(), MemcLockManager\recordKeyForPath(), RedisLockManager\recordKeyForPath(), ResourceLoader\register(), ConfigurationReader\registerConfigDirectory(), ConvertExtensionToRegistration\removeAutodiscoveredParserTestFiles(), ApiResult\removePreserveKeysList(), ApiResult\removeSubelementsList(), ApiResult\removeValue(), FileRepo\resolveToStoragePathIfVirtual(), FileBackendMultiWrite\resyncFiles(), ApiQueryRandom\runQuery(), EraseArchivedFile\scrubVersion(), CookieJar\serializeToHttpRequest(), Wikimedia\Rdbms\DatabaseSqlite\serverIsReadOnly(), ExtensionProcessor\setArrayHookHandler(), ConfigurationReader\setConfigurationFromDirectory(), Wikimedia\Http\SetCookieCompat\setCookieEmulated(), AutoloadGenerator\setExcludePaths(), FileBackendStore\setFileCache(), MediaWikiSite\setFilePath(), MediaWikiSite\setPagePath(), AutoloadGenerator\setPsr4Namespaces(), ExtensionProcessor\setStringHookHandler(), AutoloadGenerator\shouldExclude(), SpecialUndelete\showFile(), Licenses\stackItem(), UploadStash\stashFile(), UploadSourceAdapter\stream_open(), SevenZipStream\stream_open(), FileRepo\streamFileWithStatus(), SevenZipStream\stripPath(), ApiMain\substituteResultWithError(), OutputPage\transformResourcePath(), FileBackendDBRepoWrapper\translateArrayResults(), SpecialRevisionDelete\tryShowFile(), SevenZipStream\url_stat(), ExtensionJsonValidator\validate(), PathRouter\validateRoute(), wfBaseName(), wfImageAuthMain(), wfLoadExtension(), wfLoadSkin(), and wfRelativePath().
$success = session_start() |
Definition at line 42 of file NoLocalSettings.php.
Referenced by BlockUsers\blockUsers(), User\checkAndSetTouched(), LocalFileRestoreBatch\cleanupFailedBatch(), MediaWiki\Block\BlockRestrictionStore\delete(), APCUBagOStuff\doAdd(), MediumSpecificBagOStuff\doCas(), WinCacheBagOStuff\doCas(), SqlBagOStuff\doCas(), APCUBagOStuff\doSet(), FixDoubleRedirects\execute(), PurgeParserCache\execute(), CompressOld\execute(), MemoizedCallable\fetchResult(), EnhancedChangesList\getLineData(), APCUBagOStuff\incrWithInit(), FileBackendStore\ingestFreshFileStats(), WikiPage\insertRedirectEntry(), MemoizedCallable\invokeArgs(), MessageCache\load(), SpecialCreateAccount\logAuthResult(), SpecialUserLogin\logAuthResult(), Linker\makeExternalImage(), Linker\makeExternalLink(), MediumSpecificBagOStuff\mergeViaCas(), Wikimedia\Rdbms\LoadBalancer\pingAll(), EnhancedChangesList\recentChangesBlockLine(), SpecialBotPasswords\save(), CachingSiteStore\saveSites(), DBSiteStore\saveSites(), MessageCache\saveToCaches(), MediaTransformOutput\streamFileWithStatus(), GenerateJsonI18n\transformI18nFile(), SpecialUpload\unsaveUploadedFile(), MediaWiki\Block\DatabaseBlock\update(), MediaWiki\Block\BlockRestrictionStore\update(), MediaWiki\Block\BlockRestrictionStore\updateByParentBlockId(), WikiPage\updateRedirectOn(), and SqlBagOStuff\updateTable().
$templateParser = new TemplateParser() |
Definition at line 47 of file NoLocalSettings.php.
Referenced by VectorTemplate\__construct(), VectorTemplate\getTemplateParser(), and wfForbidden().
foreach(array_filter(explode('/', $_SERVER['PHP_SELF'])) as $part) if (!function_exists('session_name')) else |
Definition at line 37 of file NoLocalSettings.php.
try |
Definition at line 50 of file NoLocalSettings.php.