MediaWiki
1.34.4
|
memcached diagnostic tool More...
Go to the source code of this file.
Functions | |
mccGetHelp ( $command) | |
mccShowUsage () | |
Show this command line tool usage. More... | |
Variables | |
if( $line===false) | $args = explode( ' ', $line ) |
$cache = $options['cache'] ?? null | |
$command = array_shift( $args ) | |
$debug = isset( $options['debug'] ) | |
$help = isset( $options['help'] ) | |
$line = Maintenance::readconsole() | |
if( $help) | $mcc |
$optionsWithArgs = [ 'cache' ] | |
$optionsWithoutArgs | |
$quit = false | |
$showhelp = false | |
do | |
if( $cache) elseif( $wgMainCacheType===CACHE_MEMCACHED) elseif(isset( $wgObjectCaches[$wgMainCacheType]['servers'])) | else |
memcached diagnostic tool
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 mcc.php.
mccGetHelp | ( | $command | ) |
mccShowUsage | ( | ) |
Show this command line tool usage.
Definition at line 62 of file mcc.php.
References mccGetHelp(), and print.
$cache = $options['cache'] ?? null |
Definition at line 33 of file mcc.php.
Referenced by MediaWiki\BadFileLookup\__construct(), LinkCache\__construct(), Pingback\acquireLock(), LinkCache\addLinkObj(), LinkBatch\addResultToCache(), MediaWiki\Auth\AuthManager\autoCreateUser(), SimpleCaptcha\badLoginKey(), SimpleCaptcha\badLoginPerUserKey(), Preprocessor\cacheGetTree(), TextExtracts\ApiQueryExtracts\cacheKey(), FileCacheBase\cacheMissKey(), Preprocessor\cacheSetTree(), BaseBlacklist\clearCache(), MessageBlobStore\clearGlobalCacheEntry(), User\clearSharedCache(), ResourceLoaderFileModule\compileLessFile(), MediaWiki\Auth\AuthManager\continueAccountCreation(), LanguageConverter\convertNamespace(), MultiWriteBagOStuff\deleteObjectsExpiringBefore(), UsersPager\doBatchLookups(), MultiWriteBagOStuff\doWrite(), ApiScribuntoConsole\execute(), McTest\execute(), LinkBatch\executeInto(), FormatMetadata\fetchExtendedMetadata(), Message\fetchMessage(), SpamBlacklist\filter(), ResourceLoader\filter(), MultiWriteBagOStuff\get(), MessageBlobStore\getBlobs(), Skin\getCachedNotice(), User\getCacheKey(), InfoAction\getCacheKey(), WikiMap\getCanonicalServerInfoForAllWikis(), ChangesListSpecialPage\getChangeTagListSummary(), WikiPage\getContentModel(), SpecialVersion\getCreditsForExtension(), SpamBlacklist\getCurrentLinks(), MediaWikiGadgetsDefinitionRepo\getDefinitionCacheKey(), ForeignDBFile\getDescriptionText(), File\getDescriptionText(), DifferenceEngine\getDiffBody(), PdfHandler\getDimensionInfo(), DjVuHandler\getDimensionInfo(), WANCacheReapUpdate\getEventAffectedKeys(), IcuCollation\getFirstLetterData(), UsersPager\getGroupMemberships(), ApiHelp\getHelp(), BaseBlacklist\getLocalBlacklists(), ObjectCache\getLocalServerInstance(), TransformationalImageHandler\getMagickVersion(), Wikimedia\Rdbms\DatabaseMysqlBase\getMasterServerInfo(), FileCacheBase\getMissesRecent(), LinkCache\getMutableCacheKeys(), WikiPage\getMutableCacheKeys(), ContentHandler\getParserOutputForIndexing(), UIDGenerator\getSequentialPerNodeIDs(), Wikimedia\Rdbms\DatabaseMysqlBase\getServerVersion(), BaseBlacklist\getSharedBlacklists(), Cite\getStoredReferences(), User\getTouched(), DependencyWrapper\getValueFromCache(), BaseBlacklist\getWhitelists(), SimpleCaptcha\getWikiIPWhitelist(), SyntaxHighlight\highlight(), SimpleCaptcha\increaseBadLoginCounter(), FileCacheBase\incrMissesRecent(), Parser\interwikiTransclude(), TitleBlacklist\invalidate(), InfoAction\invalidateCache(), ResourceLoaderWikiModule\invalidateModuleCache(), LinkCache\invalidateTitle(), SimpleCaptcha\isBadLoginPerUserTriggered(), SimpleCaptcha\isBadLoginTriggered(), MediaWiki\Block\DatabaseBlock\isWhitelistedFromAutoblocks(), SiteStats\jobs(), ChangeTags\listExplicitlyDefinedTags(), ChangeTags\listSoftwareActivatedTags(), ChangeTags\listSoftwareDefinedTags(), TitleBlacklist\load(), LocalFile\loadFromCache(), User\loadFromCache(), AjaxResponse\loadFromMemcached(), ExtensionRegistry\loadFromQueue(), Scribunto_LuaEngine\loadLibraryFromFile(), Title\loadRestrictions(), LanguageConverter\loadTables(), TitleBlacklist\loadWhitelist(), MediaWiki\main(), TitleBlacklistEntry\matches(), ObjectCache\newAnything(), ResourceFileCache\newFromContext(), SiteStats\numberingroup(), CiteHooks\onLinksUpdate(), CiteHooks\onLinksUpdateComplete(), ConfirmEditHooks\onPageContentSaveComplete(), LocalisationUpdate\onRecache(), LocalisationUpdate\onRecacheFallback(), HistoryAction\onView(), InfoAction\pageCounts(), CoreParserFunctions\pagesincategory(), SiteStats\pagesInNs(), User\pingLimiter(), ResourceLoaderWikiModule\preloadTitleInfo(), User\purge(), MediaWikiGadgetsDefinitionRepo\purgeDefinitionCache(), WikiPage\purgeInterwikiCheckKey(), Article\purgePatrolFooterCache(), ChangeTags\purgeTagCacheAll(), MessageBlobStore\recacheMessageBlob(), ScribuntoHooks\reportTiming(), ManageJobs\repushAbandoned(), SimpleCaptcha\resetBadLoginCounter(), MediaWiki\run(), ResourceLoaderModule\saveFileDependencies(), MultiWriteBagOStuff\setDebug(), MultiWriteBagOStuff\setMockTime(), Article\showPatrolFooter(), AjaxResponse\storeInMemcached(), DependencyWrapper\storeToCache(), ChangeTags\tagUsageStatistics(), User\touch(), WikiPage\triggerOpportunisticLinksUpdate(), Article\tryFileCache(), ResourceLoaderModule\validateScriptFile(), wfGenerateThumbnail(), wfIsDebugRawPage(), and MediaWiki\Session\PHPSessionHandler\write().
$command = array_shift( $args ) |
Definition at line 125 of file mcc.php.
Referenced by mccGetHelp().
$help = isset( $options['help'] ) |
Definition at line 32 of file mcc.php.
Referenced by ApiHelp\getHelpInternal(), HTMLFormField\getOOUI(), UploadForm\getSourceSection(), ApiMain\modifyHelp(), and ConfirmEditHooks\onTitleReadWhitelist().
$line = Maintenance::readconsole() |
if ($help) $mcc |
Definition at line 39 of file mcc.php.
Referenced by McTest\benchmarkMultiKeyOpsDeferredBlocking(), McTest\benchmarkMultiKeyOpsImmediateBlocking(), McTest\benchmarkSingleKeyOps(), and McTest\execute().