MediaWiki REL1_34
|
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(), MemcachedClient\__construct(), DumpBackup\__construct(), BackupDumper\__construct(), TextPassDumper\__construct(), MediaTransformError\__construct(), PPTemplateFrame_DOM\__toString(), PPTemplateFrame_Hash\__toString(), StubObject\_call(), LogPage\actionText(), HTMLForm\addButton(), CachedAction\addCachedHTML(), SpecialCachedPage\addCachedHTML(), OutputPage\addWikiMsg(), OutputPage\addWikiMsgArray(), ArrayUtils\arrayDiffAssocRecursive(), Parser\braceSubstitution(), MemoizedCallable\call(), Xhprof\callAny(), Scribunto_LuaSandboxInterpreter\callFunction(), Scribunto_LuaStandaloneInterpreter\callFunction(), Hooks\callHook(), MediaWiki\Auth\AuthManager\callMethodOnProviders(), Parser\callParserFunction(), Scribunto_LuaEngine\callParserFunction(), MediaWiki\Auth\AuthManager\checkAccountCreatePermissions(), Scribunto_LuaEngine\checkNumber(), Scribunto_LuaEngine\checkString(), Scribunto_LuaEngine\checkType(), WikiPage\commitRollback(), Scribunto_LuaLanguageLibrary\convertGrammar(), Scribunto_LuaLanguageLibrary\convertPlural(), Parser\createAssocArgs(), Wikimedia\Rdbms\Database\deadlockLoop(), Wikimedia\Rdbms\DatabaseSqlite\deadlockLoop(), RecompressTracked\dispatch(), RecompressTracked\dispatchToChild(), RecompressTracked\doAllOrphans(), DeleteOldRevisions\doDelete(), MultiWriteBagOStuff\doWrite(), Xhprof\enable(), Xml\encodeJsCall(), SpecialInterwiki\error(), MediaWiki\Shell\Shell\escape(), SpecialEditWatchlist\execute(), ApiQueryAllMessages\execute(), CommandLineInc\execute(), FindHooks\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(), CacheHelper\getCachedValue(), SpecialCachedPage\getCachedValue(), Scribunto_LuaLanguageLibrary\getDurationIntervals(), InputBox\getEditActionArgs(), Scribunto_LuaEngine\getExpandedArgument(), WebInstaller\getHelpBox(), FindHooks\getHooksFromFile(), FindHooks\getHooksFromLocalDoc(), CaptchaAuthenticationRequestTest\getInstance(), FileRepo\getLocalCacheKey(), ForeignDBRepo\getSharedCacheKey(), ForeignDBViaLBRepo\getSharedCacheKey(), LocalRepo\getSharedCacheKey(), Scribunto_LuaTitleLibrary\getUrl(), SyntaxHighlight\highlight(), 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_DOM\implode(), PPFrame_Hash\implode(), PPFrame_DOM\implodeWithFlags(), PPFrame_Hash\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(), CachedBagOStuff\makeKeyInternal(), MediumSpecificBagOStuff\makeKeyInternal(), MemcachedBagOStuff\makeKeyInternal(), MultiWriteBagOStuff\makeKeyInternal(), WinCacheBagOStuff\makeKeyInternal(), PPFrame_DOM\newChild(), PPFrame_Hash\newChild(), Scribunto_LuaEngine\newChildFrame(), Preprocessor_DOM\newCustomFrame(), Preprocessor_Hash\newCustomFrame(), RecompressTracked\newFromCommandLine(), FileBackend\newStatus(), UstringLibraryNormalizationTestProvider\next(), MediaWiki\Site\MediaWikiPageNameNormalizer\normalizePageName(), ComposerPhpunitXmlCoverageEdit\onEvent(), Message\params(), MediaWiki\Shell\Command\params(), MediaWiki\Shell\FirejailCommand\params(), SyntaxHighlight\parserHook(), Scribunto_LuaInterpreterTest\passthru(), Scribunto_LuaEngine\preprocess(), SpecialUpload\processVerificationError(), JobQueueRedis\pushBlobs(), Wikimedia\ParamValidator\Util\UploadedFileStream\quietCall(), Scribunto_LuaLanguageLibrary\register(), Sanitizer\removeHTMLtags(), 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(), Scribunto_LuaUstringLibrary\ustringChar(), Scribunto_LuaUstringLibrary\ustringGsub(), PPFrame_DOM\virtualBracketedImplode(), PPFrame_Hash\virtualBracketedImplode(), PPFrame_DOM\virtualImplode(), PPFrame_Hash\virtualImplode(), wfEscapeShellArg(), wfForeignMemcKey(), wfGlobalCacheKey(), wfMemcKey(), wfMergeErrorArrays(), wfMsgReplaceArgs(), OutputPage\wrapWikiMsg(), and DatabaseUpdater\writeSchemaUpdateFile().
$command = array_shift( $args ) |
Definition at line 65 of file cdb.php.
Referenced by MemcachedClient\_set(), MediaWiki\Shell\Command\buildFinalCommand(), MediaWiki\Shell\FirejailCommand\buildFinalCommand(), cdbShowHelp(), PostgresUpdater\changeFkeyDeferrable(), MediaWiki\Shell\CommandFactory\create(), UploadBase\detectVirus(), 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(), SimpleCaptcha\buildRegexes(), SpamRegexBatch\buildRegexes(), RenameUserCleanup\checkRenameLog(), RenameUserCleanup\checkUserExistence(), OrderedStreamingForkController\consume(), TableDiffFormatter\context(), TableDiffFormatter\contextLine(), PdfImage\convertDumpToArray(), DjVuImage\convertDumpToXML(), GadgetTest\create(), TableDiffFormatter\deleted(), TableDiffFormatter\deletedLine(), Wikimedia\StaticArrayWriter\encode(), Installer\envCheckShellLocale(), ImageMap\error(), UpdateLexerList\execute(), MediaWiki\Rest\EntryPoint\execute(), MediaWiki\Shell\Command\execute(), CreateCommonPasswordCdb\execute(), DeleteBatch\execute(), FetchText\execute(), GenerateNormalizerDataAr\execute(), MoveBatch\execute(), MwSql\execute(), RecompressTracked\executeChild(), InputBox\extractOptions(), ArrayDiffFormatter\format(), Scribunto_LuaSandboxEngine\formatLimitData(), GenerateCollationData\generateFirstChars(), ApiCSPReport\generateLogLine(), SpamRegexBatch\getBadLines(), UploadBase\getFilenamePrefixBlacklist(), MWDebug\getHTMLDebugLog(), Scribunto_LuaSandboxEngine\getLimitReportData(), MWExceptionHandler\getLogMessage(), MWExceptionHandler\getLogNormalMessage(), ReplaceAll\getReplacements(), FormatMetadata\getVisibleFields(), Parser\handleAllQuotes(), MWExceptionHandler\handleError(), MWExceptionHandler\handleFatalError(), Parser\handleInternalLinks2(), Parser\handleTables(), SearchHighlighter\highlightSimple(), SearchHighlighter\highlightText(), MediaWiki\BadFileLookup\isBadFile(), MediaWiki\Block\DatabaseBlock\isWhitelistedFromAutoblocks(), DiffFormatter\lines(), UnifiedDiffFormatter\lines(), MediaWikiGadgetsDefinitionRepo\listFromDefinition(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget\loadCustomCaptions(), MediaWiki\Widget\Search\SimpleSearchResultSetWidget\loadCustomCaptions(), Licenses\makeLines(), TitleBlacklistEntry\newFromString(), UstringLibraryNormalizationTestProvider\next(), FormattedRCFeed\notify(), ConfirmEditHooks\onAlternateEditPreview(), SpecialGadgetUsage\outputResults(), QueryPage\outputResults(), ForeignResourceManager\parseBasicYaml(), TitleBlacklist\parseBlacklist(), DjVuImage\parseFormDjvu(), SearchHighlighter\process(), SquidPurgeClient\processHeaderLine(), SquidPurgeClient\processStatusLine(), Maintenance\readlineEmulation(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), ImageMap\render(), Parser\renderImageGallery(), RedisPubSubFeedEngine\send(), UDPRCFeedEngine\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().