MediaWiki REL1_33
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
 
 $revQuery = Revision::getQueryInfo( [ 'page', 'text' ] )
 
foreach( $res as $row) $serialized = serialize( $blob )
 
 $t = -microtime( true )
 
 $title = Title::newFromText( $args[0] )
 
 $type = $options['type'] ?? ConcatenatedGzipHistoryBlob::class
 
 $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

$blob = new $type

Definition at line 65 of file testCompression.php.

Referenced by MediaWiki\Session\SessionBackend\__construct(), Wikimedia\Rdbms\DatabaseMssql\addQuotes(), MediaWiki\Revision\SlotRecord\base36Sha1(), ExternalStoreDB\batchFetchFromURLs(), ResourceLoaderModule\buildContent(), MediaWiki\Storage\SqlBlobStore\compressData(), MediaWiki\Storage\SqlBlobStore\decompressData(), APCBagOStuff\doGet(), APCUBagOStuff\doGet(), WinCacheBagOStuff\doGet(), SqlBagOStuff\doGet(), JobQueueRedis\doPop(), ResourceLoaderLessVarFileModule\excludeMessagesFromBlob(), MediaWiki\Storage\SqlBlobStore\expandBlob(), ContentHandler\exportTransform(), JobQueueDB\extractBlob(), LogEntryBase\extractParams(), LogPage\extractParams(), MediaWiki\Storage\SqlBlobStore\fetchBlob(), PopulateContentTables\fillMissingFields(), MediaWiki\Storage\SqlBlobStore\getBlob(), ResourceLoaderLessVarFileModule\getLessVars(), ResourceLoaderLessVarFileModule\getMessageBlob(), SqlBagOStuff\getMulti(), DatabaseLogEntry\getParameters(), ContentHandler\importTransform(), MediaWiki\Session\SessionManager\loadSessionInfoFromStore(), ResourceLoader\preloadModuleInfo(), MessageBlobStore\recacheMessageBlob(), JobQueueRedis\serialize(), ResourceLoaderModule\setMessageBlob(), MediaWiki\Session\TestBagOStuff\setRawSession(), MediaWiki\Session\TestBagOStuff\setSession(), MessageBlobStoreTest\testBlobCreation(), MessageBlobStoreTest\testBlobCreation_unknownMessage(), MessageBlobStoreTest\testMessageCachingAndPurging(), MessageBlobStoreTest\testPurgeEverything(), MediaWiki\Session\SessionBackendTest\testRenew(), MediaWiki\Session\SessionBackendTest\testSave(), MediaWiki\Tests\Storage\SqlBlobStoreTest\testSimpleStoreGetBlobSimpleRoundtrip(), MediaWiki\Tests\Storage\SqlBlobStoreTest\testSimpleStoreGetBlobSimpleRoundtripWindowsLegacyEncoding(), MediaWiki\Tests\Storage\SqlBlobStoreTest\testSimpleStoreGetBlobSimpleRoundtripWindowsLegacyEncodingGzip(), MessageBlobStoreTest\testValidateAgainstModuleRegistry(), JobQueueRedis\unserialize(), DummyContentHandlerForTesting\unserializeContent(), DummyNonTextContentHandler\unserializeContent(), and wfGetPrecompiledData().

◆ $dbr

$dbr = $this->getDB( DB_REPLICA )

Definition at line 50 of file testCompression.php.

