MediaWiki  1.30.0
testCompression.php File Reference

Test revision text compression and decompression. More...

Go to the source code of this file.

Variables

 $blob = new $type
 
 $dbr = $this->getDB( DB_REPLICA )
 
 $hashes = []
 
 $keys = []
 
if(!isset( $args[0])) $lang = Language::factory( 'en' )
 
 $optionsWithArgs = [ 'start', 'limit', 'type' ]
 
 $res
 
foreach( $res as $row) $serialized = serialize( $blob )
 
 $t = -microtime( true )
 
 $title = Title::newFromText( $args[0] )
 
 $type = isset( $options['type'] ) ? $options['type'] : 'ConcatenatedGzipHistoryBlob'
 
 $uncompressedSize = 0
 
 $untilHappy = true
 
if(isset( $options['start'])) else
 

Detailed Description

Test revision text compression and decompression.

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 testCompression.php.

Variable Documentation

◆ $blob

◆ $dbr

$dbr = $this->getDB( DB_REPLICA )

Definition at line 50 of file testCompression.php.

◆ $hashes

◆ $keys

$keys = []

Definition at line 65 of file testCompression.php.

Referenced by Status\__sleep(), MemcLockManager\acquireMutexes(), ParserOutput\addJsConfigVars(), OutputPage\addJsConfigVars(), ApiResult\addMetadataToResultVars(), ApiResult\applyTransformations(), BatchRowIterator\buildGreaterThanCondition(), ProcessCacheLRU\clear(), MapCacheLRU\clear(), EmailNotification\composeCommonMailtext(), SqlBagOStuff\deleteObjectsExpiringBefore(), SpecialRedirect\dispatchLog(), JobQueueRedis\doDelete(), Installer\doGenerateKeys(), MySqlLockManager\doGetLocksOnServer(), BenchmarkLruHash\execute(), UploadStashCleanup\execute(), LocalisationUpdate\Updater\expandRemotePath(), Wikimedia\Rdbms\DatabaseSqlite\fieldName(), BlockListPager\formatValue(), MemcLockManager\freeLocksOnServer(), Installer\generateKeys(), MemcachedClient\get_multi(), WANCacheReapUpdate\getEventAffectedKeys(), MemcLockManager\getLocksOnServer(), MemcachedPhpBagOStuff\getMulti(), ReplicatedBagOStuff\getMulti(), RedisBagOStuff\getMulti(), MemcachedPeclBagOStuff\getMulti(), SqlBagOStuff\getMulti(), WANObjectCache\getMulti(), BagOStuff\getMulti(), HTMLFormField\getNearestFieldByName(), WANObjectCache\getNonProcessCachedKeys(), WANObjectCache\getRawKeysForWarmup(), ConvertExtensionToRegistration\handleCredits(), Wikimedia\Rdbms\DatabaseMssql\insert(), Wikimedia\Rdbms\DatabasePostgres\insert(), Wikimedia\Rdbms\Database\insert(), WANObjectCacheReaper\invoke(), LocalisationCache\isExpired(), UploadStash\listFiles(), MWRestrictions\loadFromArray(), UserPasswordPolicy\maxOfPolicies(), User\pingLimiter(), WANObjectCache\prefixCacheKeys(), MemcLockManager\releaseMutexes(), FormatMetadata\sanitizeArrayForAPI(), ApiResult\setValue(), PrefixSearch\specialSearch(), ApiWatchTest\testGetRollbackToken(), WANObjectCacheTest\testProcessCache(), ApiWatchTest\testWatchRollback(), and PoolCounterRedis\waitForSlotOrNotif().

◆ $lang

if (!isset($args[0])) $lang = Language::factory( 'en' )

Definition at line 33 of file testCompression.php.

