wiki.techinc.nl/includes/api
Roan Kattouw 015c90fbf9 ApiParse: Replace isCurrent() check with getLatest() comparison
Because the $pageObj state is what actually ends up getting used.
If $pageObj thinks an old rev is the latest one, then we are in
trouble, even if $rev knows what's really going on.

Bug: T95466
Change-Id: I4d6ba4f18adaaad052d3bee1a575ba034aaf112b
2015-04-08 22:34:16 +00:00
..
i18n Localisation updates from https://translatewiki.net. 2015-04-06 21:20:51 +02:00
ApiBase.php API: Remove explicit profiling 2015-03-10 18:35:22 -04:00
ApiBlock.php Refactor out 'infinity' variants 2015-03-12 16:38:02 +00:00
ApiCheckToken.php API: Add authz features for RESTBase 2015-02-19 16:45:03 -05:00
ApiClearHasMsg.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiComparePages.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiCreateAccount.php New convenience method ApiBase::lacksSameOriginSecurity() 2015-02-27 09:48:37 -05:00
ApiDelete.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiDisabled.php API: Internationalize all remaining core API modules 2014-10-20 16:56:35 -04:00
ApiEditPage.php Add a breadcrumb to EditPage refactor 2015-04-05 00:02:02 -07:00
ApiEmailUser.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiExpandTemplates.php API: Add page properties to action=expandtemplates output 2014-12-22 21:45:59 +00:00
ApiFeedContributions.php Introduce ApiFeedContributions::feedItem hook 2015-01-23 10:11:22 -08:00
ApiFeedRecentChanges.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiFeedWatchlist.php API: Handle invalid titles in action=feedwatchlist 2015-03-03 10:29:49 -05:00
ApiFileRevert.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiFormatBase.php Replace wfRunHooks calls with direct Hooks::run calls 2014-12-10 12:26:59 -08:00
ApiFormatDbg.php API: Clean up and internationalize pretty-printed output 2014-10-13 16:17:37 -07:00
ApiFormatDump.php API: Clean up and internationalize pretty-printed output 2014-10-13 16:17:37 -07:00
ApiFormatFeedWrapper.php API: Fix ApiFormatFeedWrapper 2014-10-22 13:13:11 -04:00
ApiFormatJson.php API: Work around wfMangleFlashPolicy() 2014-11-20 10:03:31 -05:00
ApiFormatNone.php API: Clean up and internationalize pretty-printed output 2014-10-13 16:17:37 -07:00
ApiFormatPhp.php API: Work around wfMangleFlashPolicy() 2014-11-20 10:03:31 -05:00
ApiFormatRaw.php Make declaration of ApiFormatRaw compatible with ApiFormatBase 2014-10-17 21:16:58 +02:00
ApiFormatTxt.php API: Clean up and internationalize pretty-printed output 2014-10-13 16:17:37 -07:00
ApiFormatWddx.php Improve testing for ApiFormatBase subclasses 2014-12-23 14:55:23 -05:00
ApiFormatXml.php Fix copy/pasto in API help and a typo in message name 2014-10-15 22:52:40 +02:00
ApiFormatYaml.php API: Clean up and internationalize pretty-printed output 2014-10-13 16:17:37 -07:00
ApiHelp.php API: Allow for documenting individual values of 'prop' parameters 2014-12-22 16:46:44 -05:00
ApiHelpParamValueMessage.php API: Allow for documenting individual values of 'prop' parameters 2014-12-22 16:46:44 -05:00
ApiImageRotate.php Made wfFindFile/wfLocalFile callers use explicit "latest" flags 2015-03-06 04:18:50 +00:00
ApiImport.php Updated some try-catch statements: MWException -> Exception 2015-01-09 17:20:22 -08:00
ApiLogin.php New convenience method ApiBase::lacksSameOriginSecurity() 2015-02-27 09:48:37 -05:00
ApiLogout.php Replace wfRunHooks calls with direct Hooks::run calls 2014-12-10 12:26:59 -08:00
ApiMain.php Catch rollback exceptions in API exception handling 2015-04-06 13:18:22 -04:00
ApiManageTags.php Creation, deletion and improved management of change tags 2015-02-04 14:14:18 -05:00
ApiModuleManager.php Add ApiModuleManager::getClassName() 2014-09-08 02:06:33 -07:00
ApiMove.php API: Check suppressredirect right in ApiMove 2014-11-26 14:43:58 -05:00
ApiOpenSearch.php Add lots of @throws 2014-12-24 13:49:20 +00:00
ApiOptions.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiPageSet.php API: Remove explicit profiling 2015-03-10 18:35:22 -04:00
ApiParamInfo.php API: paraminfo html strings shouldn't include unnecessary <p>s 2015-03-02 14:29:30 +00:00
ApiParse.php ApiParse: Replace isCurrent() check with getLatest() comparison 2015-04-08 22:34:16 +00:00
ApiPatrol.php Fix case of various newFromID/newFromId functions 2014-12-10 19:40:27 +00:00
ApiProtect.php Refactor out 'infinity' variants 2015-03-12 16:38:02 +00:00
ApiPurge.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQuery.php API: Reduce volume of "continue format is changing" warning 2015-04-01 08:23:20 -04:00
ApiQueryAllCategories.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryAllDeletedRevisions.php API: Fix namespace handling in list=alldeletedrevs with from/to/predix 2014-11-24 10:14:37 -05:00
ApiQueryAllImages.php Allow querying for multiple MIME types in the allimages API 2014-12-29 22:57:29 +01:00
ApiQueryAllLinks.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryAllMessages.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryAllPages.php API: Avoid MySQL filesort with list=allpages&apfilterlanglinks=withlanglinks 2014-12-19 00:08:36 +00:00
ApiQueryAllUsers.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryBacklinks.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryBacklinksprop.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryBase.php API: Remove explicit profiling 2015-03-10 18:35:22 -04:00
ApiQueryBlocks.php API: Unconditionally load ipb_timestamp in ApiQueryBlocks 2015-02-18 16:54:25 -05:00
ApiQueryCategories.php Removed FORCE INDEX from API category queries 2015-02-23 05:10:57 +00:00
ApiQueryCategoryInfo.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryCategoryMembers.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryContributors.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryDeletedRevisions.php Refactor content fetch condition in ApiQueryRevisionsBase 2014-11-10 18:50:36 +01:00
ApiQueryDeletedrevs.php New convenience method ApiBase::lacksSameOriginSecurity() 2015-02-27 09:48:37 -05:00
ApiQueryDisabled.php API: Internationalize all remaining core API modules 2014-10-20 16:56:35 -04:00
ApiQueryDuplicateFiles.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryExternalLinks.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryExtLinksUsage.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryFilearchive.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryFileRepoInfo.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryImageInfo.php API: Allow for documenting individual values of 'prop' parameters 2014-12-22 16:46:44 -05:00
ApiQueryImages.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryInfo.php New convenience method ApiBase::lacksSameOriginSecurity() 2015-02-27 09:48:37 -05:00
ApiQueryIWBacklinks.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryIWLinks.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryLangBacklinks.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryLangLinks.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryLinks.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryLogEvents.php Fix list=logevents for new revision delete log entries 2015-03-30 20:18:44 +02:00
ApiQueryORM.php API: Internationalize all remaining core API modules 2014-10-20 16:56:35 -04:00
ApiQueryPagePropNames.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryPageProps.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryPagesWithProp.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryPrefixSearch.php API: Properly handle limit and continuation for generator=prefixsearch 2015-03-04 09:30:14 -05:00
ApiQueryProtectedTitles.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryQueryPage.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryRandom.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryRecentChanges.php Pass if log entry is legacy to ApiQueryLogEvents::addLogParams() 2015-03-12 11:57:03 -07:00
ApiQueryRevisions.php New convenience method ApiBase::lacksSameOriginSecurity() 2015-02-27 09:48:37 -05:00
ApiQueryRevisionsBase.php Revision: mark getRaw*() methods as deprecated 2015-01-18 06:57:56 +01:00
ApiQuerySearch.php API: Don't dump Title object into API result 2015-02-03 10:01:08 -05:00
ApiQuerySiteinfo.php Fix ApiQuerySiteInfo with siprop=rightsinfo to not die if your wgRightsPage is null 2015-04-06 18:31:51 +01:00
ApiQueryStashImageInfo.php Remove never thrown UploadStashNotAvailableException 2015-03-25 19:29:49 +00:00
ApiQueryTags.php Creation, deletion and improved management of change tags 2015-02-04 14:14:18 -05:00
ApiQueryTokens.php New convenience method ApiBase::lacksSameOriginSecurity() 2015-02-27 09:48:37 -05:00
ApiQueryUserContributions.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiQueryUserInfo.php New convenience method ApiBase::lacksSameOriginSecurity() 2015-02-27 09:48:37 -05:00
ApiQueryUsers.php New convenience method ApiBase::lacksSameOriginSecurity() 2015-02-27 09:48:37 -05:00
ApiQueryWatchlist.php Pass if log entry is legacy to ApiQueryLogEvents::addLogParams() 2015-03-12 11:57:03 -07:00
ApiQueryWatchlistRaw.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiResult.php Add lots of @throws 2014-12-24 13:49:20 +00:00
ApiRevisionDelete.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiRollback.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiRsd.php Replace wfRunHooks calls with direct Hooks::run calls 2014-12-10 12:26:59 -08:00
ApiSetNotificationTimestamp.php Avoid excess master queries in getTimestampFromId 2015-03-11 14:37:14 -07:00
ApiStashEdit.php Split out internal parseAndStash from the edit stashing API 2015-03-27 22:16:59 +00:00
ApiTokens.php New convenience method ApiBase::lacksSameOriginSecurity() 2015-02-27 09:48:37 -05:00
ApiUnblock.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiUndelete.php Replace wfRunHooks calls with direct Hooks::run calls 2014-12-10 12:26:59 -08:00
ApiUpload.php Chunked upload: Return expected offset on offset error 2015-02-12 17:04:41 +01:00
ApiUserrights.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00
ApiWatch.php API: Fix access on getExamplesMessages 2014-10-29 11:15:27 -04:00