Referenced by ChangesListSpecialPage\__construct(), SpecialRecentChanges\__construct(), SpecialRandomrootpage\__construct(), ImageListPager\__construct(), MergeHistoryPager\__construct(), OutputPage\addCategoryLinksToLBAndGetResult(), LinkCache\addLinkObj(), CategoryChangesAsRdf\addTimestampConditions(), PopulateChangeTagDef\backpopulateChangeTagId(), PopulateChangeTagDef\backpopulateChangeTagPerTag(), ExternalStoreDB\batchFetchBlobs(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider\beginPrimaryAuthentication(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\beginPrimaryAuthentication(), ChangesListSpecialPage\buildQuery(), ImageListPager\buildQueryConds(), SiteStatsUpdate\cacheUpdate(), CheckStorage\check(), FindOrphanedFiles\checkFiles(), Pingback\checkIfSent(), TrackBlobs\checkIntegrity(), SpecialRecentChanges\checkLastModified(), User\checkNewtalk(), LocalRepo\checkRedirect(), RenameUserCleanup\checkRenameLog(), RevisionDeleter\checkRevisionExistence(), RecompressTracked\checkTrackingTable(), CleanupInvalidDbKeys\cleanupTable(), CompressOld\compressWithConcat(), Title\countRevisionsBetween(), WatchedItemStore\countUnreadNotifications(), WatchedItemStore\countVisitingWatchers(), WatchedItemStore\countVisitingWatchersMultiple(), WatchedItemStore\countWatchedItems(), WatchedItemStore\countWatchers(), WatchedItemStore\countWatchersMultiple(), SearchEngineFactory\create(), Block\defaultRetroactiveAutoblock(), PrefixSearch\defaultSearchBackend(), Article\delete(), DifferenceEngine\deletedLink(), RefreshLinks\deleteLinksFromNonexistent(), RefreshLinks\dfnCheckInterval(), RecompressTracked\doAllOrphans(), RecompressTracked\doAllPages(), ActiveUsersPager\doBatchLookups(), UsersPager\doBatchLookups(), CategoryViewer\doCategoryQuery(), FixDefaultJsonContentPages\doDBUpdates(), MigrateActors\doDBUpdates(), MigrateArchiveText\doDBUpdates(), PopulateIpChanges\doDBUpdates(), JobQueueDB\doGetAbandonedCount(), JobQueueDB\doGetAcquiredCount(), JobQueueDB\doGetSiblingQueueSizes(), JobQueueDB\doGetSiblingQueuesWithJobs(), JobQueueDB\doGetSize(), JobQueueDB\doIsEmpty(), PopulateRevisionLength\doLenUpdates(), ChangesListSpecialPage\doMainQuery(), SpecialRecentChanges\doMainQuery(), SpecialWatchlist\doMainQuery(), SpecialRecentChangesLinked\doMainQuery(), RecompressTracked\doPage(), GenderCache\doQuery(), LinkBatch\doQuery(), UserCache\doQuery(), RefreshLinks\doRefreshLinks(), ReplaceTextSearch\doSearchQuery(), MovePageForm\doSubmit(), LinkHolderArray\doVariants(), RecountCategories\doWork(), Title\estimateRevisionCount(), SpecialRenameuser\execute(), QueryPage\execute(), Cleanup\execute(), CategoryChangesAsRdf\execute(), CheckBadRedirects\execute(), CheckImages\execute(), CheckUsernames\execute(), CleanupSpam\execute(), CleanupUploadStash\execute(), ClearInterwikiCache\execute(), CompareParserCache\execute(), DeleteDefaultMessages\execute(), DumpCategoriesAsRdf\execute(), DumpLinks\execute(), FindMissingFiles\execute(), FixDoubleRedirects\execute(), InitEditCount\execute(), InitUserPreference\execute(), PurgeChangedFiles\execute(), PurgeChangedPages\execute(), RebuildFileCache\execute(), RefreshFileHeaders\execute(), RemoveInvalidEmails\execute(), RemoveUnusedAccounts\execute(), ResetPageRandom\execute(), ResetUserTokens\execute(), ShowSiteStats\execute(), FixT22757\execute(), OrphanStats\execute(), StorageTypeStats\execute(), UpdateArticleCount\execute(), UpdateCollation\execute(), ExternalStoreDB\fetchBlob(), UploadStash\fetchFileMetadata(), QueryPage\fetchFromCache(), DumpUploads\fetchLocal(), HistoryAction\fetchRevisions(), DumpUploads\fetchUsed(), TitleCleanup\fileExists(), ChangesListSpecialPage\filterOnUserExperienceLevel(), LocalRepo\findBySha1(), LocalRepo\findBySha1s(), LocalRepo\findFiles(), LocalRepo\findFilesByPrefix(), User\findUsersByGroup(), RecompressTracked\finishIncompleteMoves(), DoubleRedirectsPage\formatResult(), PageProps\getAllProperties(), Title\getAuthorsBetween(), ContentHandler\getAutoDeleteReason(), Title\getBrokenLinksFrom(), QueryPage\getCachedTimestamp(), BacklinkCache\getCascadeProtectedLinks(), Title\getCascadeProtectionSources(), WikiPage\getCategories(), DumpCategoriesAsRdf\getCategoryIterator(), CategoryChangesAsRdf\getCategoryLinksIterator(), DumpCategoriesAsRdf\getCategoryLinksIterator(), WikiPage\getContributors(), SpamBlacklist\getCurrentLinks(), AllMessagesTablePager\getCustomisedStatuses(), CategoryChangesAsRdf\getDeletedCatsIterator(), ForeignDBFile\getDescriptionShortUrl(), User\getEditCount(), User\getEditTimestamp(), ResourceLoaderModule\getFileDependencies(), WikiFilePage\getForeignCategories(), SpecialBotPasswords\getFormFields(), GadgetDefinitionNamespaceRepo\getGadgetIds(), WikiPage\getHiddenCategories(), LocalFile\getHistory(), SpecialActiveUsers\getIntroText(), JobQueueDB\getJobIterator(), EditPage\getLastDelete(), PageArchive\getLastRevisionId(), ApiQueryUserInfo\getLatestContributionTime(), SpecialExport\getLinks(), SimpleCaptcha\getLinksFromTracker(), ReplaceTextSearch\getMatchingTitles(), WatchedItemStore\getMaxId(), Category\getMembers(), SpecialRandomInCategory\getMinAndMaxForCat(), User\getNewMessageLinks(), SpecialNuke\getNewPages(), WatchedItemStore\getNotificationTimestampsBatch(), SpecialExport\getPagesFromCategory(), SpecialExport\getPagesFromNamespace(), Title\getParentCategories(), PageArchive\getPreviousRevision(), PageProps\getProperties(), ActiveUsersPager\getQueryInfo(), SpecialRandomInCategory\getQueryInfo(), SpecialGadgetUsage\getQueryInfo(), NewFilesPager\getQueryInfo(), UsersPager\getQueryInfo(), BrokenRedirectsPage\getQueryInfo(), LinkSearchPage\getQueryInfo(), MediaStatisticsPage\getQueryInfo(), UncategorizedCategoriesPage\getQueryInfo(), UnwatchedpagesPage\getQueryInfo(), WantedPagesPage\getQueryInfo(), WithoutInterwikiPage\getQueryInfo(), ImageListPager\getQueryInfoReal(), Block\getRangeCond(), Title\getRedirectsHere(), WikiPage\getRedirectTarget(), BenchmarkParse\getRevIdForTime(), PageArchive\getRevision(), PageArchive\getRevisionByConditions(), FixT22757\getRevTextMap(), OutputPage\getRlClient(), Linker\getRollbackEditCount(), RollbackEdits\getRollbackTitles(), DeleteAutoPatrolLogs\getRows(), DeleteAutoPatrolLogs\getRowsOld(), Cite\getStoredReferences(), Title\getSubpages(), MIMEsearchPage\getSuggestionsForTypes(), MediaWiki\Storage\NameTableStore\getTableFromCachesOrReplica(), HistoryBlobCurStub\getText(), HistoryBlobStub\getText(), TrackBlobs\getTextClause(), MediaWiki\Revision\RevisionStore\getTitle(), ResourceLoaderWikiModule\getTitleInfo(), Title\getTitleProtectionInternal(), BlockListPager\getTotalAutoblocks(), SpecialUpload\getUploadForm(), CategoryChangesAsRdf\handleCategorization(), CheckStorage\importRevision(), User\initEditCountInternal(), Category\initialize(), BackupDumper\initProgress(), WikiPage\isBatchedDelete(), Title\isBigDeletion(), PageArchive\isDeleted(), Title\isDeleted(), Title\isDeletedQuick(), Title\isNewPage(), PageArchive\listAllPages(), ChangeTags\listExplicitlyDefinedTags(), PageArchive\listFiles(), UploadStash\listFiles(), PageArchive\listPages(), PageArchive\listPagesByPrefix(), PageArchive\listPagesBySearch(), PageArchive\listRevisions(), MediaWiki\Interwiki\ClassicInterwikiLookup\load(), ArchivedFile\load(), SiteStats\loadAndLazyInit(), MessageCache\loadCachedMessagePageEntry(), PopulateContentTables\loadContentMap(), LocalFile\loadExtraFieldsWithTimestamp(), OldLocalFile\loadExtraFromDB(), MessageCache\loadFromDB(), LocalFile\loadFromDB(), OldLocalFile\loadFromDB(), WikiPage\loadLastEdit(), User\loadOptions(), Title\loadRestrictions(), Title\loadRestrictionsFromRows(), DifferenceEngine\loadRevisionData(), DBSiteStore\loadSites(), WatchedItemStore\loadWatchedItem(), SearchMySQL\minSearchLength(), ChangesListBooleanFilter\modifyQuery(), ChangesListBooleanFilterGroup\modifyQuery(), ChangesListStringOptionsFilterGroup\modifyQuery(), ChangesListStringOptionsFilterGroupTest\modifyQueryHelper(), moveToExternal(), Title\nameOf(), Block\newFromID(), Title\newFromIDs(), UserArray\newFromIDs(), LocalFile\newFromKey(), OldLocalFile\newFromKey(), UserArray\newFromNames(), User\newSystemUser(), LocalFile\nextHistoryLine(), ChangesListSpecialPageTest\normalizeCondition(), SiteStats\numberingroup(), InterwikiHooks\onInterwikiLoadPrefix(), CategoryTreeHooks\onSpecialTrackingCategoriesPreprocess(), HistoryAction\onView(), ImagePage\openShowImage(), SpecialWatchlist\outputChangesList(), InfoAction\pageCounts(), WikiPage\pageData(), Article\pageDataFromId(), WikiPage\pageDataFromId(), Article\pageDataFromTitle(), WikiPage\pageDataFromTitle(), SiteStats\pagesInNs(), ReplaceTextSearch\prefixCondition(), ResourceLoader\preloadModuleInfo(), PurgeChangedFiles\purgeFromArchiveTable(), PurgeChangedFiles\purgeFromLogType(), PurgeList\purgeNamespace(), ImagePage\queryImageLinks(), QueryPage\reallyDoQuery(), ShortPagesPage\reallyDoQuery(), DoubleRedirectsPage\reallyGetQueryInfo(), Cite\recursiveFetchRefsFromDB(), RefreshLinks\refreshCategory(), ReplaceTextSearch\regexCond(), SpecialWatchlist\registerFilters(), CategoryTree\renderChildren(), CategoryTree\renderParents(), LinkHolderArray\replaceInternal(), WikiPage\replaceSectionContent(), resolveStub(), resolveStubs(), CheckStorage\restoreText(), CategoryMembershipChangeJob\run(), ClearUserWatchlistJob\run(), TableCleanup\runTable(), UserNamePrefixSearch\search(), SpecialRandomInCategory\selectRandomPageFromDB(), RandomPage\selectRandomPageFromDB(), CategoryChangesAsRdf\setupChangesIterator(), PopulateChangeTagDef\setUserDefinedTags(), SpecialAllPages\showChunk(), SpecialInterwiki\showForm(), MovePageForm\showForm(), SpecialReplaceText\showForm(), SpecialWhatLinksHere\showIndirectLinks(), EditPage\showIntro(), Article\showMissingArticle(), Article\showPatrolFooter(), SpecialPrefixindex\showPrefixChunk(), UserOptionsMaintenance\showUsageStats(), SpecialVersion\softwareInformation(), RecompressTracked\syncDBs(), ChangeTags\tagUsageStatistics(), ChangeTagsTest\testDeleteTags(), WikiPageDbTestBase\testDoDeleteArticle(), WikiPageDbTestBase\testDoDeleteUpdates(), WikiPageDbTestBase\testDoEditContent(), WikiPageDbTestBase\testDoEditUpdates(), RevisionDbTestBase\testInsertOn(), LBFactoryTest\testLBFactoryMultiConns(), LBFactoryTest\testLBFactorySimpleServer(), LBFactoryTest\testLBFactorySimpleServers(), ChangeTagsTest\testListExplicitlyDefinedTags(), ChangesListStringOptionsFilterGroupTest\testModifyQuery(), RevisionDbTestBase\testNewFromArchiveRow(), RevisionDbTestBase\testNewFromArchiveRowOverrides(), RevisionDbTestBase\testNewFromRow(), MessageCacheTest\testNoDBAccessContentLanguage(), MessageCacheTest\testNoDBAccessNonContentLanguage(), ChangesListStringOptionsFilterGroupTest\testNoOpModifyQuery(), CategoryChangesAsRdfTest\testSparqlUpdate(), PageArchiveTestBase\testUndeleteRevisions(), ChangeTagsTest\testUpdateTags(), ChangeTagsTest\testUpdateTagsDoNothingOnRepeatedCall(), ChangeTagsTest\testUpdateTagsSkipDuplicates(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider\testUserCanAuthenticate(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\testUserCanAuthenticate(), LoadBalancerTest\testWithoutReplica(), LoadBalancerTest\testWithReplica(), ApiUserrightsTest\testWithTag(), TrackBlobs\trackOrphanText(), TrackBlobs\trackRevisions(), PopulateChangeTagDef\updateCountTag(), PopulateChangeTagDef\updateCountTagId(), UserOptionsMaintenance\updateOptions(), and ApiTag\validateLogId().

◆ $hashes

◆ $keys

$keys = []

Definition at line 67 of file testCompression.php.

Referenced by Status\__sleep(), MemcLockManager\acquireMutexes(), OutputPage\addJsConfigVars(), ParserOutput\addJsConfigVars(), ApiResult\addMetadataToResultVars(), ApiResult\applyTransformations(), MediaWiki\Tests\Revision\RevisionStoreDbTestBase\assertRevisionExistsInDatabase(), BatchRowIterator\buildGreaterThanCondition(), MapCacheLRU\clear(), ProcessCacheLRU\clear(), EmailNotification\composeCommonMailtext(), OATHAuthUtils\decryptSessionData(), BagOStuff\deleteMulti(), RedisBagOStuff\deleteMulti(), ReplicatedBagOStuff\deleteMulti(), SqlBagOStuff\deleteMulti(), SqlBagOStuff\deleteObjectsExpiringBefore(), JobQueueRedis\doDelete(), Installer\doGenerateKeys(), MySqlLockManager\doGetLocksOnServer(), OATHAuthUtils\encryptSessionData(), BenchmarkLruHash\execute(), CleanupUploadStash\execute(), LocalisationUpdate\Updater\expandRemotePath(), SqlBagOStuff\fetchBlobMulti(), Wikimedia\Rdbms\DatabaseSqlite\fieldName(), BlockListPager\formatValue(), MemcLockManager\freeLocksOnServer(), Installer\generateKeys(), MemcachedClient\get_multi(), WANCacheReapUpdate\getEventAffectedKeys(), MemcLockManager\getLocksOnServer(), BagOStuff\getMulti(), MemcachedPeclBagOStuff\getMulti(), MemcachedPhpBagOStuff\getMulti(), MultiWriteBagOStuff\getMulti(), RedisBagOStuff\getMulti(), ReplicatedBagOStuff\getMulti(), WANObjectCache\getMulti(), WANObjectCache\getMultiCheckKeyTime(), HTMLFormField\getNearestFieldByName(), WANObjectCache\getNonProcessCachedKeys(), WANObjectCache\getRawKeysForWarmup(), ApiQueryBlocks\getRestrictionData(), ConvertExtensionToRegistration\handleCredits(), Wikimedia\Rdbms\Database\insert(), Wikimedia\Rdbms\DatabasePostgres\insert(), Wikimedia\Rdbms\DatabaseMssql\insert(), WANObjectCacheReaper\invoke(), LocalisationCache\isExpired(), UploadStash\listFiles(), MWRestrictions\loadFromArray(), UserPasswordPolicy\maxOfPolicies(), ParserOutput\merge2D(), Message\newFallbackSequence(), User\pingLimiter(), WANObjectCache\prefixCacheKeys(), MemcLockManager\releaseMutexes(), FormatMetadata\sanitizeArrayForAPI(), CaptchaTest\setCaptchaTriggersAttribute(), ApiResult\setValue(), PrefixSearch\specialSearch(), ApiWatchTest\testGetRollbackToken(), ApiStructureTest\testParameterConsistency(), WANObjectCacheTest\testProcessCache(), ApiWatchTest\testWatchRollback(), ParserOutput\useEachMinValue(), PoolCounterRedis\waitForSlotOrNotif(), wfArrayInsertAfter(), wfCgiToArray(), and wfMessageFallback().

◆ $lang

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

Definition at line 33 of file testCompression.php.

Referenced by CiteCSSFileModule\__construct(), ParserOptions\__construct(), SearchEngineConfig\__construct(), SearchNearMatcher\__construct(), CommentStore\__construct(), OutputPage\addAcceptLanguage(), ParserTestRunner\addArticles(), LinkCache\addGoodLinkObj(), EditPage\addLongPageWarningHeader(), ApiQuerySiteinfo\appendLanguages(), ApiQuerySiteinfo\appendLanguageVariants(), ProtectionForm\buildForm(), SpecialPage\buildPrevNextNavigation(), SpecialEditWatchlist\buildTools(), ImagePage\createXmlOptionStringForLanguage(), MediaWiki\Preferences\DefaultPreferencesFactory\datetimePreferences(), MediaWiki\Session\SessionProvider\describe(), TextContent\diff(), SpecialUndelete\diffHeader(), Skin\doEditSectionLink(), SpecialWatchlist\doHeader(), ImagePage\doRenderLangOpt(), SvgHandler\doTransform(), CodeEditorHooks\editPageShowEditFormInitial(), Installer\envCheckShellLocale(), Language\equals(), QueryPage\execute(), SpecialAllMessages\execute(), DateFormats\execute(), ListVariants\execute(), UpdateMediaWiki\execute(), MessageBlobStore\fetchMessage(), MessageCache\figureMessage(), SpecialMyLanguage\findTitle(), FormatMetadata\flattenArrayReal(), BlockLogFormatter\formatBlockFlag(), BlockLogFormatter\formatBlockFlags(), CoreParserFunctions\formatDate(), ProtectLogFormatter\formatExpiry(), SpecialListGroupRights\formatPermissions(), DoubleRedirectsPage\formatResult(), ListredirectsPage\formatResult(), MIMEsearchPage\formatResult(), SpecialNewpages\formatRow(), ActiveUsersPager\formatRow(), ContribsPager\formatRow(), UsersPager\formatRow(), SpecialProtectedtitles\formatRow(), MessageBlobStore\generateMessageBlob(), MediaWiki\Widget\Search\FullSearchResultWidget\generateSizeHtml(), DummyLinker\generateTOC(), Linker\generateTOC(), WebInstaller\getAcceptLanguage(), CreditsAction\getAuthor(), SvgHandler\getAvailableLanguages(), MessageBlobStore\getBlob(), MessageBlobStore\getBlobs(), Block\getBlockErrorParams(), CreditsAction\getContributors(), InfoAction\getContributors(), ApiQueryUserInfo\getCurrentUserInfo(), MediaWiki\Preferences\DefaultPreferencesFactory\getDateOptions(), Title\getDefaultMessageText(), FileRepo\getDescriptionRenderUrl(), File\getDescriptionText(), ForeignDBFile\getDescriptionText(), LocalFile\getDescriptionText(), Status\getErrorMessage(), Status\getErrorMessageArray(), RevertAction\getFormFields(), SpecialBotPasswords\getFormFields(), ReCaptchaNoCaptcha\getFormInformation(), MWGrants\getGrantsLink(), MWGrants\getGrantsWikiText(), OutputPage\getHeadLinksArray(), Status\getHTML(), CategoryViewer\getHTML(), Skin\getHtmlElementAttributes(), MWTimestamp\getHumanTimestamp(), HTMLReCaptchaNoCaptchaField\getInputHTML(), LinksUpdate\getInterlangInsertions(), OutputPage\getJSVars(), RequestContext\getLanguage(), ResourceLoaderContext\getLanguage(), ResourceLoaderFileModule\getLanguageScripts(), WebInstallerLanguage\getLanguageSelector(), SyntaxHighlight\getLexer(), ContentHandler\getLocalizedName(), Status\getMessage(), ResourceLoaderModule\getMessageBlob(), MessageCache\getMessageForLang(), MessageCache\getMessageFromFallbackChain(), ContentModelLogFormatter\getMessageParameters(), AlphabeticPager\getNavigationBar(), DeletedContribsPager\getNavigationBar(), SearchNearMatcher\getNearMatchInternal(), CodeEditorHooks\getPageLanguage(), ContentHandler\getPageLanguage(), Language\getParentLanguage(), ResourceLoaderImage\getPath(), SpecialWhatLinksHere\getPrevNext(), Article\getRedirectHeaderHtml(), MWTimestamp\getRelativeTimestamp(), DifferenceEngine\getRevisionHeader(), SiteConfigurationTest\getSiteParamsCallback(), SpecialBlock\getSuggestedDurations(), ForeignAPIRepo\getThumbError(), ImageHistoryList\getThumbForLine(), Message\getTitle(), LogPage\getTitleLink(), SpecialVersion\getVersion(), Status\getWikiText(), MWGrants\grantName(), MWGrants\grantNames(), SyntaxHighlight\highlight(), HistoryPager\historyLine(), ImageHistoryList\imageHistoryLine(), ParserOptions\initialiseFromUser(), Message\inLanguage(), FormatMetadata\langItem(), CoreParserFunctions\language(), InputBox\languageConvert(), Status\languageFromParam(), MessageBlobStore\makeCacheKey(), MediaWikiTitleCodecTest\makeCodec(), FormatMetadata\makeFormattedData(), LoginSignupSpecialPage\makeLanguageSelector(), LoginSignupSpecialPage\makeLanguageSelectorLink(), MessageCacheTest\makePage(), SvgHandler\makeParamString(), Html\namespaceSelectorOptions(), Language\newFromCode(), ParserOptions\newFromUserAndLang(), ConfirmEditHooks\onAlternateEditPreview(), GadgetHooks\onCodeEditorGetPageLanguage(), RevertAction\onSuccess(), ImagePage\openShowImage(), SpecialRecentChanges\optionsPanel(), InfoAction\pageInfo(), ParserTestRunner\perTestSetup(), Cite\plainError(), ResourceLoader\preloadModuleInfo(), prepare(), MediaWiki\Preferences\DefaultPreferencesFactory\profilePreferences(), MediaWiki\Widget\Search\SearchFormWidget\profileTabsHtml(), MessageTest\provideListParam(), SvgHandler\rasterize(), MessageBlobStore\recacheMessageBlob(), SpecialPageTest\requireLoginAnonProvider(), FormatMetadata\resolveMultilangValue(), ChangeTags\restrictedTagError(), ChangesList\revDateLink(), 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(), MessageTest\testBitrateParams(), LanguageTest\testClearCaches(), SpecialPageFactoryTest\testConflictResolution(), MessageTest\testDurationParams(), LanguageTest\testEmbedBidi(), ApiErrorFormatterTest\testErrorFormatter(), MessageTest\testExpiryParams(), MediaWikiTitleCodecTest\testFormat(), LanguageTest\testFormatNum(), MediaWikiTitleCodecTest\testGetFullText(), ImagePageTest\testGetLanguageForRendering(), MediaWikiTitleCodecTest\testGetNamespaceName(), ContentHandlerTest\testGetPageLanguage(), TitleTest\testGetPageViewLanguage(), LanguageTest\testGetParentLanguage(), MediaWikiTitleCodecTest\testGetPrefixedDBkey(), MediaWikiTitleCodecTest\testGetPrefixedText(), RevisionTest\testGetRevisionWithGzipAndLegacyEncoding(), RevisionTest\testGetRevisionWithLegacyEncoding(), MediaWikiTitleCodecTest\testGetText(), CollationTest\testIsPrefix(), MessageTest\testListParam(), LanguageTest\testListToText(), MessageCacheTest\testMessageFallbacks(), ResourcesTest\testMissingMessages(), SearchNearMatcherTest\testNearMatch(), ParserOptionsTest\testNewCanonical(), CollationTest\testNotIsPrefix(), MessageTest\testNumParams(), LanguageTest\testParseFormattedNumber(), MediaWikiTitleCodecTest\testParseTitle(), PasswordPolicyChecksTest\testPasswordPolicyDescriptionsExist(), MessageTest\testPlaintextParams(), MessageTest\testSizeParams(), MessageTest\testTimeperiodParams(), LanguageTest\testTranslateBlockExpiry(), DummyLinker\tocList(), Linker\tocList(), TraditionalImageGallery\toHTML(), SpecialRevisionDelete\tryShowFile(), LocalisationCache\unloadAll(), Article\view(), Article\viewRedirect(), and Cite\warning().

◆ $optionsWithArgs

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

Definition at line 24 of file testCompression.php.

◆ $res

$res
Initial value:
= $dbr->select(
$revQuery['tables'],
$revQuery['fields'],
[
'page_namespace' => $title->getNamespace(),
'page_title' => $title->getDBkey(),
'rev_timestamp > ' . $dbr->addQuotes( $dbr->timestamp( $start ) ),
],
__FILE__,
[ 'LIMIT' => $limit ],
$revQuery['joins']
)

Definition at line 52 of file testCompression.php.

◆ $revQuery

◆ $serialized

◆ $t

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

Definition at line 69 of file testCompression.php.

Referenced by JSNode\__construct(), ParserOutput\addLanguageLink(), CoreParserFunctions\basepagename(), CoreParserFunctions\basepagenamee(), Benchmarker\bench(), BenchmarkTidy\benchmark(), ProtectionForm\buildForm(), FakeConverter\convert(), FakeConverter\convertTitle(), UploadFromUrlTest\deleteFile(), PopulateImageSha1\doDBUpdates(), SpecialRecentChanges\doHeader(), SearchOracle\escapeTerm(), SpecialExport\execute(), ApiQueryCategoryInfo\execute(), ApiQueryUsers\execute(), BlockLevelPass\execute(), PPFuzzTester\execute(), Protect\execute(), RollbackEdits\execute(), ApiMain\executeActionWithErrorHandling(), ApiQueryRevisionsBase\extractDeprecatedContent(), ApiQueryInfo\extractPageInfo(), ApiQueryRecentChanges\extractRowInfo(), UsersPager\formatRow(), CoreParserFunctions\fullpagename(), CoreParserFunctions\fullpagenamee(), CreditsAction\getAuthor(), PreferencesFormOOUI\getButtons(), User\getCanonicalName(), Skin\getCategoryLinks(), CommentStore\getCommentInternal(), ParserOutput\getDisplayTitle(), WANCacheReapUpdate\getEventAffectedKeys(), ActorMigration\getInsertValuesWithTempTable(), ActorMigration\getJoin(), CommentStore\getJoin(), PNGMetadataExtractor\getMetadata(), LinkCache\getMutableCacheKeys(), SpecialAllPages\getNamespaceKeyAndText(), SearchUpdate\getNormalizedTitle(), PdfImage\getPageSize(), MediaWiki\Revision\RevisionSlots\getRolesWithDifferentContent(), DatabaseSqliteTest\getTables(), ApiQueryInfo\getTSIDs(), ApiQueryInfo\getVariantTitles(), ActorMigration\getWhere(), UserrightsPage\groupCheckboxes(), MediaWiki\Revision\RevisionSlots\hasSameContent(), MediaWiki\Storage\RevisionSlotsUpdate\hasSameUpdates(), CommentStore\insertInternal(), Skin\lastModified(), PageArchive\listPagesBySearch(), Cite\listToText(), Title\makeTitle(), CategoryTree\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(), LanguageConverter\parseCachedTable(), SearchOracle\parseQuery(), RecentChange\parseToRCType(), JSMinPlus\parseTree(), ApiQueryBase\prefixedTitlePartToKey(), SpecialPage\prefixSearchString(), CategoryTreePage\prefixSearchSubpages(), FileDuplicateSearchPage\prefixSearchSubpages(), MediaWiki\Preferences\DefaultPreferencesFactory\profilePreferences(), WfTimestampTest\provideNormalTimestamps(), Parser\pstPass2(), Sanitizer\removeHTMLtags(), CategoryTree\renderChildren(), CategoryTree\renderParents(), SearchExactMatchRescorer\rescore(), CoreParserFunctions\revisionday(), CoreParserFunctions\revisionday2(), CoreParserFunctions\revisionid(), CoreParserFunctions\revisionmonth(), CoreParserFunctions\revisionmonth1(), CoreParserFunctions\revisiontimestamp(), CoreParserFunctions\revisionuser(), CoreParserFunctions\revisionyear(), CoreParserFunctions\rootpagename(), CoreParserFunctions\rootpagenamee(), ApiQueryLinks\run(), ApiQueryWatchlistRaw\run(), HTMLCacheUpdateJob\run(), ApiQueryBacklinksprop\run(), ApiQueryRevisions\run(), ApiQueryBacklinks\runFirstQuery(), ApiQueryBacklinks\runSecondQuery(), Wikimedia\Rdbms\DatabaseMssql\selectSQLText(), CacheTime\setCacheTime(), OutputPage\setRedirectedFrom(), Skin\setRelevantTitle(), HTMLForm\setSubmitID(), HTMLForm\setSubmitText(), Profiler\setTemplated(), HTMLForm\setTitle(), Parser\setTitle(), ParserOutput\setTitleText(), 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(), DerivativeResourceLoaderContextTest\testChangeContentOverrides(), ResourceLoaderWikiModuleTest\testContentOverrides(), WikiPageDbTestBase\testDoDeleteArticle(), TextContentTest\testGetRedirectTarget(), WikiPageDbTestBase\testGetRedirectTarget(), MediaWiki\Tests\Revision\RevisionStoreDbTestBase\testNewMutableRevisionFromArray(), 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(), LanguageConverter\updateConversionTable(), and Language\userAdjust().

◆ $title

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

Definition at line 34 of file testCompression.php.

◆ $type

$type = $options['type'] ?? ConcatenatedGzipHistoryBlob::class

Definition at line 48 of file testCompression.php.

Referenced by PoolCounter\__construct(), PoolCounterRedis\__construct(), ManualLogEntry\__construct(), MediaWikiSite\__construct(), Installer\__construct(), PasswordFactory\__construct(), HTMLExpiryField\__construct(), RedisLockManager\__destruct(), FormOptions\add(), BaseBlacklist\addBlacklistType(), OutputPage\addCategoryLinks(), CheckStorage\addError(), SpecialLog\addHeader(), ApiQuerySearch\addInterwikiResults(), StripState\addItem(), MediaWiki\Tests\Maintenance\BackupDumperLoggerTest\addLogEntry(), BitmapMetadataHandler\addMetadata(), PostgresUpdater\addPgEnumValue(), PostgresUpdater\addPgExtIndex(), TestFileReader\addRequirement(), ContentHandler\addSearchField(), SiteStatsUpdate\adjustPending(), ApiQuerySiteinfo\appendExtensions(), ApiQuerySiteinfo\appendUserGroups(), ApiResult\applyTransformations(), ApiErrorFormatter\arrayFromStatus(), ApiErrorFormatter_BackCompat\arrayFromStatus(), XhprofDataTest\assertArrayStructure(), LogFormatterTest\assertIRCComment(), MediaWiki\Tests\Maintenance\DumpAsserter\assertLogItem(), MediaWikiTestCase\assertType(), SiteTest\assertTypeOrFalse(), MediaWikiTestCase\assertTypeOrValue(), RCCacheEntryFactory\buildCLink(), SpecialNewFiles\buildForm(), RCCacheEntryFactory\buildLastLink(), buildSearchEngine(), FeedUtils\checkFeedOutput(), UploadBase\checkSvgExternalDTD(), HTMLFileCache\clearFileCache(), Wikimedia\Rdbms\LoadBalancer\closeConnection(), CategoryPage\closeShowCategory(), StreamFile\contentTypeFromPath(), WikiPage\convertSelectType(), SearchEngine\create(), SearchEngineFactory\create(), UploadBase\createFromRequest(), CategoryMembershipChange\createRecentChangesEntry(), LayeredParameterizedPassword\crypt(), MediaWikiMediaTestCase\dataFile(), Exif\debug(), LCStoreStaticArray\decode(), CategoryViewer\doCategoryQuery(), MySqlLockManager\doGetLocksOnServer(), PostgreSqlLockManager\doGetLocksOnServer(), WikiImporter\doImport(), FSLockManager\doLock(), QuorumLockManager\doLock(), LockManager\doLockByType(), QuorumLockManager\doLockByType(), FSLockManager\doSingleLock(), FSLockManager\doSingleUnlock(), FSLockManager\doUnlock(), QuorumLockManager\doUnlock(), LockManager\doUnlockByType(), QuorumLockManager\doUnlockByType(), SearchUpdate\doUpdate(), SiteStatsUpdate\doUpdateContextStats(), Html\dropDefaults(), CSSMin\encodeImageAsDataURI(), CSSMin\encodeStringAsDataURI(), ApiMain\errorMessagesFromException(), SpecialLog\execute(), SpecialProtectedpages\execute(), SpecialProtectedtitles\execute(), ApiBlock\execute(), ApiQueryBlocks\execute(), ApiQueryLogEvents\execute(), ApiQueryTokens\execute(), ApiTokens\execute(), WebInstallerDBConnect\execute(), WebInstallerOptions\execute(), WebInstallerUpgrade\execute(), CleanupUploadStash\execute(), ConvertExtensionToRegistration\execute(), ConvertLinks\execute(), CopyJobQueue\execute(), GetLagTimes\execute(), HHVMMakeRepo\execute(), ImportImages\execute(), ManageJobs\execute(), Protect\execute(), PurgeChangedFiles\execute(), RunJobs\execute(), ShowJobs\execute(), CompressOld\execute(), UpdateCollation\execute(), ResourceLoaderFileModule\expandPackageFiles(), SiteExporter\exportSite(), ApiQueryWatchlist\extractOutputData(), LogFormatter\extractParameters(), ApiQueryRecentChanges\extractRowInfo(), PoolCounter\factory(), ScopedLock\factory(), ApiUploadTestCase\fakeUploadChunk(), ApiUploadTestCase\fakeUploadFile(), HistoryAction\feed(), SpecialNewpages\feed(), FormOptions\fetchValuesFromRequest(), GadgetDefinitionContent\fillParserOutput(), OutputPage\filterModules(), Installer\findExtensionsByType(), FormatMetadata\flattenArrayContentLang(), FormatMetadata\flattenArrayReal(), TemplatesOnThisPageFormatter\format(), FormatMetadata\formatCoords(), Message\formatListParam(), LogFormatter\formatParameterValue(), LogFormatter\formatParameterValueForApi(), BlockListPager\formatValue(), MemcLockManager\freeLocksOnServer(), RedisLockManager\freeLocksOnServer(), CategoryViewer\generateLink(), JobQueueGroup\get(), LegacyLogFormatter\getActionLinks(), OutputPage\getAllowedModules(), SpecialBlockList\getBlockListPager(), CachingSiteStore\getCacheKey(), OutputPage\getCategories(), LinksUpdate\getCategoryInsertions(), CategoryChangesAsRdf\getChangedCatsIterator(), 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(), Installer\getExtensionInfo(), SpecialVersion\getExtensionTypeName(), HTMLExpiryField\getFieldByType(), SpecialWhatLinksHere\getFilterPanel(), LogPager\getFilterParams(), LogEventsList\getFiltersDesc(), MediaHandler\getHandler(), MediaHandlerFactory\getHandler(), MediaHandlerFactory\getHandlerClass(), OutputPage\getHeadLinksArray(), ApiHelp\getHelpInternal(), MWException\getHTML(), Parser\getImageParams(), HTMLTextField\getInputHTML(), HTMLTextField\getInputOOUI(), BaseBlacklist\getInstance(), MockSearchResultSet\getInterwikiResults(), File\getIsSafeFileUncached(), OutputPage\getJSVars(), SpecialProtectedpages\getLevelMenu(), SpecialProtectedtitles\getLevelMenu(), StripState\getLimitationWarning(), MachineReadableRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), BaseBlacklist\getLocalBlacklists(), DBLockManager\getLocksOnServer(), MemcLockManager\getLocksOnServer(), RedisLockManager\getLocksOnServer(), MWExceptionHandler\getLogMessage(), MWExceptionHandler\getLogNormalMessage(), BlockLogFormatter\getMessageKey(), 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(), HTMLTextField\getType(), ManualLogEntry\getType(), SiteStatsUpdate\getTypeCacheKey(), SpecialProtectedpages\getTypeMenu(), LogEventsList\getTypeMenuDesc(), ArchivedFile\getUser(), ForeignAPIFile\getUser(), LocalFile\getUser(), BaseBlacklist\getWhitelists(), BitmapMetadataHandler\GIF(), Cite\guardedReferences(), FileBackendGroup\guessMimeInternal(), PoolCounter\hashKeyIntoSlots(), MockSearchResultSet\hasInterwikiResults(), Parser\incrementIncludeSize(), PasswordFactory\init(), MediaWiki\Auth\AuthManagerTest\initializeConfig(), Message\inLanguage(), Html\input(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\insertRestriction(), Language\internalUserTimeAndDate(), BaseBlacklist\isLocalSource(), Title\isProtected(), MIMEsearchPage\isValidType(), BitmapMetadataHandler\Jpeg(), SearchMySQL\legalSearchChars(), SearchOracle\legalSearchChars(), SearchSqlite\legalSearchChars(), LogPager\limitAction(), LogPager\limitType(), Message\listParam(), JobRunner\loadBackoffs(), Title\loadRestrictionsFromRows(), LockManager\lock(), FileBackend\lockFiles(), EnhancedChangesList\makeCacheGroupingKey(), FileBackend\makeContentDisposition(), ResourceLoaderClientHtml\makeContext(), FormatMetadata\makeFormattedData(), Parser\makeImage(), IndexPager\makeLink(), ImagePage\makeMetadataTable(), SiteImporter\makeSite(), EditPage\makeTemplatesOnThisPageList(), AuthManagerSpecialPage\mapFieldInfoTypeToFormDescriptorType(), AuthManagerSpecialPage\mapSingleFieldInfo(), MediaWikiTestCase\markTestSkippedIfDbType(), StripState\merge(), mimeTypeMatch(), JavaScriptMinifier\minify(), MovePage\move(), DatabaseUpdater\newForDB(), PasswordFactory\newFromCiphertext(), PasswordFactory\newFromType(), RecentChange\newLogEntry(), ContentHandlerTest\newSearchEngine(), LockManager\normalizePathsByType(), RecentChange\notifyLog(), SwiftFileBackend\objectListing(), SpecialChangeCredentials\onAuthChangeFormFields(), PostgresInstaller\openPgConnection(), CategoryTreeHooks\outputPageMakeCategoryLinks(), SpamBlacklistHooks\pageSaveContent(), CoreParserFunctions\pagesincategory(), CategoryViewer\pagingLinks(), SpecialUploadStash\parseKey(), Parser\parseLinkParameter(), RecentChange\parseToRCType(), JSMinPlus\parseTree(), LayeredParameterizedPassword\partialCrypt(), Wikimedia\Rdbms\Database\pendingWriteQueryDuration(), BitmapMetadataHandler\PNG(), JobQueueGroup\pop(), PdfImage\postProcessDump(), ApiTag\processIndividual(), BackupDumper\processOptions(), CoreParserFunctions\protectionexpiry(), CoreParserFunctions\protectionlevel(), HtmlTest\provideHtml5InputTypes(), PasswordTestCase\provideTypes(), PurgeChangedFiles\purgeFromLogType(), JobQueueGroup\push(), UserCache\queryNeeded(), JobQueueGroup\queuesHaveJobs(), TestFileReader\read(), SVGReader\read(), MSCompoundFileReader\readDirectory(), Installer\readExtension(), EnhancedChangesList\recentChangesBlockLine(), OutputPage\reduceAllowedModules(), PasswordFactory\register(), Wikimedia\Rdbms\Database\registerTempTableWrite(), SiteStatsUpdate\removePendingDeltas(), ImageMap\render(), Parser\renderImageGallery(), Message\replaceParameters(), LinkHolderArray\replaceTextCallback(), MediaWikiTestCase\resetNonServiceCaches(), Cite\rollbackRef(), ApiQueryCategoryMembers\run(), ApiQueryBacklinksprop\run(), JobRunner\run(), Wikimedia\Rdbms\LoadBalancer\runMasterTransactionIdleCallbacks(), Wikimedia\Rdbms\LoadBalancer\runMasterTransactionListenerCallbacks(), MWLBFactory\sanityCheckServerConfig(), User\sendConfirmationMail(), ApiResult\setArrayType(), ApiResult\setArrayTypeRecursive(), AjaxResponse\setContentType(), PasswordFactory\setDefaultType(), User\setEmailWithConfirmation(), TextSlotDiffRenderer\setEngine(), SearchResult\setExtensionData(), OutputPage\setFeedAppendQuery(), MapCacheLRU\setField(), CaptchaPreAuthenticationProviderTest\setTriggers(), PasswordTestCase\setUp(), ParserTestTopLevelSuite\setUp(), SpecialRenameuser\showLogExtract(), SpecialProtectedpages\showOptions(), LoginSignupSpecialPage\showReturnToPage(), LoginHelper\showReturnToPage(), LoginSignupSpecialPage\showSuccessPage(), HTTPFileStreamer\stream(), FileBackendDBRepoWrapper\streamFile(), WebInstallerDBConnect\submit(), SpecialEmailUser\submit(), TextSuppressor\suppress(), CheckStyleSuppressor\suppress(), JobRunner\syncBackoffDeltas(), MediaWikiTestCase\teardownTestDB(), ParserFactoryTest\testAllArgumentsWerePassed(), MediaWiki\Auth\AuthManagerTest\testCanCreateAccounts(), MediaWiki\Auth\AuthManagerTest\testCanLinkAccounts(), XhprofDataTest\testCompleteMetricsStructure(), PasswordTestCase\testCrypt(), SpecialRedirectTest\testDispatch(), OutputPageTest\testFeedLinks(), TextContentHandlerTest\testFieldsForIndex(), MediaWiki\Auth\AuthManagerTest\testGetAuthenticationRequests(), StatusTest\testGetErrorsWarningsOnlyStatus(), MediaWikiServicesTest\testGetService(), MediaWikiServicesTest\testGetters(), XhprofDataTest\testInclusiveMetricsStructure(), FileContentHandlerTest\testIndexMapping(), MessageTest\testListParam(), ResourceLoaderClientHtmlTest\testMakeLoad(), 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\TemporaryPasswordPrimaryAuthenticationProviderTest\testProviderChangeAuthenticationData(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest\testProviderChangeAuthenticationData(), ExifRotationTest\testRotationRendering(), ExifRotationTest\testRotationRenderingNoAutoRotate(), SearchEngineTest\testSearchIndexFields(), IEContentAnalyzer\translateMimeType(), LogEventsList\typeAction(), LockManager\unlock(), FileBackend\unlockFiles(), ZipDirectoryReader\unpack(), StripState\unstripType(), WikiPage\updateCategoryCounts(), LogEventsList\userCanViewLogType(), SpamBlacklistHooks\validate(), FormOptions\validateBounds(), ApiStructureTest\validateDefault(), CliInstaller\validateExtensions(), ApiStructureTest\validateType(), ApiResult\validateValue(), JobQueueGroup\waitForBackups(), and wfNegotiateType().

◆ $uncompressedSize

$uncompressedSize = 0

Definition at line 68 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.