MediaWiki  master
router.php File Reference

Router for the php cli-server built-in webserver. More...

Go to the source code of this file.

Variables

 $acceptGzip = preg_match( '/\bgzip\b/', $_SERVER['HTTP_ACCEPT_ENCODING'] ?? '' )
 
 $content = file_get_contents( $file )
 
if(!is_readable( $file)) $ext = pathinfo( $file, PATHINFO_EXTENSION )
 
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file = $_SERVER['SCRIPT_FILENAME']
 Item class for a filearchive table row. More...
 
 $lines = explode( "\n", file_get_contents( "includes/libs/mime/mime.types" ) )
 
if( $ext=='php') else
 
return true
 

Detailed Description

Router for the php cli-server built-in webserver.

https://www.php.net/manual/en/features.commandline.webserver.php

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

Variable Documentation

◆ $acceptGzip

$acceptGzip = preg_match( '/\bgzip\b/', $_SERVER['HTTP_ACCEPT_ENCODING'] ?? '' )

Definition at line 81 of file router.php.

◆ $content

$content = file_get_contents( $file )

Definition at line 78 of file router.php.

Referenced by PoolWorkArticleView\__construct(), ContentHandler\__construct(), OutputPage\addContentOverride(), InfoAction\addTable(), ResourceLoaderModule\buildContent(), MediaWiki\Permissions\PermissionManager\checkUserConfigPermissions(), CleanupSpam\cleanupArticle(), MediaWiki\Storage\PageUpdater\computeEffectiveTags(), Installer\createMainpage(), EditPage\displayPermissionsError(), WikiPage\doDeleteArticleBatched(), Article\doDeleteUpdates(), WikiPage\doDeleteUpdates(), SwiftFileBackend\doGetFileContentsMulti(), FileBackendStore\doGetFileContentsMulti(), Revision\RevisionStore\emulateMainSlot_1_29(), ApiEditPage\execute(), BenchmarkJavaScriptMinifier\execute(), BenchmarkJSMinPlus\execute(), MakeTestEdits\execute(), ViewCLI\execute(), DumpRev\execute(), GetTextMaint\execute(), ImportSiteScripts\execute(), ApiStashEdit\execute(), EditCLI\execute(), Parser\extensionSubstitution(), ApiQueryRevisionsBase\extractAllSlotInfo(), ApiQueryRevisionsBase\extractSlotInfo(), Parser\extractTagsAndParams(), ApiFeedContributions\feedItemDesc(), SpecialNewpages\feedItemDesc(), Xml\fieldset(), PopulateContentTables\fillMissingFields(), WikiImporter\finishImportPage(), RefreshLinks\fixRedirect(), FormatMetadata\flattenArrayReal(), CoreTagHooks\gallery(), AutoloadGenerator\generatePHPAutoload(), BaseTemplate\getAfterPortlet(), FindHooks\getBadHooksFromFile(), PreferencesFormOOUI\getBody(), MediaWiki\Widget\CheckMatrixWidget\getCellTag(), Revision\RevisionRecord\getContent(), ResourceLoaderWikiModule\getContent(), ResourceLoaderWikiModule\getContentObj(), Article\getContentObject(), EditPage\getContentObject(), ContentHandler\getContentText(), EditPage\getCurrentContent(), Article\getDeletionUpdates(), WikiPage\getDeletionUpdates(), ApiComparePages\getDiffRevision(), Article\getEmptyPageParserOutput(), FileBackendStore\getFileContentsMulti(), FindHooks\getHooksFromFile(), FindHooks\getHooksFromLocalDoc(), ChangeTagsRevisionItem\getHTML(), ChangeTagsLogItem\getHTML(), RevDelRevisionItem\getHTML(), BaseTemplate\getIndicators(), MessageCache\getMessageTextFromContent(), PNGMetadataExtractor\getMetadata(), EditPage\getOriginalContent(), ResourceLoaderFileModule\getPackageFiles(), EditPage\getPreloadedContent(), EditPage\getPreviewText(), RawAction\getRawText(), LogFormatter\getRestrictedElement(), Article\getRevisionRedirectTarget(), MediaWiki\Rest\Handler\CompareHandler\getRevisionText(), Revision\getRevisionText(), OutputPage\getRlClientContext(), MediaWiki\Storage\DerivedPageDataUpdater\getSecondaryDataUpdates(), BaseTemplate\getSidebar(), DifferenceEngine\getSlotDiffRenderers(), Revision\RenderedRevision\getSlotParserOutput(), Article\getSubstituteContent(), ResourceLoaderFileModule\getTemplates(), ResourceLoaderWikiModule\getTitleInfo(), FileBackendGroup\guessMimeInternal(), DumpRenderer\handleRevision(), FixDefaultJsonContentPages\handleRow(), CoreTagHooks\html(), ClassCollector\implodeTokens(), CheckStorage\importRevision(), CoreTagHooks\indicator(), EditPage\initialiseForm(), initText(), WikiPage\insertRedirect(), EditPage\internalAttemptSave(), MediaWiki\Storage\DerivedPageDataUpdater\isCountable(), WikiPage\isCountable(), MovePage\isValidMoveTarget(), Title\isValidMoveTarget(), JobRunner\loadBackoffs(), MessageCache\loadCachedMessagePageEntry(), Benchmarker\loadFile(), MessageCache\loadFromDB(), Revision\RevisionStore\loadSlotContent(), MediaWiki\Storage\PageUpdater\makeAutoSummary(), ResourceLoader\makeModuleResponse(), MediaWiki\Storage\PageUpdater\makeNewRevision(), MediaWiki\Storage\RevisionSlotsUpdate\newFromContent(), Revision\RevisionStore\newMutableRevisionFromArray(), CoreTagHooks\nowiki(), InfoAction\onView(), SpecialUploadStash\outputContents(), MediaWiki\outputResponsePayload(), RebuildTextIndex\populateSearchIndex(), CoreTagHooks\pre(), MediaWiki\Storage\DerivedPageDataUpdater\prepareContent(), PreprocessDump\processRevision(), CompareParsers\processRevision(), ApiFormatXml\recXmlPrint(), Parser\replaceTransparentTags(), DoubleRedirectJob\run(), BenchmarkParse\runParser(), ParserOutput\setIndicator(), EditPage\setPreloadedContent(), SpecialRecentChanges\setTopText(), ParserOptions\setupFakeRevision(), EditPage\showEditForm(), SpecialBookSources\showList(), SpecialUndelete\showRevision(), Parser\statelessFetchTemplate(), Revision\RevisionStore\storeContentBlob(), LogFormatter\styleRestricedElement(), JobRunner\syncBackoffDeltas(), Xml\textarea(), EditPage\toEditContent(), EditPage\toEditText(), PageArchive\undeleteRevisions(), MessageCache\updateMessageOverride(), WikiPage\updateRevisionOn(), PopulateRevisionLength\upgradeRow(), wfThumbError(), OOUIHTMLForm\wrapForm(), XmlDumpWriter\writeRevision(), and XmlDumpWriter\writeSlot().