Referenced by CiteCSSFileModule\__construct(), SearchNearMatcher\__construct(), SearchEngineConfig\__construct(), ParserOptions\__construct(), OutputPage\addAcceptLanguage(), LinkCache\addGoodLinkObj(), EditPage\addLongPageWarningHeader(), ProtectionForm\buildForm(), SpecialEditWatchlist\buildTools(), Preferences\datetimePreferences(), MediaWiki\Session\SessionProvider\describe(), TextContent\diff(), SpecialUndelete\diffHeader(), Skin\doEditSectionLink(), SpecialWatchlist\doHeader(), ImagePage\doRenderLangOpt(), SvgHandler\doTransform(), Installer\envCheckShellLocale(), Language\equals(), DateFormats\execute(), ListVariants\execute(), SpecialAutoblockList\execute(), SpecialBlockList\execute(), UpdateMediaWiki\execute(), QueryPage\execute(), MessageBlobStore\fetchMessage(), MessageCache\figureMessage(), FormatMetadata\flattenArrayReal(), BlockLogFormatter\formatBlockFlag(), BlockLogFormatter\formatBlockFlags(), CoreParserFunctions\formatDate(), ProtectLogFormatter\formatExpiry(), SpecialListGroupRights\formatPermissions(), DoubleRedirectsPage\formatResult(), ListredirectsPage\formatResult(), MIMEsearchPage\formatResult(), SpecialProtectedtitles\formatRow(), ActiveUsersPager\formatRow(), UsersPager\formatRow(), SpecialNewpages\formatRow(), ContribsPager\formatRow(), MessageBlobStore\generateMessageBlob(), MediaWiki\Widget\Search\FullSearchResultWidget\generateSizeHtml(), DummyLinker\generateTOC(), Linker\generateTOC(), MessageBlobStore\get(), MessageCache\get(), WebInstaller\getAcceptLanguage(), CreditsAction\getAuthor(), SvgHandler\getAvailableLanguages(), MessageBlobStore\getBlob(), MessageBlobStore\getBlobs(), CreditsAction\getContributors(), InfoAction\getContributors(), ApiQueryUserInfo\getCurrentUserInfo(), Preferences\getDateOptions(), Title\getDefaultMessageText(), FileRepo\getDescriptionRenderUrl(), ForeignDBFile\getDescriptionText(), LocalFile\getDescriptionText(), File\getDescriptionText(), Status\getErrorMessage(), Status\getErrorMessageArray(), RevertAction\getFormFields(), SpecialBotPasswords\getFormFields(), MWGrants\getGrantsLink(), MWGrants\getGrantsWikiText(), OutputPage\getHeadLinksArray(), CategoryViewer\getHTML(), Status\getHTML(), Skin\getHtmlElementAttributes(), MWTimestamp\getHumanTimestamp(), LinksUpdate\getInterlangInsertions(), OutputPage\getJSVars(), ResourceLoaderContext\getLanguage(), ResourceLoaderFileModule\getLanguageScripts(), WebInstallerLanguage\getLanguageSelector(), ContentHandler\getLocalizedName(), Status\getMessage(), ResourceLoaderModule\getMessageBlob(), MessageCache\getMessageForLang(), MessageCache\getMessageFromFallbackChain(), ContentModelLogFormatter\getMessageParameters(), AlphabeticPager\getNavigationBar(), DeletedContribsPager\getNavigationBar(), SearchNearMatcher\getNearMatchInternal(), ContentHandler\getPageLanguage(), Language\getParentLanguage(), Block\getPermissionsError(), SpecialWhatLinksHere\getPrevNext(), Article\getRedirectHeaderHtml(), MWTimestamp\getRelativeTimestamp(), DifferenceEngine\getRevisionHeader(), SiteConfigurationTest\getSiteParamsCallback(), SpecialBlock\getSuggestedDurations(), ForeignAPIRepo\getThumbError(), ImageHistoryList\getThumbForLine(), LogPage\getTitleLink(), SpecialVersion\getVersion(), Status\getWikiText(), MWGrants\grantName(), MWGrants\grantNames(), HistoryPager\historyLine(), ImageHistoryList\imageHistoryLine(), ParserOptions\initialiseFromUser(), FormatMetadata\langItem(), CoreParserFunctions\language(), InputBox\languageConvert(), Status\languageFromParam(), MessageBlobStore\makeCacheKey(), MediaWikiTitleCodecTest\makeCodec(), FormatMetadata\makeFormattedData(), LoginSignupSpecialPage\makeLanguageSelector(), LoginSignupSpecialPage\makeLanguageSelectorLink(), MessageCacheTest\makePage(), SvgHandler\makeParamString(), ContentHandler\makeParserOptions(), ParserOptions\newCanonical(), Language\newFromCode(), ParserOptions\newFromUserAndLang(), ConfirmEditHooks\onAlternateEditPreview(), GadgetHooks\onCodeEditorGetPageLanguage(), RevertAction\onSuccess(), ImagePage\openShowImage(), SpecialRecentChanges\optionsPanel(), InfoAction\pageInfo(), prepare(), Preferences\profilePreferences(), MediaWiki\Widget\Search\SearchFormWidget\profileTabsHtml(), SvgHandler\rasterize(), MessageBlobStore\recacheMessageBlob(), SpecialPageTest\requireLoginAnonProvider(), FormatMetadata\resolveMultilangValue(), ChangeTags\restrictedTagError(), MediaWikiTestCase\setContentLang(), MediaWiki\Auth\AuthManager\setDefaultUserOptions(), ResourceLoaderModule\setMessageBlob(), Installer\setParserLanguage(), DifferenceEngine\setTextLanguage(), MediaWikiTestCase\setUserLang(), ChangesList\showCharacterDifference(), SpecialUndelete\showFileConfirmationForm(), SpecialExpandTemplates\showHtmlPreview(), LogEventsList\showLogExtract(), SpecialGadgets\showMainForm(), Article\showMissingArticle(), EmailConfirmation\showRequestForm(), SpecialUndelete\showRevision(), SiteConfiguration\siteFromDB(), Skin\subPageSubtitle(), SpecialPageFactoryTest\testConflictResolution(), LanguageTest\testEmbedBidi(), ApiErrorFormatterTest\testErrorFormatter(), MediaWikiTitleCodecTest\testFormat(), MessageCacheTest\testFullKeyBehaviour(), MediaWikiTitleCodecTest\testGetFullText(), MediaWikiTitleCodecTest\testGetNamespaceName(), ContentHandlerTest\testGetPageLanguage(), TitleTest\testGetPageViewLanguage(), LanguageTest\testGetParentLanguage(), MediaWikiTitleCodecTest\testGetPrefixedDBkey(), MediaWikiTitleCodecTest\testGetPrefixedText(), MediaWikiTitleCodecTest\testGetText(), CollationTest\testIsPrefix(), LanguageTest\testListToText(), MessageCacheTest\testMessageFallbacks(), ResourcesTest\testMissingMessages(), CollationTest\testNotIsPrefix(), LanguageTest\testParseFormattedNumber(), MediaWikiTitleCodecTest\testParseTitle(), LanguageTest\testTranslateBlockExpiry(), DummyLinker\tocList(), Linker\tocList(), TraditionalImageGallery\toHTML(), SpecialRevisionDelete\tryShowFile(), LocalisationCache\unloadAll(), and Article\viewRedirect().

