MediaWiki  1.27.3
cdb.php File Reference

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
 

Detailed Description

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

Todo:
document

Definition in file cdb.php.

Function Documentation

cdbShowHelp (   $command)

Definition at line 30 of file cdb.php.

References $command, as, and print.

Variable Documentation

if ($line===false) $args = explode( ' ', $line, 2 )

Definition at line 64 of file cdb.php.

Referenced by TestingAccessWrapper\__call(), ParserDiffTest\__call(), StubObject\__call(), MWNamespaceTest\__call(), MediaWikiTestCase\__call(), DumpBackup\__construct(), UserOptions\__construct(), BackupDumper\__construct(), TextPassDumper\__construct(), MemcachedClient\__construct(), MediaTransformError\__construct(), JSNode\__construct(), PPTemplateFrame_Hash\__toString(), PPTemplateFrame_DOM\__toString(), StubObject\_call(), LogPage\actionText(), HTMLForm\addButton(), CachedAction\addCachedHTML(), SpecialCachedPage\addCachedHTML(), ApiErrorFormatter\addMessagesFromStatus(), OutputPage\addWikiMsg(), OutputPage\addWikiMsgArray(), ArrayUtils\arrayDiffAssocRecursive(), OutputPageTest\assertTransformCssMediaCase(), Parser\braceSubstitution(), MemoizedCallable\call(), Parser\callParserFunction(), MediaWiki\Auth\AuthManager\checkAccountCreatePermissions(), UserOptions\checkOpts(), WikiPage\commitRollback(), ObjectFactory\constructClassInstance(), Parser\createAssocArgs(), DatabaseSqlite\deadlockLoop(), DatabaseBase\deadlockLoop(), MimeMagic\detectMimeType(), RecompressTracked\dispatch(), RecompressTracked\dispatchToSlave(), RecompressTracked\doAllOrphans(), DeleteOldRevisions\doDelete(), MultiWriteBagOStuff\doWrite(), Xml\encodeJsCall(), ApiQueryAllMessages\execute(), CommandLineInc\execute(), FindHooks\execute(), SpecialEditWatchlist\execute(), DatabaseBase\execute(), RecompressTracked\executeChild(), DatabaseBase\fillPrepared(), WikiImporter\finishImportPage(), RepoGroup\forEachForeignRepo(), LBFactory\forEachLBCallMethod(), Http\get(), CachedAction\getCachedValue(), SpecialCachedPage\getCachedValue(), CacheHelper\getCachedValue(), WebInstaller\getHelpBox(), FindHooks\getHooksFromFile(), FindHooks\getHooksFromLocalDoc(), MediaWiki\Auth\ButtonAuthenticationRequestTest\getInstance(), MediaWiki\Auth\PasswordDomainAuthenticationRequestTest\getInstance(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequestTest\getInstance(), MediaWiki\Auth\PasswordAuthenticationRequestTest\getInstance(), MediaWiki\Auth\RememberMeAuthenticationRequestTest\getInstance(), FileRepo\getLocalCacheKey(), GenerateJqueryMsgData\getMessagesAndTests(), ObjectFactory\getObjectFromSpec(), ForeignDBViaLBRepo\getSharedCacheKey(), ForeignDBRepo\getSharedCacheKey(), LocalRepo\getSharedCacheKey(), PPFrame_Hash\implode(), PPFrame_DOM\implode(), PPFrame_Hash\implodeWithFlags(), PPFrame_DOM\implodeWithFlags(), UserOptions\initializeOpts(), CoreParserFunctions\intFunction(), MemoizedCallable\invokeArgs(), Maintenance\loadParamsAndArgs(), Maintenance\loadWithArgv(), MemcachedBagOStuff\makeKeyInternal(), BagOStuff\makeKeyInternal(), MWExceptionTest\mockHook(), HTMLFormField\msg(), MWException\msg(), DBConnectionError\msg(), ContextSource\msg(), DerivativeContext\msg(), RequestContext\msg(), PPFrame_Hash\newChild(), PPFrame_DOM\newChild(), Preprocessor_Hash\newCustomFrame(), Preprocessor_DOM\newCustomFrame(), RecompressTracked\newFromCommandLine(), MediaWiki\Site\MediaWikiPageNameNormalizer\normalizePageName(), WikiImporter\pageOutCallback(), Message\params(), TemplateParser\processTemplate(), SpecialUpload\processVerificationError(), JobQueueRedis\pushBlobs(), SvgHandler\rasterize(), Sanitizer\removeHTMLtags(), ImportReporter\reportPage(), Hooks\run(), MWException\runHooks(), ContentHandler\runLegacyHooks(), MWHttpRequest\setData(), WebInstaller\showError(), WebInstaller\showHelpBox(), LogEventsList\showLogExtract(), WebInstaller\showMessage(), SpecialUpload\showUploadWarning(), CoreParserFunctions\tagObj(), ArrayUtilsTest\testArrayDiffAssocRecursive(), MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProviderTest\testBasics(), ObjectFactoryTest\testConstructClassInstance(), MessageTest\testConstructorParams(), MediaWiki\Auth\AuthenticationResponseTest\testConstructors(), MediaWiki\Session\PHPSessionHandlerTest\testDisabled(), OutputPageTest\testMakeResourceLoaderLink(), MediaWiki\Session\SessionTest\testMethods(), ObjectFactoryTest\testNamedArgs(), TemplateParserTest\testProcessTemplate(), ApiOptionsTest\testResetChangeOption(), MWExceptionTest\testRunHooks(), MediaWiki\Session\PHPSessionHandlerTest\testWrongInstance(), PPFrame_Hash\virtualBracketedImplode(), PPFrame_DOM\virtualBracketedImplode(), PPFrame_Hash\virtualImplode(), PPFrame_DOM\virtualImplode(), OutputPage\wrapWikiMsg(), and RandomImageGenerator\writeImageWithCommandLine().

$fileHandle = false
static

Definition at line 57 of file cdb.php.

Definition at line 59 of file cdb.php.

Referenced by UIDGenerator\__construct(), MemcachedClient\_incrdecr(), MemcachedClient\_set(), NewParserTest\addArticle(), TableDiffFormatter\added(), TableDiffFormatter\addedLine(), Skin\addToSidebarPlain(), DatabaseUpdater\appendLine(), SpecialRevisionDelete\buildCheckBoxes(), TableDiffFormatter\context(), TableDiffFormatter\contextLine(), DjVuImage\convertDumpToXML(), TableDiffFormatter\deleted(), TableDiffFormatter\deletedLine(), Parser\doAllQuotes(), Parser\doTableStuff(), Installer\envCheckShellLocale(), MwSql\execute(), GenerateNormalizerDataAr\execute(), GenerateCommonPassword\execute(), DeleteBatch\execute(), FetchText\execute(), MoveBatch\execute(), RecompressTracked\executeChild(), DumpTestCase\expectETAOutput(), ArrayDiffFormatter\format(), GenerateCollationData\generateFirstChars(), SpecialSearch\getCustomCaptions(), UploadBase\getFilenamePrefixBlacklist(), ApiBase\getFinalParamDescription(), MWDebug\getHTMLDebugLog(), MWExceptionHandler\getLogMessage(), RandomImageGenerator\getRandomLines(), FormatMetadata\getVisibleFields(), MWExceptionHandler\handleError(), MWExceptionHandler\handleFatalError(), SearchHighlighter\highlightSimple(), SearchHighlighter\highlightText(), Block\isWhitelistedFromAutoblocks(), UnifiedDiffFormatter\lines(), DiffFormatter\lines(), Licenses\makeLicenses(), RecentChange\notifyRCFeeds(), QueryPage\outputResults(), XMPReader\parse(), DjVuImage\parseFormDjvu(), SearchHighlighter\process(), SquidPurgeClient\processHeaderLine(), SquidPurgeClient\processStatusLine(), NewParserTest\publishTestArticles(), Maintenance\readlineEmulation(), TestFileIterator\readNextTest(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), Parser\renderImageGallery(), Parser\replaceInternalLinks2(), UDPRCFeedEngine\send(), RedisPubSubFeedEngine\send(), NewParserTest\setupGlobals(), ParserTest\setupGlobals(), FileDuplicateSearchPage\showList(), DatabaseOracle\sourceStream(), DatabaseBase\sourceStream(), WordLevelDiff\split(), SearchHighlighter\splitAndAdd(), MwSql\sqlDoQuery(), OldChangesListTest\testRecentChangesLine_CssForLineNumber(), OldChangesListTest\testRecentChangesLine_DiffHistLinks(), OldChangesListTest\testRecentChangesLine_Flags(), OldChangesListTest\testRecentChangesLine_LogTitle(), OldChangesListTest\testRecentChangesLine_NotWatchedCssClass(), OldChangesListTest\testRecentChangesLine_numberOfWatchingUsers(), OldChangesListTest\testRecentChangesLine_Tags(), OldChangesListTest\testRecentChangesLine_WatchedCssClass(), OldChangesListTest\testRecentChangesLine_watchlistCssClass(), wfHtmlValidationHandler(), and TableDiffFormatter\wrapLine().

$quit = false

Definition at line 56 of file cdb.php.

$showhelp = false

Definition at line 55 of file cdb.php.

do
Initial value:
{
$bad = false

Definition at line 53 of file cdb.php.

switch ($command) if ($bad) else
Initial value:
{
if ( function_exists( 'readline_add_history' ) ) {
readline_add_history( $line );
}
}
} while ( !$quit )
$quit
Definition: cdb.php:56
$line
Definition: cdb.php:59

Definition at line 127 of file cdb.php.