◆ $ext

if (!is_readable($file)) $ext = pathinfo( $file, PATHINFO_EXTENSION )

Definition at line 48 of file router.php.

Referenced by ResourceLoaderImage\__construct(), ApiQuerySiteinfo\appendExtensions(), ApiQuerySiteinfo\appendFileExtensions(), PHPVersionCheck\checkExtensionExistence(), UploadBase\checkFileExtension(), UploadBase\checkFileExtensionList(), UploadFromChunks\concatenateChunks(), StreamFile\contentTypeFromPath(), HTTPFileStreamer\contentTypeFromPath(), MimeAnalyzer\detectMimeType(), MimeAnalyzer\detectZipType(), Installer\dirIsExecutable(), LocalFileDeleteBatch\doDBInserts(), MemoryFileBackend\doGetLocalCopyMulti(), FSFileBackend\doGetLocalCopyMulti(), SwiftFileBackend\doGetLocalCopyMulti(), MimeAnalyzer\doGuessMimeType(), WebInstallerOptions\execute(), ApiImageRotate\execute(), SpecialVersion\execute(), LocalFileDeleteBatch\execute(), FileBackend\extensionFromPath(), ImportImages\findFiles(), File\getArchiveThumbUrl(), File\getArchiveUrl(), Revision\MainSlotRoleHandler\getDefaultModel(), SpecialMediaStatistics\getExtensionList(), ApiFormatBase\getFilename(), CSSMin\getMimeType(), ResourceLoaderImage\getMimeType(), IEContentAnalyzer\getMimeTypeForVersion(), ApiBase\getModuleSourceInfo(), MWFileProps\getPropsFromPath(), FSFile\getPropsFromPath(), File\getStorageKey(), MediaHandler\getThumbType(), UploadBase\getTitle(), MimeAnalyzer\getTypesForExtension(), File\getUrl(), FileRepo\getZoneUrl(), ForeignAPIRepo\getZoneUrl(), File\getZoneUrl(), FileBackendGroup\guessMimeInternal(), MimeAnalyzer\guessMimeType(), MimeAnalyzer\guessTypesForExtension(), MediaWiki\OutputHandler\handleGzip(), LocalRepo\hiddenFileHasKey(), ChannelFeed\httpHeaders(), MimeAnalyzer\improveTypeFromExtension(), MimeAnalyzer\isMatchingExtension(), MimeAnalyzer\loadFiles(), FileRepo\nameForThumb(), MediaWiki\FileBackend\FSFile\TempFSFileFactory\newTempFSFile(), ImagePage\openShowImage(), AutoloadGenerator\readDir(), GenerateSitemap\sitemapFilename(), WebInstallerOptions\submit(), and wfLoadExtensions().