◆ $optionsWithArgs

$optionsWithArgs = [ 'start', 'limit', 'type' ]

Definition at line 24 of file testCompression.php.

◆ $res

$res
Initial value:
= $dbr->select(
[ 'page', 'revision', 'text' ],
'*',
[
'page_namespace' => $title->getNamespace(),
'page_title' => $title->getDBkey(),
'page_id=rev_page',
'rev_timestamp > ' . $dbr->addQuotes( $dbr->timestamp( $start ) ),
'rev_text_id=old_id'
], __FILE__, [ 'LIMIT' => $limit ]
)

Definition at line 51 of file testCompression.php.

◆ $serialized

◆ $t

foreach ($keys as $id=> $key) $t = -microtime( true )

Definition at line 67 of file testCompression.php.

Referenced by JSNode\__construct(), ParserOutput\addLanguageLink(), MediaWiki\Tidy\Balancer\advance(), CoreParserFunctions\basepagename(), CoreParserFunctions\basepagenamee(), Benchmarker\bench(), BenchmarkTidy\benchmark(), ProtectionForm\buildForm(), Revision\checkContentModel(), FakeConverter\convert(), FakeConverter\convertTitle(), UploadFromUrlTest\deleteFile(), PopulateImageSha1\doDBUpdates(), SpecialRecentChanges\doHeader(), MysqlUpdater\doSchemaRestructuring(), SearchOracle\escapeTerm(), ApiQueryCategoryInfo\execute(), SpecialExport\execute(), Protect\execute(), RollbackEdits\execute(), PPFuzzTester\execute(), ApiQueryUsers\execute(), BlockLevelPass\execute(), ApiMain\executeActionWithErrorHandling(), ApiQueryInfo\extractPageInfo(), ApiQueryRevisionsBase\extractRevisionInfo(), ApiQueryRecentChanges\extractRowInfo(), UsersPager\formatRow(), CoreParserFunctions\fullpagename(), CoreParserFunctions\fullpagenamee(), CreditsAction\getAuthor(), PreferencesForm\getButtons(), User\getCanonicalName(), Skin\getCategoryLinks(), CommentStore\getCommentInternal(), ParserOutput\getDisplayTitle(), WANCacheReapUpdate\getEventAffectedKeys(), ApiPageSet\getInvalidTitles(), CommentStore\getJoin(), DummyLinker\getLinkColour(), Linker\getLinkColour(), PNGMetadataExtractor\getMetadata(), LinkCache\getMutableCacheKeys(), SpecialAllPages\getNamespaceKeyAndText(), PdfImage\getPageSize(), DatabaseSqliteTest\getTables(), ApiQueryInfo\getTSIDs(), UserrightsPage\groupCheckboxes(), CommentStore\insertInternal(), Skin\lastModified(), PageArchive\listPagesBySearch(), Title\makeTitle(), LinksUpdateTest\makeTitleAndParserOutput(), Title\makeTitleSafe(), CoreParserFunctions\mwnamespace(), CoreParserFunctions\namespacee(), CoreParserFunctions\namespacenumber(), Title\newFromDBkey(), Article\newFromID(), Title\newFromRow(), Title\newFromTextThrow(), Title\newFromURL(), MediaWikiSite\normalizePageName(), CoreParserFunctions\pageid(), CoreParserFunctions\pagename(), CoreParserFunctions\pagenamee(), SearchOracle\parseQuery(), RecentChange\parseToRCType(), JSMinPlus\parseTree(), ApiQueryBase\prefixedTitlePartToKey(), SpecialPage\prefixSearchString(), FileDuplicateSearchPage\prefixSearchSubpages(), Preferences\profilePreferences(), WfTimestampTest\provideNormalTimestamps(), SearchExactMatchRescorer\rescore(), CoreParserFunctions\revisionday(), CoreParserFunctions\revisionday2(), CoreParserFunctions\revisionid(), CoreParserFunctions\revisionmonth(), CoreParserFunctions\revisionmonth1(), CoreParserFunctions\revisiontimestamp(), CoreParserFunctions\revisionuser(), CoreParserFunctions\revisionyear(), CoreParserFunctions\rootpagename(), CoreParserFunctions\rootpagenamee(), ApiQueryWatchlistRaw\run(), HTMLCacheUpdateJob\run(), ApiQueryLinks\run(), ApiQueryRevisions\run(), ApiQueryBacklinksprop\run(), ApiQueryBacklinks\runFirstQuery(), ApiQueryBacklinks\runSecondQuery(), Wikimedia\Rdbms\DatabaseMssql\selectSQLText(), CacheTime\setCacheTime(), ParserOutput\setEditSectionTokens(), OutputPage\setRedirectedFrom(), Skin\setRelevantTitle(), HTMLForm\setSubmitID(), HTMLForm\setSubmitText(), Profiler\setTemplated(), DerivativeContext\setTitle(), HTMLForm\setTitle(), ParserOutput\setTitleText(), QuickTemplate\setTranslator(), SpecialAllPages\showChunk(), SpecialGadgets\showMainForm(), EmailConfirmation\showRequestForm(), SpecialUndelete\showRevision(), CoreParserFunctions\subjectpagename(), CoreParserFunctions\subjectpagenamee(), CoreParserFunctions\subjectspace(), CoreParserFunctions\subjectspacee(), CoreParserFunctions\subpagename(), CoreParserFunctions\subpagenamee(), CoreParserFunctions\talkpagename(), CoreParserFunctions\talkpagenamee(), CoreParserFunctions\talkspace(), CoreParserFunctions\talkspacee(), WikiPageTest\testDoDeleteArticle(), TextContentTest\testGetRedirectTarget(), WikiPageTest\testGetRedirectTarget(), SearchEnginePrefixTest\testSearch(), SearchEnginePrefixTest\testSearchWithOffset(), WANObjectCacheTest\testSetAndGet(), LinksUpdateTest\testUpdate_categorylinks(), LinksUpdateTest\testUpdate_externallinks(), LinksUpdateTest\testUpdate_imagelinks(), LinksUpdateTest\testUpdate_iwlinks(), LinksUpdateTest\testUpdate_langlinks(), LinksUpdateTest\testUpdate_page_props(), LinksUpdateTest\testUpdate_pagelinks(), LinksUpdateTest\testUpdate_templatelinks(), Wikimedia\Rdbms\Database\timestamp(), ApiQueryBase\titlePartToKey(), StringPrefixSearch\titles(), and Language\userAdjust().

