wiki.techinc.nl/includes/api
Paul Copperman f7e6dfb4a3 Various fixes for PHPUnit tests:
* Block.php: Set mExpiry to the value we store in the database, so that Block::equals() returns true. Fixes BlockTest::testInitializerFunctionsReturnCorrectBlock.
* In Title::checkUserBlock(): Convert message parameters to plain strings to make strict comparisons work. Fixes TitlePermissionTest::testUserBlock().
* ApiBlock.php: Follow-Up r85166, add 'Confirm' parameter to data array. Fixes ApiBlockTest::testMakeNormalBlock().
* ApiQueryTest.php: Use $wgMetaNamespace instead of $wgSitename	to account for customizations.
* RandomImageGenerator.php: Use default value for constructor param to prevent fatals.
* ApiTestCaseUpload.php: 
** Fix undefined variable $fileName.
** Remove stray ini_set statements, they don't belong there. Especially ini_set( 'error_reporting', 1 ) will effectively disable all reporting, which makes errors hard to track.
* ArticleTablesTest.php: Put testbug14404() in group Broken, as the fix for the bug has been reverted in r83868.
2011-04-07 14:54:38 +00:00
..
ApiBase.php API upload errors may now return the parameter that needs to be changed and a sessionkey to fix the error. This is for now only done for uploads that can be fixed by changing the filename, but may be extended later to comment and pagetext. 2011-03-25 21:22:02 +00:00
ApiBlock.php Various fixes for PHPUnit tests: 2011-04-07 14:54:38 +00:00
ApiDelete.php Removing pass by reference, and making the $error argument for doDeleteArticle a reference. Follow up for r84638. 2011-03-23 22:13:09 +00:00
ApiDisabled.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiEditPage.php More parameter documentation 2011-02-19 00:30:18 +00:00
ApiEmailUser.php (bug 27862; follow-up r77714) Make emailuser api module not freak out when SpecialEmailUser returns a status object instead of true. 2011-03-05 03:35:49 +00:00
ApiExpandTemplates.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiFeedWatchlist.php Styleli[zs]e the API up to date (Been a while since) 2010-12-30 17:06:09 +00:00
ApiFileRevert.php Remove some trailing whitespace 2011-03-24 00:43:27 +00:00
ApiFormatBase.php Followup to r79532: Did I really need to implement a parameter? No, I did not. 2011-01-04 01:35:01 +00:00
ApiFormatDbg.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiFormatDump.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiFormatJson.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiFormatPhp.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiFormatRaw.php More parameter documentation 2011-02-19 00:30:18 +00:00
ApiFormatTxt.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiFormatWddx.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiFormatXml.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiFormatYaml.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiHelp.php Add some method documentation 2010-12-23 19:24:38 +00:00
ApiImport.php * (bug 28368) add hint for multipart/form-data to api information of action=import&xml= 2011-04-06 22:16:38 +00:00
ApiLogin.php Fix sneaky assignment in conditional 2011-03-15 00:34:44 +00:00
ApiLogout.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiMain.php (bug 27018) Added action=filerevert to revert files to an old version. Copied procedure from FileRevertForm, as most of the verification procedure is simple enough to not warrant the effort of writing a dedicated backend. 2011-03-05 17:23:35 +00:00
ApiMove.php More documentation 2011-03-07 14:59:41 +00:00
ApiOpenSearch.php Minor followup to r79649. Rename variables 2011-01-06 00:31:23 +00:00
ApiPageSet.php Tweak comments, remove some unused stuff. 2011-02-27 21:10:11 +00:00
ApiParamInfo.php Make paraminfo output examples along with parameter information. 2011-01-21 23:12:51 +00:00
ApiParse.php Follow-up r85302: update OutputPage constructors in core. 2011-04-05 00:06:47 +00:00
ApiPatrol.php BREAKING CHANGE: Require POST for patrolling revisions and salt the patrol token with 'patrol' instead of rc_id. 2010-12-09 21:29:03 +00:00
ApiProtect.php Follow-ups to r84258 2011-03-18 22:28:39 +00:00
ApiPurge.php Followup r79638 2011-01-05 17:57:12 +00:00
ApiQuery.php More parameter documentation 2011-02-19 00:30:18 +00:00
ApiQueryAllCategories.php * (bug 27340) API: Allow listing of "small" categories 2011-03-13 17:16:07 +00:00
ApiQueryAllimages.php * (bug 27589) list=allimages&aiprop=archivename is useless 2011-03-21 23:51:26 +00:00
ApiQueryAllLinks.php Followup r83843, r83837, per brian, addOption unconditionally replaces ORDER BY etc, so fix that 2011-03-13 19:28:44 +00:00
ApiQueryAllmessages.php * (bug 28249) allow dupes in meta=allmessages&amargs 2011-03-26 18:52:07 +00:00
ApiQueryAllpages.php Follow-up r82853: Filter out create restriction from SpecialProtectedPages and Api. Added Title::getFilteredRestrictionTypes() for this purpose. 2011-02-26 16:29:48 +00:00
ApiQueryAllUsers.php Followup r84363 2011-03-26 18:39:22 +00:00
ApiQueryBacklinks.php Tweak comments, remove some unused stuff. 2011-02-27 21:10:11 +00:00
ApiQueryBase.php As I've removed most of Roans reason to use php magic variables, completely remove them this time. 2011-03-20 22:46:09 +00:00
ApiQueryBlocks.php More cleanup in Block.php. Push Block::encodeExpiry() and Block::decodeExpiry() deeper into the callstack, to DatabaseBase for encode and Language for decode. The vast majority of callers of these functions are not handling block expiries, but expiries generally, particularly page protections. 2011-03-18 19:15:56 +00:00
ApiQueryCategories.php Bit of documentation, explicitness, variable definition 2011-02-24 23:03:00 +00:00
ApiQueryCategoryInfo.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiQueryCategoryMembers.php BREAKING CHANGE: Ignore cmtype when cmsort=timestamp is set, and bypass the per-type queries in the sort=timestamp case; they were causing performance problems, reported as bug 28291. This breaks backwards compatibility (gracefully, the cltype parameter is silently ignored) with earlier deployed versions of 1.17wmf1 but not with any released version, hence no RELEASE-NOTES 2011-03-28 15:01:20 +00:00
ApiQueryDeletedrevs.php Followup r83843, r83837, per brian, addOption unconditionally replaces ORDER BY etc, so fix that 2011-03-13 19:28:44 +00:00
ApiQueryDisabled.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiQueryDuplicateFiles.php More parameter documentation 2011-02-19 00:30:18 +00:00
ApiQueryExternalLinks.php Followup r84698, remove unused $db 2011-03-25 10:37:56 +00:00
ApiQueryExtLinksUsage.php Followup r84698, remove unused $db 2011-03-25 10:37:56 +00:00
ApiQueryFilearchive.php Followup r84356, don't pass title string, pass a title object 2011-03-26 18:46:15 +00:00
ApiQueryImageInfo.php Fixup a few undefined variables and alike while checking REL1_17 2011-04-04 21:13:34 +00:00
ApiQueryImages.php More parameter documentation 2011-02-19 00:30:18 +00:00
ApiQueryInfo.php Followup r84825 2011-04-01 17:29:15 +00:00
ApiQueryIWBacklinks.php * (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks) 2011-03-18 19:15:33 +00:00
ApiQueryIWLinks.php * (bug 26483) add a iwtitles param to prop=iwlinks 2011-01-05 21:28:18 +00:00
ApiQueryLangLinks.php * (bug 26484) add a lltitles param to prop=langlinks 2011-01-05 21:51:12 +00:00
ApiQueryLinks.php More parameter documentation 2011-02-19 00:30:18 +00:00
ApiQueryLogEvents.php Missed one instance of Block::infinity() from r84279. 2011-03-18 23:29:17 +00:00
ApiQueryPageProps.php * (bug 27479) API error when using both prop=pageprops and prop=info&inprop=displaytitle 2011-02-16 23:38:21 +00:00
ApiQueryProtectedTitles.php More cleanup in Block.php. Push Block::encodeExpiry() and Block::decodeExpiry() deeper into the callstack, to DatabaseBase for encode and Language for decode. The vast majority of callers of these functions are not handling block expiries, but expiries generally, particularly page protections. 2011-03-18 19:15:56 +00:00
ApiQueryQueryPage.php More parameter documentation 2011-02-19 00:30:18 +00:00
ApiQueryRandom.php Tweak comments, remove some unused stuff. 2011-02-27 21:10:11 +00:00
ApiQueryRecentChanges.php * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear in auto generated document, as it is on mw.org 2011-03-12 23:39:15 +00:00
ApiQueryRevisions.php * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear in auto generated document, as it is on mw.org 2011-03-12 23:39:15 +00:00
ApiQuerySearch.php Fix the last assignment in conditional, bit of code duplication, as the next isn't iterable :( 2011-03-25 10:36:07 +00:00
ApiQuerySiteinfo.php Don't pass $this by reference 2011-03-24 11:11:15 +00:00
ApiQueryStashImageInfo.php * (bug 27586) Remove duplication of props in ApiQueryStashImageInfo by using ApiQueryImageInfo 2011-03-22 00:08:45 +00:00
ApiQueryTags.php Remove second parameters from wfEmptyMsg() calls 2011-03-07 17:10:22 +00:00
ApiQueryUserContributions.php * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear in auto generated document, as it is on mw.org 2011-03-12 23:39:15 +00:00
ApiQueryUserInfo.php Seems I forgot this file in r85442 2011-04-05 16:28:38 +00:00
ApiQueryUsers.php Followup r84361, numerical keys ftw 2011-03-20 00:32:28 +00:00
ApiQueryWatchlist.php (bug 28070) Fix watchlist RSS for databases that store timestamps in a real timestamp field by using Database::timestamp(). Tested by Dan Nessett on 1.16. Not tested on trunk, but no reason why it should not work. 2011-03-25 21:05:43 +00:00
ApiQueryWatchlistRaw.php More parameter documentation 2011-02-19 00:30:18 +00:00
ApiResult.php (bug 27018) Added action=filerevert to revert files to an old version. Copied procedure from FileRevertForm, as most of the verification procedure is simple enough to not warrant the effort of writing a dedicated backend. 2011-03-05 17:23:35 +00:00
ApiRollback.php Tweak comments, remove some unused stuff. 2011-02-27 21:10:11 +00:00
ApiRsd.php Styleli[zs]e the API up to date (Been a while since) 2010-12-30 17:06:09 +00:00
ApiUnblock.php Set forgotten api parameters types 2011-04-04 20:51:41 +00:00
ApiUndelete.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiUpload.php API upload errors may now return the parameter that needs to be changed and a sessionkey to fix the error. This is for now only done for uploads that can be fixed by changing the filename, but may be extended later to comment and pagetext. 2011-03-25 21:22:02 +00:00
ApiUserrights.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00
ApiWatch.php Delete all the "API for MediaWiki 1.8+" comments 2010-12-22 20:52:06 +00:00