wiki.techinc.nl/includes/api
Ori Livneh 0f1ffa4da7 Segment stash edit cache stats by basis for hit/miss
Instead of just counting cache hits and misses, segment the counts by reason,
so we can differentiate (for example) timestamp-based cache hits from
staleness-check-survivor cache hits. I want this data so I can determine
whether increasing the cutoff for timestamp-based hits from 3 to 5 seconds has
a substantial enough impact to warrant the slightly weaker consistency.

Also changed 'cache-hit' to 'cache_hit'. MediaWiki normalizes the dash to an
underscore anyway, but the normalization is there for dynamically-constructed
key names (or name segments). In the case of hard-coded values, it is desirable
for the code to be as close as possible to the final form of the metric name,
to simplify metric lookup.

Change-Id: I0cd61da9746e3ca3695e23200f698b8b1371798c
2016-04-19 01:31:39 +00:00
..
i18n Localisation updates from https://translatewiki.net. 2016-04-18 21:59:44 +02:00
ApiBase.php Reject usernames with # as user-type API parameters 2016-04-16 17:45:39 +00:00
ApiBlock.php Convert remaining array() to [] in API 2016-02-29 22:51:36 +00:00
ApiCheckToken.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiClearHasMsg.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiComparePages.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiContinuationManager.php Replace uses of join() by implode() 2016-03-08 18:24:16 +00:00
ApiCreateAccount.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiDelete.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiDisabled.php
ApiEditPage.php Use single quotes in API where possible 2016-03-08 17:27:00 +01:00
ApiEmailUser.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiErrorFormatter.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiExpandTemplates.php Use single quotes in API where possible 2016-03-08 17:27:00 +01:00
ApiFeedContributions.php Use single quotes in API where possible 2016-03-08 17:27:00 +01:00
ApiFeedRecentChanges.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiFeedWatchlist.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiFileRevert.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiFormatBase.php Explicitly declare ApiFormatBase::initPrinter public 2016-03-08 16:11:31 +00:00
ApiFormatFeedWrapper.php
ApiFormatJson.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiFormatNone.php
ApiFormatPhp.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiFormatRaw.php
ApiFormatXml.php Explicitly declare ApiFormatXml::addXslt() protected 2016-03-08 16:12:26 +00:00
ApiHelp.php Switch to external HtmlFormatter 2016-04-13 02:37:59 +00:00
ApiHelpParamValueMessage.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiImageRotate.php Use single quotes in API where possible 2016-03-08 17:27:00 +01:00
ApiImport.php Explicitly declare ApiImport::getData() public 2016-03-08 16:14:22 +00:00
ApiLogin.php Use english messages for background use of Status::getWikiText 2016-04-12 20:01:44 +02:00
ApiLogout.php Allow API action=logout with BotPasswords 2016-03-01 02:26:45 +00:00
ApiMain.php Removed ApiMain::(getFormats|addFormat|addModule|getShowVersions). 2016-04-01 19:41:48 +00:00
ApiManageTags.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiMergeHistory.php Remove some unused variables 2016-02-20 20:22:56 +00:00
ApiMessage.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiModuleManager.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiMove.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiOpenSearch.php Use single quotes in API where possible 2016-03-08 17:27:00 +01:00
ApiOptions.php Use single quotes in API where possible 2016-03-08 17:27:00 +01:00
ApiPageSet.php ApiPageSet::finishPageSetGeneration() was removed 2016-04-01 19:58:26 +00:00
ApiParamInfo.php Replace uses of join() by implode() 2016-03-08 18:24:16 +00:00
ApiParse.php Merge "Use single quotes in API where possible" 2016-03-08 17:03:24 +00:00
ApiPatrol.php Add tags support to patrol, protect, unblock, and undelete 2016-02-29 16:59:31 -05:00
ApiProtect.php Add tags support to patrol, protect, unblock, and undelete 2016-02-29 16:59:31 -05:00
ApiPurge.php Add RecursiveLinkPurge log for API requests 2016-03-15 21:39:40 +00:00
ApiQuery.php API: Allow fetching login token from action=query&meta=tokens on private wikis 2016-03-18 17:11:40 -04:00
ApiQueryAllCategories.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryAllDeletedRevisions.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryAllImages.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryAllLinks.php Replace uses of join() by implode() 2016-03-08 18:24:16 +00:00
ApiQueryAllMessages.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryAllPages.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryAllRevisions.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryAllUsers.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryBacklinks.php Replace uses of join() by implode() 2016-03-08 18:24:16 +00:00
ApiQueryBacklinksprop.php Replace uses of join() by implode() 2016-03-08 18:24:16 +00:00
ApiQueryBase.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryBlocks.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryCategories.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryCategoryInfo.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryCategoryMembers.php Use hex2bin() instead of pack() 2016-02-20 00:27:24 -05:00
ApiQueryContributors.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryDeletedRevisions.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryDeletedrevs.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryDisabled.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryDuplicateFiles.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryExternalLinks.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryExtLinksUsage.php API: Normalize input URL in ApiQueryExtLinksUsage 2016-03-26 18:14:43 -04:00
ApiQueryFilearchive.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryFileRepoInfo.php Replace uses of join() by implode() 2016-03-08 18:24:16 +00:00
ApiQueryGeneratorBase.php
ApiQueryImageInfo.php API: Allow subclassing ApiQueryImageInfo 2016-04-17 22:02:20 +02:00
ApiQueryImages.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryInfo.php Use WatchedItemStore in ApiQueryInfo::getWatchedInfo 2016-03-21 10:25:54 +01:00
ApiQueryIWBacklinks.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryIWLinks.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryLangBacklinks.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryLangLinks.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryLinks.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryLogEvents.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryMyStashedFiles.php Remove some unused variables 2016-02-20 20:22:56 +00:00
ApiQueryPagePropNames.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryPageProps.php Remove some unused variables 2016-02-20 20:22:56 +00:00
ApiQueryPagesWithProp.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryPrefixSearch.php Fix function call casing 2016-02-22 18:30:33 +00:00
ApiQueryProtectedTitles.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryQueryPage.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryRandom.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryRecentChanges.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryRevisions.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryRevisionsBase.php Merge "Use single quotes in API where possible" 2016-03-08 17:03:24 +00:00
ApiQuerySearch.php Use english messages for background use of Status::getWikiText 2016-04-12 20:01:44 +02:00
ApiQuerySiteinfo.php Use Elvis operator where possible in API 2016-03-08 16:10:23 +00:00
ApiQueryStashImageInfo.php ApiQueryStashImageInfo: Don't throw exceptions when the user is not logged in 2016-03-18 16:22:58 +01:00
ApiQueryTags.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryTokens.php Change \\ to \ in phpdoc 2016-04-08 17:46:30 +00:00
ApiQueryUserContributions.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryUserInfo.php Add countUnreadNotifications to WatchedItemStore 2016-03-14 16:00:47 +00:00
ApiQueryUsers.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryWatchlist.php ApiQueryWatchlist: wlshow=unread should filter revisions, not pages 2016-02-17 15:50:35 +00:00
ApiQueryWatchlistRaw.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiResult.php Always use 'bool' instead of 'boolean' in Doxygen tags 2016-03-24 09:44:09 +01:00
ApiRevisionDelete.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiRollback.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiRsd.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiSerializable.php
ApiSetNotificationTimestamp.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiStashEdit.php Segment stash edit cache stats by basis for hit/miss 2016-04-19 01:31:39 +00:00
ApiTag.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiTokens.php Use single quotes in API where possible 2016-03-08 17:27:00 +01:00
ApiUnblock.php Add tags support to patrol, protect, unblock, and undelete 2016-02-29 16:59:31 -05:00
ApiUndelete.php Add tags support to patrol, protect, unblock, and undelete 2016-02-29 16:59:31 -05:00
ApiUpload.php Merge "Use english messages for background use of Status::getWikiText" 2016-04-13 14:03:56 +00:00
ApiUserrights.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiWatch.php Use single quotes in API where possible 2016-03-08 17:27:00 +01:00