◆ $title

$title = Title::newFromText( $args[0] )

Definition at line 34 of file testCompression.php.

◆ $type

Definition at line 48 of file testCompression.php.

Referenced by PoolCounterRedis\__construct(), PoolCounter\__construct(), Installer\__construct(), RedisLockManager\__destruct(), JobQueueGroup\__destruct(), FormOptions\add(), BaseBlacklist\addBlacklistType(), OutputPage\addCategoryLinks(), SpecialLog\addHeader(), FakeAuthTemplate\addInputItem(), ApiQuerySearch\addInterwikiResults(), StripState\addItem(), BackupDumperLoggerTest\addLogEntry(), ApiQueryLogEvents\addLogParams(), BitmapMetadataHandler\addMetadata(), PostgresUpdater\addPgEnumValue(), PostgresUpdater\addPgExtIndex(), TestFileReader\addRequirement(), ContentHandler\addSearchField(), SiteStatsUpdate\adjustPending(), ApiResult\applyTransformations(), ApiErrorFormatter\arrayFromStatus(), ApiErrorFormatter_BackCompat\arrayFromStatus(), XhprofDataTest\assertArrayStructure(), LogFormatterTest\assertIRCComment(), BackupDumperLoggerTest\assertLogItem(), MediaWikiTestCase\assertType(), SiteTest\assertTypeOrFalse(), MediaWikiTestCase\assertTypeOrValue(), SpecialBlock\blockLogFlags(), RCCacheEntryFactory\buildCLink(), SpecialNewFiles\buildForm(), RCCacheEntryFactory\buildLastLink(), buildSearchEngine(), FeedUtils\checkFeedOutput(), HTMLFileCache\clearFileCache(), Wikimedia\Rdbms\LoadBalancer\closeConnection(), CategoryPage\closeShowCategory(), StreamFile\contentTypeFromPath(), WikiPage\convertSelectType(), SearchEngineFactory\create(), SearchEngine\create(), CategoryMembershipChange\createRecentChangesEntry(), LayeredParameterizedPassword\crypt(), MediaWikiMediaTestCase\dataFile(), Exif\debug(), LCStoreStaticArray\decode(), JobQueueAggregatorRedis\decodeQueueName(), CategoryViewer\doCategoryQuery(), JobQueueAggregatorRedis\doGetAllReadyWikiQueues(), PostgreSqlLockManager\doGetLocksOnServer(), MySqlLockManager\doGetLocksOnServer(), WikiImporter\doImport(), QuorumLockManager\doLock(), FSLockManager\doLock(), QuorumLockManager\doLockByType(), LockManager\doLockByType(), FSLockManager\doSingleLock(), FSLockManager\doSingleUnlock(), QuorumLockManager\doUnlock(), FSLockManager\doUnlock(), QuorumLockManager\doUnlockByType(), LockManager\doUnlockByType(), SiteStatsUpdate\doUpdateContextStats(), Html\dropDefaults(), CSSMin\encodeImageAsDataURI(), CSSMin\encodeStringAsDataURI(), CheckStorage\error(), ApiMain\errorMessagesFromException(), WebInstallerDBConnect\execute(), HHVMMakeRepo\execute(), ApiTokens\execute(), WebInstallerUpgrade\execute(), SpecialLog\execute(), ApiQueryTokens\execute(), SpecialProtectedtitles\execute(), SpecialProtectedpages\execute(), ApiQueryBlocks\execute(), ManageJobs\execute(), GetLagTimes\execute(), Protect\execute(), UploadStashCleanup\execute(), CopyJobQueue\execute(), ApiQueryLogEvents\execute(), ShowJobs\execute(), RunJobs\execute(), ConvertLinks\execute(), UpdateCollation\execute(), ConvertExtensionToRegistration\execute(), PurgeChangedFiles\execute(), CompressOld\execute(), ImportImages\execute(), SiteExporter\exportSite(), ApiQueryWatchlist\extractOutputData(), LogFormatter\extractParameters(), ApiQueryRecentChanges\extractRowInfo(), ScopedLock\factory(), PoolCounter\factory(), ApiTestCaseUpload\fakeUploadChunk(), ApiTestCaseUpload\fakeUploadFile(), HistoryAction\feed(), SpecialNewpages\feed(), FormOptions\fetchValuesFromRequest(), GadgetDefinitionContent\fillParserOutput(), OutputPage\filterModules(), MimeAnalyzer\findMediaType(), JobQueueAggregator\findPendingWikiQueues(), FormatMetadata\flattenArrayContentLang(), FormatMetadata\flattenArrayReal(), TemplatesOnThisPageFormatter\format(), FormatMetadata\formatCoords(), LogFormatter\formatParameterValue(), LogFormatter\formatParameterValueForApi(), Linker\formatTemplates(), BlockListPager\formatValue(), MemcLockManager\freeLocksOnServer(), RedisLockManager\freeLocksOnServer(), CategoryViewer\generateLink(), JobQueueGroup\get(), LegacyLogFormatter\getActionLinks(), OutputPage\getAllowedModules(), SpecialBlockList\getBlockListPager(), CachingSiteStore\getCacheKey(), OutputPage\getCategories(), LinksUpdate\getCategoryInsertions(), CategoryMembershipChange\getChangeMessageText(), PPNode_DOM\getChildrenOfType(), JobQueueGroup\getCoalescedQueues(), ResourceLoaderClientHtml\getContext(), Skin\getCopyright(), CategoryViewer\getCountMessage(), SpecialVersion\getCreditsForExtension(), ChangesList\getDataAttributes(), IEContentAnalyzer\getDataFormat(), ResourceLoaderImage\getDataUri(), Language\getDateFormatString(), SqlBagOStuff\getDB(), ForeignDBRepo\getDBFactory(), Installer\getDBInstaller(), Installer\getDBInstallerClass(), LayeredParameterizedPassword\getDefaultParams(), StatusValue\getErrorsByType(), SpecialVersion\getExtensionCategory(), SpecialVersion\getExtensionCredits(), SpecialVersion\getExtensionTypeName(), LogEventsList\getFilterLinks(), SpecialWhatLinksHere\getFilterPanel(), LogPager\getFilterParams(), MediaHandler\getHandler(), MediaHandlerFactory\getHandler(), MediaHandlerFactory\getHandlerClass(), OutputPage\getHeadLinksArray(), ApiHelp\getHelpInternal(), MWException\getHTML(), HTMLTextField\getInputHTML(), HTMLTextField\getInputOOUI(), BaseBlacklist\getInstance(), File\getIsSafeFileUncached(), OutputPage\getJSVars(), SpecialProtectedtitles\getLevelMenu(), SpecialProtectedpages\getLevelMenu(), MachineReadableRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), BaseBlacklist\getLocalBlacklists(), RedisLockManager\getLocksOnServer(), MemcLockManager\getLocksOnServer(), DBLockManager\getLocksOnServer(), MWExceptionHandler\getLogMessage(), MWExceptionHandler\getLogNormalMessage(), MimeAnalyzer\getMediaType(), LogFormatter\getMessageKey(), DeleteLogFormatter\getMessageParameters(), BitmapMetadataHandler\getMetadataArray(), IEContentAnalyzer\getMimeTypeForVersion(), ArrayDiffFormatterTest\getMockDiffOp(), OutputPage\getModules(), TablePager\getNavigationBar(), ApiOpenSearch\getOpenSearchTemplate(), Skin\getPageClasses(), IndexPager\getPagingLinks(), ApiBase\getParameterFromSettings(), SiteStatsUpdate\getPendingDeltas(), PostgresInstaller\getPgConnection(), MWExceptionHandler\getPublicLogMessage(), JobQueueGroup\getQueueSizes(), JobQueueGroup\getQueuesWithJobs(), FileBackend\getScopedFileLocks(), InputBox\getSearchForm(), CategoryViewer\getSectionPagingLinks(), Status\getStatusArray(), ZipDirectoryReader\getStructSize(), SpecialBlock\getTargetAndType(), HTMLTextField\getType(), SiteStatsUpdate\getTypeCacheKey(), SpecialProtectedpages\getTypeMenu(), LogEventsList\getTypeSelector(), ForeignAPIFile\getUser(), ArchivedFile\getUser(), LocalFile\getUser(), BaseBlacklist\getWhitelists(), BitmapMetadataHandler\GIF(), FileBackendGroup\guessMimeInternal(), PoolCounter\hashKeyIntoSlots(), PasswordFactory\init(), MediaWiki\Auth\AuthManagerTest\initializeConfig(), Html\input(), Language\internalUserTimeAndDate(), PasswordReset\isBlocked(), BaseBlacklist\isLocalSource(), Title\isProtected(), Language\isValidBuiltInCode(), MIMEsearchPage\isValidType(), BitmapMetadataHandler\Jpeg(), SearchSqlite\legalSearchChars(), SearchMySQL\legalSearchChars(), SearchOracle\legalSearchChars(), LogPager\limitAction(), LogPager\limitType(), JobRunner\loadBackoffs(), Title\loadRestrictionsFromRows(), LockManager\lock(), FileBackend\lockFiles(), EnhancedChangesList\makeCacheGroupingKey(), FileBackend\makeContentDisposition(), ResourceLoaderClientHtml\makeContext(), FormatMetadata\makeFormattedData(), IndexPager\makeLink(), ImagePage\makeMetadataTable(), SiteImporter\makeSite(), EditPage\makeTemplatesOnThisPageList(), AuthManagerSpecialPage\mapFieldInfoTypeToFormDescriptorType(), AuthManagerSpecialPage\mapSingleFieldInfo(), StripState\merge(), JavaScriptMinifier\minify(), MovePage\move(), DatabaseUpdater\newForDB(), PasswordFactory\newFromCiphertext(), PasswordFactory\newFromType(), RecentChange\newLogEntry(), ContentHandlerTest\newSearchEngine(), LockManager\normalizePathsByType(), RecentChange\notifyLog(), JobQueueAggregator\notifyQueueEmpty(), JobQueueAggregator\notifyQueueNonEmpty(), SwiftFileBackend\objectListing(), SpecialChangeCredentials\onAuthChangeFormFields(), PostgresInstaller\openPgConnection(), SpamBlacklistHooks\pageSaveContent(), CoreParserFunctions\pagesincategory(), CategoryViewer\pagingLinks(), SpecialUploadStash\parseKey(), RecentChange\parseToRCType(), JSMinPlus\parseTree(), LayeredParameterizedPassword\partialCrypt(), Wikimedia\Rdbms\Database\pendingWriteQueryDuration(), BitmapMetadataHandler\PNG(), JobQueueGroup\pop(), PdfImage\postProcessDump(), SpecialBlock\processForm(), ApiTag\processIndividual(), BackupDumper\processOptions(), CoreParserFunctions\protectionexpiry(), CoreParserFunctions\protectionlevel(), PasswordTestCase\provideTypes(), PurgeChangedFiles\purgeFromLogType(), JobQueueGroup\push(), UserCache\queryNeeded(), JobQueueGroup\queuesHaveJobs(), TestFileReader\read(), SVGReader\read(), EnhancedChangesList\recentChangesBlockLine(), OutputPage\reduceAllowedModules(), PasswordFactory\register(), SiteStatsUpdate\removePendingDeltas(), ImageMap\render(), LinkHolderArray\replaceTextCallback(), ApiQueryCategoryMembers\run(), ApiQueryBacklinksprop\run(), JobRunner\run(), Wikimedia\Rdbms\LoadBalancer\runMasterPostTrxCallbacks(), User\sendConfirmationMail(), ApiResult\setArrayType(), ApiResult\setArrayTypeRecursive(), AjaxResponse\setContentType(), PasswordFactory\setDefaultType(), User\setEmailWithConfirmation(), OutputPage\setFeedAppendQuery(), CaptchaPreAuthenticationProviderTest\setTriggers(), PasswordTestCase\setUp(), ParserTestTopLevelSuite\setUp(), SpecialRenameuser\showLogExtract(), SpecialProtectedpages\showOptions(), LoginHelper\showReturnToPage(), LoginSignupSpecialPage\showReturnToPage(), LoginSignupSpecialPage\showSuccessPage(), HTTPFileStreamer\stream(), FileBackendDBRepoWrapper\streamFile(), WebInstallerDBConnect\submit(), SpecialEmailUser\submit(), TextSuppressor\suppress(), CheckStyleSuppressor\suppress(), JobRunner\syncBackoffDeltas(), MediaWikiTestCase\teardownTestDB(), MediaWiki\Auth\AuthManagerTest\testCanCreateAccounts(), MediaWiki\Auth\AuthManagerTest\testCanLinkAccounts(), XhprofDataTest\testCompleteMetricsStructure(), PasswordTestCase\testCrypt(), TextContentHandlerTest\testFieldsForIndex(), MediaWiki\Auth\AuthManagerTest\testGetAuthenticationRequests(), StatusTest\testGetErrorsWarningsOnlyStatus(), MediaWikiServicesTest\testGetService(), MediaWikiServicesTest\testGetters(), XhprofDataTest\testInclusiveMetricsStructure(), FileContentHandlerTest\testIndexMapping(), ExifRotationTest\testMetadata(), ExifRotationTest\testMetadataAutoRotate(), ExifRotationTest\testMetadataAutoRotateUnsupported(), ExifRotationTest\testMetadataNoAutoRotate(), MWMessagePackTest\testPack(), RecentChangeTest\testParseFromRCType(), RecentChangeTest\testParseToRCType(), MediaWiki\Auth\AbstractPrimaryAuthenticationProviderTest\testPrimaryAccountLink(), SiteTest\testProtocolRelativePath(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest\testProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest\testProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest\testProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest\testProviderChangeAuthenticationData(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest\testProviderChangeAuthenticationData(), ExifRotationTest\testRotationRendering(), ExifRotationTest\testRotationRenderingNoAutoRotate(), SearchEngineTest\testSearchIndexFields(), IEContentAnalyzer\translateMimeType(), LogEventsList\typeAction(), LockManager\unlock(), FileBackend\unlockFiles(), ZipDirectoryReader\unpack(), StripState\unstripType(), SpamBlacklistHooks\validate(), FormOptions\validateBounds(), SpecialBlock\validateTarget(), ApiResult\validateValue(), and JobQueueGroup\waitForBackups().

◆ $uncompressedSize

$uncompressedSize = 0

Definition at line 66 of file testCompression.php.

◆ $untilHappy

$untilHappy = true

Definition at line 46 of file testCompression.php.

◆ else

if (isset($options[ 'limit'])) else
Initial value:
{
$start = '19700101000000'

Definition at line 38 of file testCompression.php.

$dbr
$dbr
Definition: testCompression.php:50
$title
$title
Definition: testCompression.php:34