MediaWiki
1.34.0
|
cdb inspector tool More...
Go to the source code of this file.
Functions | |
cdbShowHelp ( $command) | |
Variables | |
if( $line===false) | $args = explode( ' ', $line, 2 ) |
$command = array_shift( $args ) | |
static | $fileHandle = false |
$line = Maintenance::readconsole() | |
$quit = false | |
$showhelp = false | |
do | |
switch( $command) if( $bad) | else |
cdb inspector 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 cdb.php.
if ($line===false) $args = explode( ' ', $line, 2 ) |
Definition at line 64 of file cdb.php.
Referenced by ParserDiffTest\__call(), StubObject\__call(), DumpBackup\__construct(), MediaTransformError\__construct(), TextPassDumper\__construct(), BackupDumper\__construct(), MemcachedClient\__construct(), PPTemplateFrame_Hash\__toString(), PPTemplateFrame_DOM\__toString(), StubObject\_call(), LogPage\actionText(), HTMLForm\addButton(), CachedAction\addCachedHTML(), SpecialCachedPage\addCachedHTML(), ArrayUtils\arrayDiffAssocRecursive(), MemoizedCallable\call(), Xhprof\callAny(), Scribunto_LuaSandboxInterpreter\callFunction(), Scribunto_LuaStandaloneInterpreter\callFunction(), Hooks\callHook(), MediaWiki\Auth\AuthManager\callMethodOnProviders(), Scribunto_LuaEngine\callParserFunction(), MediaWiki\Auth\AuthManager\checkAccountCreatePermissions(), Scribunto_LuaEngine\checkNumber(), Scribunto_LuaEngine\checkString(), Scribunto_LuaEngine\checkType(), WikiPage\commitRollback(), Scribunto_LuaLanguageLibrary\convertGrammar(), Scribunto_LuaLanguageLibrary\convertPlural(), Wikimedia\Rdbms\DatabaseSqlite\deadlockLoop(), Wikimedia\Rdbms\Database\deadlockLoop(), RecompressTracked\dispatch(), RecompressTracked\dispatchToChild(), RecompressTracked\doAllOrphans(), DeleteOldRevisions\doDelete(), MultiWriteBagOStuff\doWrite(), Xhprof\enable(), Xml\encodeJsCall(), SpecialInterwiki\error(), MediaWiki\Shell\Shell\escape(), ApiQueryAllMessages\execute(), FindHooks\execute(), CommandLineInc\execute(), SpecialEditWatchlist\execute(), RecompressTracked\executeChild(), Scribunto_LuaEngine\expandTemplate(), Wikimedia\Rdbms\LBFactory\forEachLBCallMethod(), Scribunto_LuaLanguageLibrary\formatDate(), Scribunto_LuaLanguageLibrary\formatDuration(), Scribunto_LuaLanguageLibrary\formatNum(), Scribunto_LuaLanguageLibrary\gender(), Http\get(), CachedAction\getCachedValue(), SpecialCachedPage\getCachedValue(), CacheHelper\getCachedValue(), Scribunto_LuaLanguageLibrary\getDurationIntervals(), InputBox\getEditActionArgs(), Scribunto_LuaEngine\getExpandedArgument(), WebInstaller\getHelpBox(), FindHooks\getHooksFromFile(), FindHooks\getHooksFromLocalDoc(), CaptchaAuthenticationRequestTest\getInstance(), FileRepo\getLocalCacheKey(), ForeignDBViaLBRepo\getSharedCacheKey(), ForeignDBRepo\getSharedCacheKey(), LocalRepo\getSharedCacheKey(), Scribunto_LuaTitleLibrary\getUrl(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\if(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\ifeq(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\iferror(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\ifexist(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\ifexpr(), PPFrame_Hash\implode(), PPFrame_DOM\implode(), PPFrame_Hash\implodeWithFlags(), PPFrame_DOM\implodeWithFlags(), Wikimedia\Rdbms\DatabasePostgres\insert(), MemoizedCallable\invokeArgs(), ScribuntoHooks\invokeHook(), XmlDumpWriter\invokeLenient(), Scribunto_LuaLanguageLibrary\languageMethod(), Scribunto_LuaEngine\loadPackage(), Maintenance\loadParamsAndArgs(), Scribunto_LuaEngine\loadPHPLibrary(), Maintenance\loadWithArgv(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\localTime(), MemcachedBagOStuff\makeKeyInternal(), WinCacheBagOStuff\makeKeyInternal(), CachedBagOStuff\makeKeyInternal(), MultiWriteBagOStuff\makeKeyInternal(), MediumSpecificBagOStuff\makeKeyInternal(), PPFrame_Hash\newChild(), PPFrame_DOM\newChild(), Scribunto_LuaEngine\newChildFrame(), Preprocessor_Hash\newCustomFrame(), Preprocessor_DOM\newCustomFrame(), RecompressTracked\newFromCommandLine(), FileBackend\newStatus(), UstringLibraryNormalizationTestProvider\next(), MediaWiki\Site\MediaWikiPageNameNormalizer\normalizePageName(), ComposerPhpunitXmlCoverageEdit\onEvent(), MediaWiki\Shell\Command\params(), Scribunto_LuaInterpreterTest\passthru(), Scribunto_LuaEngine\preprocess(), SpecialUpload\processVerificationError(), JobQueueRedis\pushBlobs(), Wikimedia\ParamValidator\Util\UploadedFileStream\quietCall(), Scribunto_LuaLanguageLibrary\register(), ImportReporter\reportLogItem(), Hooks\run(), MysqlMaintenance\runMysql(), Hooks\runWithoutAbort(), MWHttpRequest\setData(), Scribunto_LuaEngine\setTTL(), LogEventsList\showLogExtract(), SpecialUpload\showUploadWarning(), LocalRepo\skipWriteOperationIfSha1(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\switch(), CoreParserFunctions\tagObj(), Scribunto_LuaCommonTest\testCallParserFunction(), Scribunto_LuaInterpreterTest\testDoubleRoundtrip(), Scribunto_LuaUstringLibraryTest\testPCREErrors(), Scribunto_LuaCommonTest\testPHPLibrary(), Scribunto_LuaInterpreterTest\testRoundtrip(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\time(), MediaWiki\Shell\Command\unsafeParams(), PPFrame_Hash\virtualBracketedImplode(), PPFrame_DOM\virtualBracketedImplode(), PPFrame_Hash\virtualImplode(), PPFrame_DOM\virtualImplode(), wfEscapeShellArg(), wfForeignMemcKey(), wfGlobalCacheKey(), wfMemcKey(), wfMergeErrorArrays(), wfMsgReplaceArgs(), and DatabaseUpdater\writeSchemaUpdateFile().
$command = array_shift( $args ) |
Definition at line 65 of file cdb.php.
Referenced by MemcachedClient\_set(), cdbShowHelp(), PostgresUpdater\changeFkeyDeferrable(), MediaWiki\Shell\Shell\command(), MediaWiki\Shell\CommandFactory\create(), PostgresUpdater\dropFkey(), MWDocGen\execute(), JobQueue\factoryJob(), ExecutableFinder\findExecutable(), ResourceLoaderImage\rasterize(), Maintenance\readlineEmulation(), JpegHandler\rotate(), SevenZipStream\stream_open(), and JpegHandler\swapICCProfile().
|
static |
Definition at line 57 of file cdb.php.
Referenced by MSCompoundFileReader\__construct(), and MSCompoundFileReader\readHandle().
$line = Maintenance::readconsole() |
Definition at line 59 of file cdb.php.
Referenced by UIDGenerator\__construct(), MemcachedClient\_incrdecr(), MemcachedClient\_set(), TableDiffFormatter\added(), TableDiffFormatter\addedLine(), Skin\addToSidebarPlain(), DatabaseUpdater\appendLine(), SpecialRevisionDelete\buildCheckBoxes(), Licenses\buildLine(), SpamRegexBatch\buildRegexes(), SimpleCaptcha\buildRegexes(), RenameUserCleanup\checkRenameLog(), RenameUserCleanup\checkUserExistence(), OrderedStreamingForkController\consume(), TableDiffFormatter\context(), TableDiffFormatter\contextLine(), PdfImage\convertDumpToArray(), GadgetTest\create(), TableDiffFormatter\deleted(), TableDiffFormatter\deletedLine(), Wikimedia\StaticArrayWriter\encode(), Installer\envCheckShellLocale(), ImageMap\error(), UpdateLexerList\execute(), DeleteBatch\execute(), CreateCommonPasswordCdb\execute(), GenerateNormalizerDataAr\execute(), MwSql\execute(), MoveBatch\execute(), FetchText\execute(), MediaWiki\Rest\EntryPoint\execute(), MediaWiki\Shell\Command\execute(), RecompressTracked\executeChild(), InputBox\extractOptions(), ArrayDiffFormatter\format(), Scribunto_LuaSandboxEngine\formatLimitData(), GenerateCollationData\generateFirstChars(), ApiCSPReport\generateLogLine(), SpamRegexBatch\getBadLines(), MWDebug\getHTMLDebugLog(), Scribunto_LuaSandboxEngine\getLimitReportData(), MWExceptionHandler\getLogMessage(), MWExceptionHandler\getLogNormalMessage(), ReplaceAll\getReplacements(), FormatMetadata\getVisibleFields(), MWExceptionHandler\handleError(), MWExceptionHandler\handleFatalError(), SearchHighlighter\highlightSimple(), SearchHighlighter\highlightText(), MediaWiki\BadFileLookup\isBadFile(), MediaWiki\Block\DatabaseBlock\isWhitelistedFromAutoblocks(), UnifiedDiffFormatter\lines(), DiffFormatter\lines(), MediaWikiGadgetsDefinitionRepo\listFromDefinition(), MediaWiki\Widget\Search\SimpleSearchResultSetWidget\loadCustomCaptions(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget\loadCustomCaptions(), Licenses\makeLines(), TitleBlacklistEntry\newFromString(), UstringLibraryNormalizationTestProvider\next(), FormattedRCFeed\notify(), ConfirmEditHooks\onAlternateEditPreview(), SpecialGadgetUsage\outputResults(), QueryPage\outputResults(), ForeignResourceManager\parseBasicYaml(), TitleBlacklist\parseBlacklist(), SearchHighlighter\process(), SquidPurgeClient\processHeaderLine(), SquidPurgeClient\processStatusLine(), Maintenance\readlineEmulation(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), ImageMap\render(), UDPRCFeedEngine\send(), RedisPubSubFeedEngine\send(), SpecialFileDuplicateSearch\showList(), Wikimedia\Rdbms\Database\sourceStream(), WordLevelDiff\split(), SearchHighlighter\splitAndAdd(), MwSql\sqlDoQuery(), OrderedStreamingForkController\updateAvailableSockets(), RenameUserCleanup\updateTable(), ScribuntoHooks\validateScript(), wfBacktrace(), TableDiffFormatter\wrapLine(), and MediaWiki\Logger\Monolog\MwlogHandler\write().