MediaWiki
1.28.0
|
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 |
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.
$blob = new $type |
Definition at line 63 of file testCompression.php.
Referenced by MediaWiki\Session\SessionBackend\__construct(), DatabaseMssql\addQuotes(), ExternalStoreDB\batchFetchFromURLs(), ResourceLoaderModule\buildContent(), JobQueueRedis\doPop(), DumpRev\execute(), ContentHandler\exportTransform(), JobQueueDB\extractBlob(), LogEntryBase\extractParams(), LogPage\extractParams(), DatabaseLogEntry\getParameters(), ContentHandler\importTransform(), MediaWiki\Session\SessionManager\loadSessionInfoFromStore(), ResourceLoader\preloadModuleInfo(), MessageBlobStore\recacheMessageBlob(), JobQueueRedis\serialize(), ResourceLoaderModule\setMessageBlob(), MediaWiki\Session\TestBagOStuff\setRawSession(), MessageBlobStoreTest\testClear(), MessageBlobStoreTest\testGetBlob(), MessageBlobStoreTest\testGetBlobCached(), MediaWiki\Session\SessionBackendTest\testRenew(), MediaWiki\Session\SessionBackendTest\testSave(), MessageBlobStoreTest\testUpdateMessage(), MessageBlobStoreTest\testValidation(), JobQueueRedis\unserialize(), DummyNonTextContentHandler\unserializeContent(), and DummyContentHandlerForTesting\unserializeContent().
$dbr = $this->getDB( DB_REPLICA ) |
Definition at line 50 of file testCompression.php.
Referenced by SpecialRandomrootpage\__construct(), MergeHistoryPager\__construct(), ImageListPager\__construct(), OutputPage\addCategoryLinks(), LinkCache\addLinkObj(), ExternalStoreDB\batchFetchBlobs(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider\beginPrimaryAuthentication(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\beginPrimaryAuthentication(), SpecialRecentChanges\buildMainQueryConds(), SpecialWatchlist\buildMainQueryConds(), ChangesListSpecialPage\buildMainQueryConds(), ImageListPager\buildQueryConds(), SiteStatsUpdate\cacheUpdate(), UserOptions\CHANGER(), CheckStorage\check(), FindOrphanedFiles\checkFiles(), Pingback\checkIfSent(), TrackBlobs\checkIntegrity(), SpecialRecentChanges\checkLastModified(), User\checkNewtalk(), LocalRepo\checkRedirect(), RevisionDeleter\checkRevisionExistence(), RecompressTracked\checkTrackingTable(), 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(), SpecialRedirect\dispatchLog(), RecompressTracked\doAllOrphans(), RecompressTracked\doAllPages(), ActiveUsersPager\doBatchLookups(), UsersPager\doBatchLookups(), CategoryViewer\doCategoryQuery(), FixDefaultJsonContentPages\doDBUpdates(), JobQueueDB\doGetAbandonedCount(), JobQueueDB\doGetAcquiredCount(), JobQueueDB\doGetSiblingQueueSizes(), JobQueueDB\doGetSiblingQueuesWithJobs(), JobQueueDB\doGetSize(), JobQueueDB\doIsEmpty(), PopulateRevisionLength\doLenUpdates(), SpecialRecentChangesLinked\doMainQuery(), SpecialRecentChanges\doMainQuery(), SpecialWatchlist\doMainQuery(), ChangesListSpecialPage\doMainQuery(), RecompressTracked\doPage(), UserCache\doQuery(), GenderCache\doQuery(), LinkBatch\doQuery(), RefreshLinks\doRefreshLinks(), MovePageForm\doSubmit(), LinkHolderArray\doVariants(), Title\estimateRevisionCount(), RemoveInvalidEmails\execute(), StorageTypeStats\execute(), CompareParserCache\execute(), FindMissingFiles\execute(), CheckBadRedirects\execute(), CheckImages\execute(), ClearInterwikiCache\execute(), DumpRev\execute(), DeleteDefaultMessages\execute(), InitEditCount\execute(), RemoveUnusedAccounts\execute(), CheckUsernames\execute(), UpdateArticleCount\execute(), ApiQueryContributions\execute(), CleanupSpam\execute(), UploadStashCleanup\execute(), FixDoubleRedirects\execute(), RefreshFileHeaders\execute(), FixBug20757\execute(), SpecialActiveUsers\execute(), ShowSiteStats\execute(), OrphanStats\execute(), DumpLinks\execute(), PurgeChangedPages\execute(), ResetUserTokens\execute(), RebuildFileCache\execute(), UpdateCollation\execute(), PurgeChangedFiles\execute(), QueryPage\execute(), ExternalStoreDB\fetchBlob(), UploadStash\fetchFileMetadata(), QueryPage\fetchFromCache(), UploadDumper\fetchLocal(), HistoryAction\fetchRevisions(), Parser\fetchScaryTemplateMaybeFromCache(), UploadDumper\fetchUsed(), TitleCleanup\fileExists(), 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(), WikiPage\getContributors(), AllMessagesTablePager\getCustomisedStatuses(), ForeignDBFile\getDescriptionShortUrl(), User\getEditCount(), ResourceLoaderModule\getFileDependencies(), User\getFirstEditTimestamp(), WikiFilePage\getForeignCategories(), SpecialBotPasswords\getFormFields(), WikiPage\getHiddenCategories(), LocalFile\getHistory(), JobQueueDB\getJobIterator(), EditPage\getLastDelete(), PageArchive\getLastRevisionText(), SpecialExport\getLinks(), Category\getMembers(), SpecialRandomInCategory\getMinAndMaxForCat(), MessageCache\getMsgFromNamespace(), User\getNewMessageLinks(), WatchedItemStore\getNotificationTimestampsBatch(), SpecialExport\getPagesFromCategory(), SpecialExport\getPagesFromNamespace(), Title\getParentCategories(), PageArchive\getPreviousRevision(), PageProps\getProperties(), NewFilesPager\getQueryInfo(), BrokenRedirectsPage\getQueryInfo(), MediaStatisticsPage\getQueryInfo(), ActiveUsersPager\getQueryInfo(), WithoutInterwikiPage\getQueryInfo(), UsersPager\getQueryInfo(), LinkSearchPage\getQueryInfo(), SpecialRandomInCategory\getQueryInfo(), ImageListPager\getQueryInfoReal(), Block\getRangeCond(), Revision\getRecentChange(), Title\getRedirectsHere(), WikiPage\getRedirectTarget(), BenchmarkParse\getRevIdForTime(), PageArchive\getRevision(), FixBug20757\getRevTextMap(), OutputPage\getRlClient(), Linker\getRollbackEditCount(), RollbackEdits\getRollbackTitles(), Title\getSubpages(), HistoryBlobStub\getText(), HistoryBlobCurStub\getText(), TrackBlobs\getTextClause(), PageArchive\getTextFromRow(), Revision\getTitle(), ResourceLoaderWikiModule\getTitleInfo(), Title\getTitleProtection(), CheckStorage\importRevision(), User\incEditCountImmediate(), User\initEditCount(), Category\initialize(), BackupDumper\initProgress(), Title\isBigDeletion(), PageArchive\isDeleted(), Title\isDeleted(), Title\isDeletedQuick(), Title\isNewPage(), PageArchive\listAllPages(), ChangeTags\listExplicitlyDefinedTags(), PageArchive\listFiles(), UploadStash\listFiles(), PageArchive\listPages(), PageArchive\listPagesByPrefix(), PageArchive\listRevisions(), ArchivedFile\load(), MediaWiki\Interwiki\ClassicInterwikiLookup\load(), OldLocalFile\loadExtraFromDB(), LocalFile\loadFieldsWithTimestamp(), OldLocalFile\loadFromDB(), LocalFile\loadFromDB(), MessageCache\loadFromDB(), WikiPage\loadLastEdit(), Revision\loadMutableFields(), User\loadOptions(), Title\loadRestrictions(), Title\loadRestrictionsFromRows(), DifferenceEngine\loadRevisionData(), DBSiteStore\loadSites(), WatchedItemStore\loadWatchedItem(), SearchMySQL\minSearchLength(), moveToExternal(), LinkSearchPage\mungeQuery(), Title\nameOf(), Block\newFromID(), UserArray\newFromIDs(), Title\newFromIDs(), OldLocalFile\newFromKey(), LocalFile\newFromKey(), UserArray\newFromNames(), LocalFile\nextHistoryLine(), SiteStats\numberingroup(), SpecialRecentChanges\outputChangesList(), SpecialWatchlist\outputChangesList(), InfoAction\pageCounts(), WikiPage\pageData(), WikiPage\pageDataFromId(), Article\pageDataFromId(), WikiPage\pageDataFromTitle(), Article\pageDataFromTitle(), SiteStats\pagesInNs(), ResourceLoader\preloadModuleInfo(), PurgeChangedFiles\purgeFromArchiveTable(), PurgeChangedFiles\purgeFromLogType(), PurgeList\purgeNamespace(), ImagePage\queryImageLinks(), QueryPage\reallyDoQuery(), DoubleRedirectsPage\reallyGetQueryInfo(), LinkHolderArray\replaceInternal(), WikiPage\replaceSectionContent(), resolveStub(), resolveStubs(), CheckStorage\restoreText(), CategoryMembershipChangeJob\run(), TableCleanup\runTable(), UserNamePrefixSearch\search(), RandomPage\selectRandomPageFromDB(), SpecialRandomInCategory\selectRandomPageFromDB(), SpecialAllPages\showChunk(), MovePageForm\showForm(), SpecialWhatLinksHere\showIndirectLinks(), Article\showPatrolFooter(), SpecialPrefixindex\showPrefixChunk(), SpecialVersion\softwareInformation(), RecompressTracked\syncDBs(), ChangeTags\tagUsageStatistics(), RevisionStorageTest\testConstructFromRow(), WikiPageTest\testDoDeleteArticle(), WikiPageTest\testDoDeleteUpdates(), WikiPageTest\testDoEdit(), WikiPageTest\testDoEditContent(), LBFactoryTest\testLBFactoryMulti(), LBFactoryTest\testLBFactorySimpleServer(), LBFactoryTest\testLBFactorySimpleServers(), RevisionStorageTest\testNewFromArchiveRow(), RevisionStorageTest\testNewFromRow(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider\testUserCanAuthenticate(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\testUserCanAuthenticate(), TrackBlobs\trackOrphanText(), TrackBlobs\trackRevisions(), UserOptions\USAGER(), and ApiTag\validateLogId().
$hashes = [] |
Definition at line 64 of file testCompression.php.
Referenced by HashRing\__construct(), ArrayUtils\consistentHashSort(), OrphanStats\execute(), LocalFileDeleteBatch\execute(), ResourceLoader\getCombinedVersion(), FileContentsHasher\getFileContentsHash(), LocalFileDeleteBatch\getHashes(), and FileContentsHasherTest\testMultipleFileHash().
$keys = [] |
Definition at line 65 of file testCompression.php.
Referenced by Status\__sleep(), 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(), UploadStashCleanup\execute(), DatabaseSqlite\fieldName(), BlockListPager\formatValue(), MemcLockManager\freeLocksOnServer(), Installer\generateKeys(), MemcachedClient\get_multi(), MemcLockManager\getLocksOnServer(), HTMLFormField\getNearestFieldByName(), ConvertExtensionToRegistration\handleCredits(), DatabaseMssql\insert(), DatabasePostgres\insert(), Database\insert(), LocalisationCache\isExpired(), UploadStash\listFiles(), MWRestrictions\loadFromArray(), UserPasswordPolicy\maxOfPolicies(), Message\newFallbackSequence(), User\pingLimiter(), FormatMetadata\sanitizeArrayForAPI(), ApiResult\setValue(), PrefixSearch\specialSearch(), ApiWatchTest\testGetRollbackToken(), WANObjectCacheTest\testProcessCache(), ApiWatchTest\testWatchRollback(), and PoolCounterRedis\waitForSlotOrNotif().
if (!isset($args[0])) $lang = Language::factory( 'en' ) |
Definition at line 33 of file testCompression.php.
Referenced by SearchNearMatcher\__construct(), SearchEngineConfig\__construct(), ParserOptions\__construct(), OutputPage\addAcceptLanguage(), LinkCache\addGoodLinkObj(), ApiQuerySiteinfo\appendLanguages(), ProtectionForm\buildForm(), SpecialEditWatchlist\buildTools(), Preferences\datetimePreferences(), TextContent\diff(), SpecialUndelete\diffHeader(), Skin\doEditSectionLink(), SpecialWatchlist\doHeader(), ImagePage\doRenderLangOpt(), SvgHandler\doTransform(), Installer\envCheckShellLocale(), DateFormats\execute(), ListVariants\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(), 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(), RightsLogFormatter\getMessageParameters(), AlphabeticPager\getNavigationBar(), DeletedContribsPager\getNavigationBar(), SearchNearMatcher\getNearMatchInternal(), ContentHandler\getPageLanguage(), Language\getParentLanguage(), Block\getPermissionsError(), SpecialWhatLinksHere\getPrevNext(), MWTimestamp\getRelativeTimestamp(), ResourceLoaderTestCase\getResourceLoaderContext(), 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(), Message\inLanguage(), FormatMetadata\langItem(), CoreParserFunctions\language(), Status\languageFromParam(), MessageBlobStore\makeCacheKey(), MediaWikiTitleCodecTest\makeCodec(), FormatMetadata\makeFormattedData(), LoginSignupSpecialPage\makeLanguageSelector(), LoginSignupSpecialPage\makeLanguageSelectorLink(), MessageCacheTest\makePage(), SvgHandler\makeParamString(), Language\newFromCode(), RevertAction\onSuccess(), ImagePage\openShowImage(), SpecialRecentChanges\optionsPanel(), InfoAction\pageInfo(), ParserTestRunner\perTestSetup(), ResourceLoader\preloadModuleInfo(), Preferences\profilePreferences(), SvgHandler\rasterize(), MessageBlobStore\recacheMessageBlob(), SpecialPageTest\requireLoginAnonProvider(), FormatMetadata\resolveMultilangValue(), ChangeTags\restrictedTagError(), SpecialSearch\searchProfileTabs(), MediaWikiTestCase\setContentLang(), MediaWiki\Auth\AuthManager\setDefaultUserOptions(), ResourceLoaderModule\setMessageBlob(), Installer\setParserLanguage(), DifferenceEngine\setTextLanguage(), MediaWikiTestCase\setUserLang(), ChangesList\showCharacterDifference(), Article\showCssOrJsPage(), SpecialUndelete\showFileConfirmationForm(), SpecialSearch\showHit(), SpecialExpandTemplates\showHtmlPreview(), LogEventsList\showLogExtract(), Article\showMissingArticle(), EmailConfirmation\showRequestForm(), SpecialUndelete\showRevision(), SiteConfiguration\siteFromDB(), Skin\subPageSubtitle(), MessageTest\testBitrateParams(), SpecialPageFactoryTest\testConflictResolution(), MessageTest\testDurationParams(), LanguageTest\testEmbedBidi(), ApiErrorFormatterTest\testErrorFormatter(), MessageTest\testExpiryParams(), 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(), MessageTest\testNumParams(), LanguageTest\testParseFormattedNumber(), MediaWikiTitleCodecTest\testParseTitle(), MessageTest\testPlaintextParams(), MessageTest\testSizeParams(), MessageTest\testTimeperiodParams(), LanguageTest\testTranslateBlockExpiry(), DummyLinker\tocList(), Linker\tocList(), TraditionalImageGallery\toHTML(), SpecialRevisionDelete\tryShowFile(), LocalisationCache\unloadAll(), and Article\viewRedirect().
$optionsWithArgs = [ 'start', 'limit', 'type' ] |
Definition at line 24 of file testCompression.php.
$res |
Definition at line 51 of file testCompression.php.
Definition at line 79 of file testCompression.php.
Referenced by MediaWiki\Session\Session\getSecret(), SiteImporterTest\getSerializedSiteList(), CookieJar\serializeToHttpRequest(), MediaWiki\Session\Session\setSecret(), PasswordTestCase\testStringSerialization(), unserialize(), Message\unserialize(), and Site\unserialize().
Definition at line 67 of file testCompression.php.
Referenced by JSNode\__construct(), ParserOutput\addLanguageLink(), MediaWiki\Tidy\Balancer\advance(), CoreParserFunctions\basepagename(), CoreParserFunctions\basepagenamee(), ProtectionForm\buildForm(), Revision\checkContentModel(), FakeConverter\convert(), FakeConverter\convertTitle(), UploadFromUrlTest\deleteFile(), PopulateImageSha1\doDBUpdates(), SpecialRecentChanges\doHeader(), MysqlUpdater\doSchemaRestructuring(), SearchOracle\escapeTerm(), SpecialExport\execute(), ApiQueryCategoryInfo\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(), ParserOutput\getDisplayTitle(), ApiPageSet\getInvalidTitles(), DummyLinker\getLinkColour(), PNGMetadataExtractor\getMetadata(), SpecialAllPages\getNamespaceKeyAndText(), SearchUpdate\getNormalizedTitle(), DatabaseSqliteTest\getTables(), ApiQueryInfo\getTSIDs(), Skin\lastModified(), 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(), LanguageConverter\parseCachedTable(), SearchOracle\parseQuery(), RecentChange\parseToRCType(), JSMinPlus\parseTree(), ApiQueryBase\prefixedTitlePartToKey(), SpecialPage\prefixSearchString(), FileDuplicateSearchPage\prefixSearchSubpages(), Preferences\profilePreferences(), WfTimestampTest\provideNormalTimestamps(), Parser\pstPass2(), Sanitizer\removeHTMLtags(), 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(), DatabaseMssql\selectSQLText(), CacheTime\setCacheTime(), ParserOutput\setEditSectionTokens(), OutputPage\setRedirectedFrom(), Skin\setRelevantTitle(), HTMLForm\setSubmitID(), HTMLForm\setSubmitText(), Profiler\setTemplated(), DerivativeContext\setTitle(), Parser\setTitle(), HTMLForm\setTitle(), ParserOutput\setTitleText(), QuickTemplate\setTranslator(), SpecialAllPages\showChunk(), 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(), Database\timestamp(), ApiQueryBase\titlePartToKey(), StringPrefixSearch\titles(), LanguageConverter\updateConversionTable(), and Language\userAdjust().
$title = Title::newFromText( $args[0] ) |
Definition at line 34 of file testCompression.php.
Definition at line 48 of file testCompression.php.
$uncompressedSize = 0 |
Definition at line 66 of file testCompression.php.
$untilHappy = true |
Definition at line 46 of file testCompression.php.
Definition at line 38 of file testCompression.php.