◆ $file

ArchivedFile $file = $_SERVER['SCRIPT_FILENAME']

Item class for a filearchive table row.

Definition at line 42 of file router.php.

Referenced by IncludableSpecialPage\__construct(), UnlistedSpecialPage\__construct(), DumpBZip2Output\__construct(), DumpDBZip2Output\__construct(), DumpGZipOutput\__construct(), DumpLBZip2Output\__construct(), DumpFileOutput\__construct(), Dump7ZipOutput\__construct(), DumpPipeOutput\__construct(), ImageBuilder\addMissingImage(), OutputPage\addScriptFile(), Wikimedia\Rdbms\DatabaseSqlite\attachDatabase(), AutoLoader\autoload(), OutputPage\buildCssLinksArray(), GIFHandler\canAnimateThumbnail(), ImageHandler\canRender(), TiffHandler\canRender(), XCFHandler\canRender(), WebPHandler\canRender(), FindOrphanedFiles\checkFiles(), Sqlite\checkSqlSyntax(), UploadBase\checkXMLEncodingMissmatch(), ForeignResourceManager\cleanUp(), ImagePage\delete(), ApiDelete\deleteFile(), MimeAnalyzer\detectMimeType(), UploadBase\detectScript(), UploadBase\detectVirus(), Installer\dirIsExecutable(), SpecialRedirect\dispatchFile(), PopulateImageSha1\doDBUpdates(), MimeAnalyzer\doGuessMimeType(), FileOpPerfTest\doPerfTest(), RevDelFileList\doPostCommitUpdates(), UploadBase\doStashFile(), MovePageForm\doSubmit(), DjVuImage\dump(), DjVuImage\dumpForm(), MediaWiki\Logger\LegacyLogger\emit(), CSSMin\encodeImageAsDataURI(), BenchmarkTidy\execute(), ApiImageRotate\execute(), ExportSites\execute(), ImportSites\execute(), FindMissingFiles\execute(), ApiQueryStashImageInfo\execute(), BenchmarkCSSMin\execute(), BenchmarkJavaScriptMinifier\execute(), CheckImages\execute(), ApiQueryFilearchive\execute(), DeleteArchivedFiles\execute(), GeneratePhpCharToUpperMappings\execute(), MigrateFileRepoLayout\execute(), CleanupUploadStash\execute(), EraseArchivedFile\execute(), PatchSql\execute(), InvalidateUserSesssions\execute(), ImportTextFiles\execute(), CreateCommonPasswordCdb\execute(), DeleteBatch\execute(), GenerateNormalizerDataAr\execute(), RefreshFileHeaders\execute(), MwSql\execute(), SpecialVersion\execute(), MoveBatch\execute(), UpdateSearchIndex\execute(), FindHooks\execute(), UpdateMediaWiki\execute(), RefreshImageMetadata\execute(), ImportImages\execute(), FindDeprecated\execute(), SpecialUndelete\execute(), ResourceLoaderFileModule\expandPackageFiles(), ResourceLoaderOOUIFileModule\extendSkinSpecific(), ExtensionProcessor\extractExtensionMessagesFiles(), ExtensionProcessor\extractMessagesDirs(), Parser\fetchFileAndTitle(), Parser\fetchFileNoRegister(), FileRepo\fileExists(), ForeignAPIRepo\fileExistsBatch(), FileRepo\fileExistsBatch(), CoreParserFunctions\filepath(), DumpUploads\filterItem(), ImportImages\findAuxFile(), LocalRepo\findBySha1s(), RiffExtractor\findChunks(), RiffExtractor\findChunksFromFile(), Installer\findExtensionsByType(), RepoGroup\findFileFromKey(), LocalRepo\findFiles(), ImportImages\findFiles(), FileRepo\findFiles(), SpecialUndelete\formatFileRow(), SvgHandler\formatMetadata(), ImageListPager\formatValue(), GenerateCollationData\generateFirstChars(), ImageHistoryPseudoPager\getBody(), MWDebug\getCallerDescription(), FileContentHandler\getDataForSearchIndex(), UploadForm\getDescriptionSection(), ImageHandler\getDimensionsString(), SpecialUpload\getDupeWarning(), WikiFilePage\getDuplicates(), SpecialUpload\getExistsWarning(), SpecialVersion\getExtAuthorsFileName(), SpecialVersion\getExtLicenseFileName(), SpecialUndelete\getFileComment(), ImportImages\getFileCommentFromSourceWiki(), WebInstallerDocument\getFileContents(), SpecialUndelete\getFileLink(), WebRequest\getFileName(), MWDebug\getFilesIncluded(), WebRequest\getFileTempname(), SpecialUndelete\getFileUser(), ImportImages\getFileUserFromSourceWiki(), WikiFilePage\getForeignCategories(), MediaHandler\getGeneralLongDesc(), MediaHandler\getGeneralShortDesc(), WebPHandler\getImageSize(), SvgHandler\getImageSize(), DjVuImage\getInfo(), ApiQueryImageInfo\getInfo(), PNGHandler\getLength(), GIFHandler\getLength(), MWExceptionHandler\getLogMessage(), MWExceptionHandler\getLogNormalMessage(), ImageHandler\getLongDesc(), SvgHandler\getLongDesc(), MediaHandler\getLongDesc(), MediaWiki\Languages\LanguageNameUtils\getMessagesFileName(), CSSMin\getMimeType(), DjVuImage\getMultiPageInfo(), InstallerOverrides\getOverrides(), DjVuImage\getPageInfo(), SpecialFilepath\getRedirect(), ExifBitmapHandler\getRotation(), ResourceLoaderFileModule\getScriptURLsForDebug(), ImageHandler\getShortDesc(), MediaHandler\getShortDesc(), ResourceLoaderFileModule\getStyleURLsForDebug(), ImageHistoryList\getThumbForLine(), ForeignAPIFile\getThumbnails(), LocalFile\getThumbnails(), TransformationalImageHandler\getThumbnailSource(), Wikimedia\ParamValidator\SimpleCallbacks\getUploadedFile(), WebRequest\getUploadError(), MimeAnalyzer\guessMimeType(), MWExceptionHandler\handleError(), ConvertExtensionToRegistration\handleExtensionMessagesFiles(), MWExceptionHandler\handleFatalError(), ForeignResourceManager\handleTypeMultiFile(), ForeignResourceManager\handleTypeTar(), ImageBuilder\imageCallback(), ImagePage\imageDupes(), ImageHistoryList\imageHistoryLine(), ImportableUploadRevisionImporter\import(), SiteImporter\importFromFile(), BackupReader\importFromFile(), BackupReader\importFromStdin(), UploadStash\initFile(), MediaWiki\initializeArticle(), AutoloadGenerator\initMediaWikiDefault(), SvgHandler\isAnimatedImage(), MediaWiki\BadFileLookup\isBadFile(), DjVuHandler\isExpensiveToThumbnail(), TiffHandler\isExpensiveToThumbnail(), TransformationalImageHandler\isImageAreaOkForThumbnaling(), MovePage\isValidFileMove(), MovePage\isValidMoveTarget(), Title\isValidMoveTarget(), JobRunner\loadBackoffs(), Benchmarker\loadFile(), BackupDumper\loadPlugin(), Wikimedia\Services\ServiceContainer\loadWiringFiles(), RecompressTracked\logToFile(), Parser\makeImage(), DummyLinker\makeImageLink(), Linker\makeImageLink(), DummyLinker\makeMediaLinkFile(), Linker\makeMediaLinkFile(), ResourceLoader\makeModuleResponse(), SqliteInstaller\makeStubDBFile(), DummyLinker\makeThumbLink2(), Linker\makeThumbLink2(), DummyLinker\makeThumbLinkObj(), Linker\makeThumbLinkObj(), MovePage\moveFile(), TransformationalImageHandler\mustRender(), ImportStreamSource\newFromFile(), OldLocalFile\newFromRow(), LocalFile\newFromRow(), ArchivedFile\newFromRow(), ImportStreamSource\newFromURL(), ImageBuilder\oldimageCallback(), DumpUploads\outputItem(), SpecialUploadStash\outputLocallyScaledThumb(), SpecialUploadStash\outputRemoteScaledThumb(), SpecialUploadStash\outputThumbFromStash(), SpecialUploadStash\parseKey(), ApiUpload\performUpload(), ExtensionRegistry\processAutoLoader(), BackupDumper\processOptions(), DummyLinker\processResponsiveImages(), Linker\processResponsiveImages(), PruneFileCache\prune_directory(), FileRepo\publishBatch(), PurgeChangedFiles\purgeFromLogType(), LocalFile\purgeOldThumbnails(), LocalFile\purgeThumbList(), ForeignAPIFile\purgeThumbnails(), LocalFile\purgeThumbnails(), DjVuImage\readChunk(), AutoloadGenerator\readDir(), ResourceLoaderFileModule\readStyleFile(), ResourceLoaderFileModule\readStyleFiles(), CSSMin\remap(), CSSMin\remapOne(), MediaWiki\Widget\Search\FullSearchResultWidget\render(), Parser\renderImageGallery(), Parser\replaceInternalLinks2(), CheckStorage\restoreText(), JpegHandler\rotate(), BitmapHandler\rotate(), ThumbnailRenderJob\run(), ApiQueryDuplicateFiles\run(), ApiQueryAllImages\run(), WikiFilePage\setFile(), ImagePage\setFile(), OutputPage\setFileVersion(), Dump7ZipOutput\setup7zCommand(), SpecialUndelete\showFileConfirmationForm(), EditPage\showIntro(), SpecialUploadStash\showUploads(), SpecialUpload\showUploadWarning(), DjVuImage\skipChunk(), JobRunner\syncBackoffDeltas(), Language\transformUsingPairFile(), ApiUpload\transformWarnings(), UploadBase\tryStashFile(), wfBacktrace(), wfExtractThumbParams(), wfGetPrecompiledData(), and XmlDumpWriter\writeUpload().

