MediaWiki
1.30.0
|
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 = isset( $options['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 cache, connection, captcha-old\help, interactive, is(), mccGetHelp(), memcached, mode, on, that, and you.
Definition at line 33 of file mcc.php.
Referenced by LinkCache\__construct(), ParserCache\__construct(), Pingback\acquireLock(), LinkCache\addLinkObj(), LinkBatch\addResultToCache(), SiteStatsUpdate\adjustPending(), ProcessCacheLRUTest\assertCacheEmpty(), MediaWiki\Auth\AuthManager\autoCreateUser(), Skin\buildSidebar(), Preprocessor\cacheGetTree(), FileCacheBase\cacheMissKey(), Preprocessor\cacheSetTree(), ApiStashEdit\checkCache(), FeedUtils\checkPurge(), MessageBlobStore\clear(), BaseBlacklist\clearCache(), User\clearSharedCache(), ResourceLoaderFileModule\compileLessFile(), MediaWiki\Auth\AuthManager\continueAccountCreation(), MultiWriteBagOStuff\deleteObjectsExpiringBefore(), UsersPager\doBatchLookups(), WikiPage\doDeleteArticleReal(), MultiWriteBagOStuff\doGet(), MultiWriteBagOStuff\doWrite(), McTest\execute(), ApiStashEdit\execute(), LinkBatch\executeInto(), FormatMetadata\fetchExtendedMetadata(), ProcessCacheLRUTest\fillCache(), SpamBlacklist\filter(), MessageCache\getAllMessageKeys(), MessageBlobStore\getBlobs(), Skin\getCachedNotice(), User\getCacheKey(), InfoAction\getCacheKey(), Revision\getCacheTTL(), WikiMap\getCanonicalServerInfoForAllWikis(), WikiPage\getContentModel(), SpecialVersion\getCreditsForExtension(), SpamBlacklist\getCurrentLinks(), ForeignDBFile\getDescriptionText(), File\getDescriptionText(), DifferenceEngine\getDiffBody(), PdfHandler\getDimensionInfo(), DjVuHandler\getDimensionInfo(), WANCacheReapUpdate\getEventAffectedKeys(), IcuCollation\getFirstLetterData(), UsersPager\getGroupMemberships(), ApiHelp\getHelp(), DateFormatter\getInstance(), ObjectCache\getLocalServerInstance(), TransformationalImageHandler\getMagickVersion(), Wikimedia\Rdbms\DatabaseMysqlBase\getMasterServerInfo(), FileCacheBase\getMissesRecent(), LinkCache\getMutableCacheKeys(), WikiPage\getMutableCacheKeys(), BacklinkCache\getNumLinks(), ContentHandler\getParserOutputForIndexing(), SiteStatsUpdate\getPendingDeltas(), Revision\getRevisionText(), UIDGenerator\getSequentialPerNodeIDs(), ForeignAPIRepo\getThumbUrlFromCache(), User\getTouched(), SiteStatsUpdate\getTypeCacheKey(), DependencyWrapper\getValueFromCache(), SimpleCaptcha\getWikiIPWhitelist(), ForeignAPIRepo\httpGetCached(), SimpleCaptcha\increaseBadLoginCounter(), FileCacheBase\incrMissesRecent(), TitleBlacklist\invalidate(), InfoAction\invalidateCache(), ResourceLoaderWikiModule\invalidateModuleCache(), LinkCache\invalidateTitle(), SimpleCaptcha\isBadLoginPerUserTriggered(), SimpleCaptcha\isBadLoginTriggered(), MessageCache\isCacheExpired(), User\isEveryoneAllowed(), Language\isValidCode(), Block\isWhitelistedFromAutoblocks(), SiteStats\jobs(), ChangeTags\listExplicitlyDefinedTags(), ChangeTags\listSoftwareActivatedTags(), ChangeTags\listSoftwareDefinedTags(), TitleBlacklist\load(), MessageCache\load(), ChangesFeed\loadFromCache(), LocalFile\loadFromCache(), User\loadFromCache(), MessageCache\loadFromDB(), MessageCache\loadFromDBWithLock(), ExtensionRegistry\loadFromQueue(), Title\loadRestrictions(), Revision\loadText(), TitleBlacklist\loadWhitelist(), MediaWiki\main(), Wikimedia\Rdbms\LoadBalancer\masterRunningReadOnly(), TitleBlacklistEntry\matches(), ObjectCache\newAnything(), ResourceFileCache\newFromContext(), Revision\newKnownCurrent(), WatchedItemStoreUnitTest\newWatchedItemStore(), SiteStats\numberingroup(), ChangesList\numberofWatchingusers(), CiteHooks\onLinksUpdate(), CiteHooks\onLinksUpdateComplete(), ConfirmEditHooks\onPageContentSaveComplete(), LocalisationUpdate\onRecache(), LocalisationUpdate\onRecacheFallback(), HistoryAction\onView(), InfoAction\pageCounts(), CoreParserFunctions\pagesincategory(), ApiStashEdit\parseAndStash(), BacklinkCache\partition(), User\pingLimiter(), ResourceLoaderWikiModule\preloadTitleInfo(), User\purge(), MediaWikiGadgetsDefinitionRepo\purgeDefinitionCache(), Article\purgePatrolFooterCache(), ChangeTags\purgeTagCacheAll(), ChangeTags\purgeTagUsageCache(), MessageBlobStore\recacheMessageBlob(), SiteStatsUpdate\removePendingDeltas(), MessageCache\replace(), ManageJobs\repushAbandoned(), SimpleCaptcha\resetBadLoginCounter(), MediaWiki\run(), ResourceLoaderModule\saveFileDependencies(), ChangesFeed\saveToCache(), MessageCache\saveToCaches(), MessageCache\saveToLocalCache(), MultiWriteBagOStuff\setDebug(), MessageCache\setValidationHash(), Article\showMissingArticle(), Article\showPatrolFooter(), DependencyWrapper\storeToCache(), ChangeTags\tagUsageStatistics(), MediaWiki\Auth\AuthManagerTest\testAutoAccountCreation(), ProcessCacheLRUTest\testBumpExistingKeyToTop(), CachedBagOStuffTest\testCacheBackendMisses(), HashBagOStuffTest\testClear(), MediaWiki\Auth\ThrottlerTest\testClear(), HashBagOStuffTest\testConstructBadNeg(), HashBagOStuffTest\testConstructBadType(), HashBagOStuffTest\testConstructBadZero(), EtcConfigTest\testConstructCacheObj(), MediaWiki\Auth\ThrottlePreAuthenticationProviderTest\testConstructor(), MediaWiki\Auth\ThrottlerTest\testConstructor(), MediaWiki\Auth\AuthManagerTest\testContinueAccountCreation(), HashBagOStuffTest\testDelete(), HashBagOStuffTest\testEvictionAdd(), HashBagOStuffTest\testEvictionGet(), HashBagOStuffTest\testEvictionSet(), MediaWiki\Auth\ThrottlerTest\testExpiration(), HashBagOStuffTest\testExpire(), CachedBagOStuffTest\testExpire(), ProcessCacheLRUTest\testFillingCache(), CachedBagOStuffTest\testGetFromBackend(), FileBasedSiteLookupTest\testGetSite(), FileBasedSiteLookupTest\testGetSites(), MediaWiki\Auth\ThrottlerTest\testIncrease(), SiteStatsTest\testJobsCountGetCached(), EtcConfigTest\testLoadCacheExpiredLockFetchFails(), EtcConfigTest\testLoadCacheExpiredLockFetchSucceeded(), EtcConfigTest\testLoadCacheExpiredNoLock(), EtcConfigTest\testLoadCacheHit(), EtcConfigTest\testLoadCacheMiss(), EtcConfigTest\testLoadCacheMissBackendError(), EtcConfigTest\testLoadCacheMissWithoutLock(), EtcConfigTest\testLoadProcessCacheHit(), MediaWiki\Auth\ThrottlerTest\testLog(), CachedBagOStuffTest\testMakeGlobalKey(), CachedBagOStuffTest\testMakeKey(), MediaWiki\Auth\ThrottlerTest\testNamespacing(), LocalisationCacheTest\testPuralRulesFallback(), LocalisationCacheTest\testRecacheFallbacksWithHooks(), ProcessCacheLRUTest\testRecentlyAccessedKeyStickIn(), ProcessCacheLRUTest\testReplaceExistingKeyInAFullCacheShouldBumpToTop(), ProcessCacheLRUTest\testReplaceExistingKeyShouldBumpEntryToTop(), CachedBagOStuffTest\testSetAndDelete(), CachedBagOStuffTest\testSetDebug(), GlobalTest\testWfForeignMemcKey(), GlobalTest\testWfGlobalCacheKey(), GlobalTest\testWfMemcKey(), CachedBagOStuffTest\testWriteCacheOnly(), MediaWiki\Auth\ThrottlerTest\testZeroCount(), User\touch(), WikiPage\triggerOpportunisticLinksUpdate(), Article\tryFileCache(), ResourceLoaderModule\validateScriptFile(), wfGenerateThumbnail(), and MediaWiki\Session\PHPSessionHandler\write().
$command = array_shift( $args ) |
Definition at line 125 of file mcc.php.
Referenced by mccGetHelp().
$debug = isset( $options['debug'] ) |
Definition at line 31 of file mcc.php.
Referenced by MWDebug\debugMsg(), MWDebug\getDebugHTML(), MWDebug\getHTMLDebugLog(), MemcachedPhpBagOStuff\setDebug(), ReplicatedBagOStuff\setDebug(), MultiWriteBagOStuff\setDebug(), WikiImporter\setDebug(), ResourceLoaderTest\testMakeModuleResponseConcat(), Exif\validate(), and wfThumbError().
$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().
if ($help) $mcc |
Definition at line 39 of file mcc.php.
Referenced by McTest\execute().