wiki.techinc.nl/includes/api
Sorawee Porncharoenwase f554d1871c API: update documentation and suppress warning when parsing summary
The documentation states that if contentmodel and title are not given,
but text exists, "wikitext" will be the default model. However, the
actual code will show a warning if do so. This patch fixes the inconsistence
by removing some parts of the documentation which encourages giving
only text as the parameter and corrects the example. The patch
also suppresses the warning that contentmodel must be given when
summary parameter is given.

bug: 60192
Change-Id: I0f41c83763fbb5551aa3ceaff59c1f8fe38310be
2014-02-07 15:24:57 +00:00
..
ApiBase.php Update formatting 2014-02-06 09:27:05 +01:00
ApiBlock.php Address errors and warnings in CodeSniffer in api/ 2013-11-17 16:52:24 +01:00
ApiComparePages.php Remove unneeded uses of else{} in api/ 2013-11-18 21:34:43 +01:00
ApiCreateAccount.php Add hooks in API action=createaccount for Captcha 2014-01-17 12:41:22 -08:00
ApiDelete.php Merge "Address errors and warnings in CodeSniffer in api/" 2013-11-18 18:28:22 +00:00
ApiDisabled.php
ApiEditPage.php Remove unneeded uses of else{} in api/ 2013-11-18 21:34:43 +01:00
ApiEmailUser.php Address errors and warnings in CodeSniffer in api/ 2013-11-17 16:52:24 +01:00
ApiExpandTemplates.php ApiResult::setContent is static 2013-04-30 20:16:36 +02:00
ApiFeedContributions.php action=feedcontributions no longer has one item more than limit 2013-12-31 17:44:43 +01:00
ApiFeedWatchlist.php Address errors and warnings in CodeSniffer in api/ 2013-11-17 16:52:24 +01:00
ApiFileRevert.php Random documentation tweaks 2014-01-02 23:45:14 +01:00
ApiFormatBase.php Address errors and warnings in CodeSniffer in api/ 2013-11-17 16:52:24 +01:00
ApiFormatDbg.php
ApiFormatDump.php
ApiFormatJson.php Remove unneeded uses of else{} in api/ 2013-11-18 21:34:43 +01:00
ApiFormatNone.php
ApiFormatPhp.php
ApiFormatRaw.php Update formatting on more API classes 2013-11-14 18:11:13 +00:00
ApiFormatTxt.php
ApiFormatWddx.php Address errors and warnings in CodeSniffer in api/ 2013-11-17 16:52:24 +01:00
ApiFormatXml.php treat true as empty string, skip false in xml format 2014-01-19 10:42:47 +01:00
ApiFormatYaml.php
ApiHelp.php Address errors and warnings in CodeSniffer in api/ 2013-11-17 16:52:24 +01:00
ApiImageRotate.php Remove useless method overriding 2013-11-16 20:01:55 +01:00
ApiImport.php Address errors and warnings in CodeSniffer in api/ 2013-11-17 16:52:24 +01:00
ApiLogin.php Address errors and warnings in CodeSniffer in api/ 2013-11-17 16:52:24 +01:00
ApiLogout.php
ApiMain.php Fix CodeSniffer errors and warnings 2014-02-05 11:20:17 +01:00
ApiModuleManager.php Remove unneeded uses of else{} in api/ 2013-11-18 21:34:43 +01:00
ApiMove.php Remove unneeded uses of else{} in api/ 2013-11-18 21:34:43 +01:00
ApiOpenSearch.php API: Add default setting for OpenSearch limit parameter 2013-11-19 19:55:04 +01:00
ApiOptions.php Merge "API: Handle "special" options in action=options" 2014-02-04 18:43:40 +00:00
ApiPageSet.php Update formatting 2014-02-06 09:27:05 +01:00
ApiParamInfo.php Fix CodeSniffer errors and warnings (final round for API classes) 2013-11-15 10:33:50 -08:00
ApiParse.php API: update documentation and suppress warning when parsing summary 2014-02-07 15:24:57 +00:00
ApiPatrol.php Update formatting on API classes, Part 3 2013-11-14 18:12:29 +00:00
ApiProtect.php Update formatting 2014-02-06 09:27:05 +01:00
ApiPurge.php Support ApiPageSet in ApiWatch 2014-02-04 14:44:22 -05:00
ApiQuery.php API: Add prop=contributors 2014-01-07 04:09:47 +00:00
ApiQueryAllCategories.php Fix CodeSniffer errors and warnings 2014-02-05 11:20:17 +01:00
ApiQueryAllImages.php Fix capitalization in ApiQueryBase::titlePartToKey() 2013-12-23 12:53:43 -05:00
ApiQueryAllLinks.php API: Fix a bug to make list=allfileusages functional again 2014-02-06 15:41:53 +00:00
ApiQueryAllMessages.php Update formatting on some API classes (must've forgotten these) 2013-11-14 18:13:55 +00:00
ApiQueryAllPages.php Fix CodeSniffer errors and warnings 2014-02-05 11:20:17 +01:00
ApiQueryAllUsers.php Fix CodeSniffer errors and warnings on a number of ApiQuery classes 2013-11-15 10:33:50 -08:00
ApiQueryBacklinks.php Fix CodeSniffer errors and warnings on a number of ApiQuery classes 2013-11-15 10:33:50 -08:00
ApiQueryBase.php Update formatting 2014-02-06 09:27:05 +01:00
ApiQueryBlocks.php Fix CodeSniffer errors and warnings on a number of ApiQuery classes 2013-11-15 10:33:50 -08:00
ApiQueryCategories.php Fix CodeSniffer errors and warnings on a number of ApiQuery classes 2013-11-15 10:33:50 -08:00
ApiQueryCategoryInfo.php Fix CodeSniffer errors and warnings on a number of ApiQuery classes 2013-11-15 10:33:50 -08:00
ApiQueryCategoryMembers.php Fix more concatenation errors 2013-12-29 15:08:46 -05:00
ApiQueryContributors.php Update formatting 2014-02-06 09:27:05 +01:00
ApiQueryDeletedrevs.php Fix CodeSniffer errors and warnings 2014-02-05 11:20:17 +01:00
ApiQueryDisabled.php
ApiQueryDuplicateFiles.php Fix a few more CodeSniffer errors and warnings on some API classes 2013-11-15 10:33:49 -08:00
ApiQueryExternalLinks.php Fix a few more CodeSniffer errors and warnings on some API classes 2013-11-15 10:33:49 -08:00
ApiQueryExtLinksUsage.php Fix a few more CodeSniffer errors and warnings on some API classes 2013-11-15 10:33:49 -08:00
ApiQueryFilearchive.php Improve API query RevDel handling 2014-01-17 11:43:22 -05:00
ApiQueryFileRepoInfo.php Update formatting 2014-02-06 09:27:05 +01:00
ApiQueryImageInfo.php Fix CodeSniffer errors and warnings 2014-02-05 11:20:17 +01:00
ApiQueryImages.php Fix CodeSniffer errors and warnings (you guessed it, on API classes) 2013-11-15 18:08:13 +00:00
ApiQueryInfo.php Declare visibility on class property in ApiQueryInfo 2013-11-15 18:08:51 +00:00
ApiQueryIWBacklinks.php Fix a few more CodeSniffer errors and warnings on some API classes 2013-11-15 10:33:49 -08:00
ApiQueryIWLinks.php Fix a few more CodeSniffer errors and warnings on some API classes 2013-11-15 10:33:49 -08:00
ApiQueryLangBacklinks.php Fix CodeSniffer errors and warnings (you guessed it, on API classes) 2013-11-15 18:08:13 +00:00
ApiQueryLangLinks.php Fix CodeSniffer errors and warnings (you guessed it, on API classes) 2013-11-15 18:08:13 +00:00
ApiQueryLinks.php Add/update/remove incomplete/incorrect documentation 2013-11-17 21:53:34 +00:00
ApiQueryLogEvents.php Improve API query RevDel handling 2014-01-17 11:43:22 -05:00
ApiQueryORM.php Update formatting, return of the API classes 2013-11-14 18:25:45 +00:00
ApiQueryPagePropNames.php Fix CodeSniffer errors and warnings (you guessed it, on API classes) 2013-11-15 18:08:13 +00:00
ApiQueryPageProps.php Fix CodeSniffer errors and warnings (you guessed it, on API classes) 2013-11-15 18:08:13 +00:00
ApiQueryPagesWithProp.php Fix CodeSniffer errors and warnings on yet more API classes 2013-11-15 17:53:10 +00:00
ApiQueryProtectedTitles.php Fix CodeSniffer errors and warnings on yet more API classes 2013-11-15 17:53:10 +00:00
ApiQueryQueryPage.php Fix CodeSniffer errors and warnings on yet more API classes 2013-11-15 17:53:10 +00:00
ApiQueryRandom.php remove forced index causing full index scans 2013-12-20 17:19:14 +10:00
ApiQueryRecentChanges.php Improve API query RevDel handling 2014-01-17 11:43:22 -05:00
ApiQueryRevisions.php Fix typo in ApiQueryRevisions 2014-01-30 19:38:55 +00:00
ApiQuerySearch.php Fix CodeSniffer errors and warnings on yet more API classes 2013-11-15 17:53:10 +00:00
ApiQuerySiteinfo.php ApiQuerySiteinfo: Add prop=restrictions for protection information 2014-02-06 16:51:37 +01:00
ApiQueryStashImageInfo.php Fix CodeSniffer errors and warnings on yet more API classes 2013-11-15 17:53:10 +00:00
ApiQueryTags.php I'm in your API classes updating your formatting 2013-11-14 18:28:26 +00:00
ApiQueryUserContributions.php Fix CodeSniffer errors and warnings 2014-02-05 11:20:17 +01:00
ApiQueryUserInfo.php Fix CodeSniffer errors and warnings on yet more API classes 2013-11-15 17:53:10 +00:00
ApiQueryUsers.php Remove unneeded uses of else{} in api/ 2013-11-18 21:34:43 +01:00
ApiQueryWatchlist.php Improve API query RevDel handling 2014-01-17 11:43:22 -05:00
ApiQueryWatchlistRaw.php Fix CodeSniffer errors and warnings on some API classes 2013-11-15 17:50:05 +00:00
ApiResult.php Fix CodeSniffer errors and warnings on some API classes 2013-11-15 17:50:05 +00:00
ApiRevisionDelete.php Update formatting 2014-02-06 09:27:05 +01:00
ApiRollback.php Fix CodeSniffer errors and warnings on some API classes 2013-11-15 17:50:05 +00:00
ApiRsd.php The light at the end of the API code format updating tunnel 2013-11-14 18:29:19 +00:00
ApiSetNotificationTimestamp.php Fix CodeSniffer errors and warnings on some API classes 2013-11-15 17:50:05 +00:00
ApiTokens.php The light at the end of the API code format updating tunnel 2013-11-14 18:29:19 +00:00
ApiUnblock.php Fix more concatenation errors 2013-12-29 15:08:46 -05:00
ApiUndelete.php Fix CodeSniffer errors and warnings on some API classes 2013-11-15 17:50:05 +00:00
ApiUpload.php Random documentation tweaks 2014-01-02 23:45:14 +01:00
ApiUserrights.php Explicitly support user id in action=userrights 2013-12-16 19:25:24 +00:00
ApiWatch.php Update formatting 2014-02-06 09:27:05 +01:00