◆ $lines

◆ else

foreach ($lines as $line) if (preg_match('#^text/#', $mime) else)
Initial value:
{
$mime = 'text/plain'

Definition at line 52 of file router.php.

◆ true

ParserOutput::true

Definition at line 92 of file router.php.

Referenced by MediaWiki\Tidy\RemexDriver\__construct(), MemcachedPeclBagOStuff\__construct(), MessageCache\__construct(), DatabaseUpdater\addExtensionField(), DatabaseUpdater\addExtensionIndex(), DatabaseUpdater\addExtensionTable(), ApiErrorFormatter\addMessagesFromStatus(), User\changeAuthenticationData(), Wikimedia\Rdbms\MySQLMasterPos\channelsMatch(), User\checkPasswordValidity(), FileRepo\cleanupBatch(), FileBackendMultiWrite\consistencyCheck(), CommentStore\createComment(), SqlBagOStuff\createTables(), SearchEngineConfig\defaultNamespaces(), FileRepo\deleteBatch(), CleanupUploadStash\doOperations(), DatabaseUpdater\dropExtensionField(), DatabaseUpdater\dropExtensionIndex(), DatabaseUpdater\dropExtensionTable(), ApiHelp\execute(), ApiEditPage\execute(), MigrateFileRepoLayout\execute(), FixDoubleRedirects\execute(), SpecialTags\execute(), ApiFormatJson\execute(), ApiQueryUsers\execute(), EtcdConfig\fetchAllFromEtcdServer(), FileOp\fileExists(), CoreParserFunctions\filepath(), FileOp\fileSha1(), ApiValidatePassword\getAllowedParams(), ApiEmailUser\getAllowedParams(), ApiUndelete\getAllowedParams(), ApiRollback\getAllowedParams(), ApiWatch\getAllowedParams(), ApiRevisionDelete\getAllowedParams(), ApiUserrights\getAllowedParams(), ApiQueryQueryPage\getAllowedParams(), ApiStashEdit\getAllowedParams(), ApiImageRotate\getAllowedParams(), ApiQueryRandom\getAllowedParams(), ApiOptions\getAllowedParams(), ApiMove\getAllowedParams(), ApiQueryAllPages\getAllowedParams(), ApiQueryBlocks\getAllowedParams(), ApiQuerySearch\getAllowedParams(), ApiQueryUsers\getAllowedParams(), ApiQueryDeletedrevs\getAllowedParams(), ApiQueryRevisions\getAllowedParams(), ApiQueryUserContribs\getAllowedParams(), ApiQueryRecentChanges\getAllowedParams(), Wikimedia\Rdbms\DatabaseSqlite\getAttributes(), Wikimedia\Rdbms\DatabasePostgres\getAttributes(), CreditsAction\getAuthor(), OOUIHTMLForm\getButtons(), PostgresUpdater\getCoreUpdateList(), ParserCache\getDirty(), MediaWiki\Auth\UserDataAuthenticationRequest\getFieldInfo(), FileRepo\getFileProps(), FormSpecialPage\getForm(), SpecialChangeContentModel\getFormFields(), DatabaseUpdater\getOldGlobalUpdates(), PostgresUpdater\getOldGlobalUpdates(), User\getOptionKinds(), MWFileProps\getPropsFromPath(), UploadForm\getSourceSection(), WikiMap\getWikiIdFromDbDomain(), AuthManagerSpecialPage\handleReauthBeforeExecute(), RollbackAction\handleRollbackRequest(), EditPage\importFormData(), FileRepo\initDirectory(), MemcachedPeclBagOStuff\initializeClient(), ExternalStoreDB\initializeTable(), Language\internalUserTimeAndDate(), MediaWiki\Block\DatabaseBlock\isHardblock(), User\isItemLoaded(), LoginSignupSpecialPage\load(), ApiAuthManagerHelper\loadAuthenticationRequests(), Skin\makeKnownUrlDetails(), JavaScriptMinifier\minify(), DatabaseUpdater\modifyExtensionField(), DatabaseUpdater\modifyExtensionTable(), MediaWiki\Session\UserInfo\newAnonymous(), HTMLCacheUpdateJob\newForBacklinks(), XmlTypeCheck\newFromFilename(), DuplicateJob\newFromJob(), ForeignAPIFile\newFromTitle(), ApiQuery\outputGeneralPageInfo(), ConverterRule\parse(), ConverterRule\parseFlags(), FileDeleteForm\prepareMessage(), SpecialTags\processTagForm(), FileRepo\publishBatch(), FileRepo\quickPurgeBatch(), UploadFromUrl\reallyFetchFile(), ResourceLoader\registerTestModules(), CSSMin\remap(), DatabaseUpdater\renameExtensionIndex(), FileBackendMultiWrite\resyncFiles(), MigrateFileRepoLayout\runBatch(), EraseArchivedFile\scrubVersion(), Message\setContext(), Profiler\setTemplated(), ApiMain\setupModule(), EditPage\showHeader(), FileRepo\storeBatch(), MediaWiki\Storage\PageEditStash\storeStashValue(), WebInstallerName\submit(), SyncFileBackend\syncBackends(), SkinTemplate\tabAction(), Wikimedia\Rdbms\DatabaseSqlite\tableExists(), SpecialUploadStash\tryClearStashedUploads(), HTMLUserTextField\validate(), MediaWiki\Session\UserInfo\verified(), and wfStreamThumb().