wiki.techinc.nl/includes/api
Roan Kattouw 1ff24603a9 API: Fix up r47214, which strangely had no commit message
* Use + instead of array_merge(), the latter messes up keys
* Fix a fatal error ($result not an object)
* Fix an interesting mistake when calling addTables(): addTables('foo', 'bar') doesn't add both tables, but adds foo AS bar
* Fix warning about $row->pt_namespace not being set

Commit message for r47214:
API: Refactor ApiQueryInfo
* Move result generating code from execute() to extractPageInfo()
** Merge code for existing and missing titles
* Don't loop over existing and missing titles separately, but on both in one go
* Move protection query code from execute() to getProtectionInfo()
** Merge code for existing and missing titles here as well
* Move subjectid/talkid query code from execute() to getTSIDs()
* Document some functions
2009-02-13 15:14:21 +00:00
..
ApiBase.php * API: Add documentation to important API classes 2009-02-11 19:25:25 +00:00
ApiBlock.php API: Make reblocking (introduced in r42843) possible through the API 2008-11-18 15:21:04 +00:00
ApiDelete.php Fix broken calls to ArticleDelete hook. 2009-01-29 01:04:00 +00:00
ApiDisabled.php API: Add ApiDisabled and ApiQueryDisabled classes so individual modules can be disabled by putting $wgAPIModules['foo'] = 'ApiDisabled'; in LocalSettings.php 2008-09-25 20:50:50 +00:00
ApiEditPage.php * API: (bug 15949) Add undo functionality to action=edit 2009-01-26 13:51:03 +00:00
ApiEmailUser.php Revert r46512 (Add "check" parameter to action=email) and its followups r46515 and r46517. This functionality is already present in list=users (as usprop=emailable), where it belongs 2009-01-31 13:20:36 +00:00
ApiExpandTemplates.php API: Crusade against extract(). Left one extract() call alone in ApiQueryBacklinks.php because I don't have a better alternative for it. 2008-12-17 16:34:01 +00:00
ApiFeedWatchlist.php Fix E_WARNING reported by siebrand 2009-02-05 15:31:06 +00:00
ApiFormatBase.php API: More docs, break long lines in docs 2009-02-13 14:13:03 +00:00
ApiFormatDbg.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatJson.php API: (bug 16798) Fix for PHP bug 46944 (PHP's JSON formatter encodes certain UTF8 characters incorrectly) by falling back to our own formatter if PHP's is broken. Also fix up our own JSON formatter which also messed up these characters, albeit in a different way. Slightly modified patch by Brad Jorsch. 2009-01-12 14:11:20 +00:00
ApiFormatJson_json.php * svn:eol-style native for r45755 2009-01-15 10:18:44 +00:00
ApiFormatPhp.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatRaw.php Nitpicking brigade: fix copyright year 2009-02-04 14:18:53 +00:00
ApiFormatTxt.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatWddx.php War on wfElement() and friends. Call the Xml members directly, rather than using old wrappers. 2008-12-14 19:14:21 +00:00
ApiFormatXml.php * API: (bug 17326) BREAKING CHANGE: Changing output format for prop=imageinfo&iiprop=metadata to something based on name/value pairs. This means we don't use parts of the metadata in attributes anymore, something that caused invalid XML to be output. For more info on the exact format, see the mediawiki-api mailing list 2009-02-03 16:25:50 +00:00
ApiFormatYaml.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatYaml_spyc.php * fix doxygen warnings 2008-12-08 17:29:24 +00:00
ApiHelp.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiImport.php Fix fatal error in r46885 (add templates parameter to action=import): add missing comma 2009-02-06 10:25:51 +00:00
ApiLogin.php s/existant/existent/ 2009-01-01 02:02:03 +00:00
ApiLogout.php $oldName parameter to UserLogoutComplete hook call was missing. 2008-11-15 01:23:39 +00:00
ApiMain.php API: Make UTF-8 cleanup actually work; it was broken from the beginning. Apparently I expected array_walk to behave like array_map, which is not the case. 2009-02-10 15:56:34 +00:00
ApiMove.php Remove a TODO from ApiMove and add a FIXME to SpecialMovepage 2009-02-09 15:15:49 +00:00
ApiOpenSearch.php API: Fix up r47142: use a boolean parameter for suggest 2009-02-12 17:27:05 +00:00
ApiPageSet.php API: Remove stray $options = array(); from ApiPageSet 2009-02-11 19:28:07 +00:00
ApiParamInfo.php API: Add allowsduplicates attribute to action=paraminfo output 2008-10-04 15:03:03 +00:00
ApiParse.php Fix up r46646: instead of outputting displaytitle="" when {{DISPLAYTITLE}} isn't used (or isn't valid), output the 'normal' title instead 2009-01-31 16:35:23 +00:00
ApiPatrol.php Removed all instances of empty() where error suppression was not intended. Replaced with conversion to boolean, count() or empty string check as appropriate. Fixes a number of bugs due to incorrect conversion to boolean: suppressed edit summaries containing '0', ignored titles called '0', searches for '0' ignored, etc. 2008-10-25 14:04:43 +00:00
ApiProtect.php API: (bug 17317) Added watch parameter to action=protect 2009-02-02 16:38:40 +00:00
ApiPurge.php Fix some doxygen stuff. 2008-09-19 00:21:03 +00:00
ApiQuery.php API: More docs, break long lines in docs 2009-02-13 14:13:03 +00:00
ApiQueryAllCategories.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryAllimages.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryAllLinks.php Fix some more regressions from r46845 reported by Brad Jorsch on the mediawiki-api list <http://lists.wikimedia.org/pipermail/mediawiki-api/2009-February/000924.html> 2009-02-09 13:28:12 +00:00
ApiQueryAllmessages.php Fix up r47037, which was itself a fix-up of r46845. Change suggested by Brad Jorsch 2009-02-09 19:24:28 +00:00
ApiQueryAllpages.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryAllUsers.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryBacklinks.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryBase.php API: More docs, break long lines in docs 2009-02-13 14:13:03 +00:00
ApiQueryBlocks.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryCategories.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryCategoryInfo.php API: Query-continue prop=categoryinfo by cat_title rather than offset. Suggested by Brad Jorsch 2009-02-09 19:54:25 +00:00
ApiQueryCategoryMembers.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryDeletedrevs.php Fix some more regressions from r46845 reported by Brad Jorsch on the mediawiki-api list <http://lists.wikimedia.org/pipermail/mediawiki-api/2009-February/000924.html> 2009-02-09 13:28:12 +00:00
ApiQueryDisabled.php API: Add ApiDisabled and ApiQueryDisabled classes so individual modules can be disabled by putting $wgAPIModules['foo'] = 'ApiDisabled'; in LocalSettings.php 2008-09-25 20:50:50 +00:00
ApiQueryDuplicateFiles.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryExternalLinks.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryExtLinksUsage.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryImageInfo.php API: Page prop=imageinfo by (title, timestamp) rather than using an offset. Suggested by Brad Jorsch. 2009-02-10 19:10:58 +00:00
ApiQueryImages.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryInfo.php API: Fix up r47214, which strangely had no commit message 2009-02-13 15:14:21 +00:00
ApiQueryLangLinks.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryLinks.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryLogEvents.php Hide title if DELETED_ACTION is on, but don't worry about type/action, which isn't what we're worried about 2009-02-06 14:42:50 +00:00
ApiQueryRandom.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryRecentChanges.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryRevisions.php API: Page prop=revisions by rev_id or (rev_page, rev_id), depending on mode, because the offset system potentially sucks. Suggested by Brad Jorsch 2009-02-10 12:32:22 +00:00
ApiQuerySearch.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQuerySiteinfo.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryUserContributions.php API: Fix up r46825: 2009-02-09 14:07:18 +00:00
ApiQueryUserInfo.php Fix up r43673: reindex the rights array after removing duplicates 2008-11-20 15:15:00 +00:00
ApiQueryUsers.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiQueryWatchlist.php API: (bug 17433) Added bot flag to list=watchlist&wlprop=flags output 2009-02-10 16:01:50 +00:00
ApiQueryWatchlistRaw.php * API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory 2009-02-05 14:30:59 +00:00
ApiResult.php * API: Add documentation to important API classes 2009-02-11 19:25:25 +00:00
ApiRollback.php fix param description, rollback token comes from prop=revisions 2008-12-26 04:13:47 +00:00
ApiUnblock.php API: Per IRC conversation with Splarka, add a few words about token availability from prop=info in the help text for action=block and action=unblock 2008-10-27 12:06:49 +00:00
ApiUndelete.php Consistent casing for wfGetDB() 2008-11-06 22:30:55 +00:00
ApiWatch.php Fix comment leftover from ApiLogout 2009-01-14 00:00:40 +00:00