wiki.techinc.nl/includes/api
Daniel Friesen 4fcb1312f2 Revert 39936 and 39935;
This 'fix' is merely a bad workaround and creates more issues rather than simply fixing.
A) Part of the Title class is being /duplicated/ meaning more bugs are going to show up when someone improves stuff inside Title and doesn't know stuff is duplicated here.
B) This change breaks cases as $wgCaptialLinks is now a per-namespace array, not a boolean.
C) This is the wrong way to 'fix' the issue, titleToKey and keyToTitle are meant to handle full titles, not prefixes, the issue is not that they break prefixes, it's that they are being misused and thus outputting something other than expected. The best way to fix this issue, would probably be to pad the title with something like '.' and then strip that single character off the db key.
D) Because whitespace is no longer being trimmed actual titles aren't being normalized properly in the other modules causing 'foobar ' to attempt to use the db key 'foobar_' which cannot exist.
2008-08-25 06:50:31 +00:00
..
ApiBase.php API: 2008-08-05 16:32:28 +00:00
ApiBlock.php API: Make action=block return an ISO 8601 timestamp rather than a UNIX timestamp 2008-05-27 10:18:28 +00:00
ApiDelete.php No, something that looks stupid *is* in fact ipso facto stupid -- unless it includes a comment to explain why it's not. 2008-05-26 12:15:21 +00:00
ApiEditPage.php API: Add nocreate parameter to action=edit 2008-06-15 20:37:28 +00:00
ApiEmailUser.php Revert r39793 "* (bug 13879) Special:EmailUser shows a form in case no user was specified" for the moment 2008-08-21 22:56:45 +00:00
ApiExpandTemplates.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFeedWatchlist.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatBase.php Like the comment says... dieDebug() instead of wfHttpError 2008-06-10 15:20:22 +00:00
ApiFormatDbg.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatJson.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatJson_json.php Wrapped certain tricky constructs in @cond/@endcond to prevent Doxygen 2008-08-06 03:55:49 +00:00
ApiFormatPhp.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatTxt.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatWddx.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatXml.php Revert r37009 -- turns out you can do these structures, it's just very nonobvious. :) 2008-07-04 22:44:57 +00:00
ApiFormatYaml.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiFormatYaml_spyc.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiHelp.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiLogin.php Provide some info on which case value was not handled in ApiLogin 2008-08-20 19:56:18 +00:00
ApiLogout.php * Add wfRunHook calls where appropriate 2008-05-24 20:44:49 +00:00
ApiMain.php Adding action=watch to the API 2008-08-21 15:44:13 +00:00
ApiMove.php Always return an array if an error has occurred in Title::moveTo. 2008-05-30 19:59:47 +00:00
ApiOpenSearch.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiPageSet.php (bug 15228) Throw a warning instead of an error when revids= and redirects are combined. Also fixed a bug that caused warnings thrown in ApiPageSet.php to appear in an <ApiPageSet> tag rather than <query> 2008-08-18 20:48:45 +00:00
ApiParamInfo.php API: 2008-08-05 16:32:28 +00:00
ApiParse.php ApiParse: Don't display revid="" when there is no revid. 2008-07-03 15:01:50 +00:00
ApiProtect.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiQuery.php API: Fixing an E_NOTICE reported by Wikia. Can't reproduce locally, but an extra @ can't hurt. 2008-08-16 20:52:56 +00:00
ApiQueryAllCategories.php Fix regression from r36678: we can't use $this->dieUsageMsg() in a static method, so let's make ApiQueryBase::keyToTitle() and titleToKey() non-static. 2008-06-29 22:26:23 +00:00
ApiQueryAllimages.php API: Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages 2008-07-31 20:10:36 +00:00
ApiQueryAllLinks.php API list=alllinks: 2008-07-07 14:48:40 +00:00
ApiQueryAllmessages.php API: More cleanup: 2008-07-10 14:28:09 +00:00
ApiQueryAllpages.php Revert r37748 "(bug 14020) Added an API interface to Special:Unwatchedpages in the form of the apfilterwatched parameter to list=allpages. If $wgMiserMode is true or if the user doesn't have the 'unwatchedpages' right, apfilterwatched is ignored and a warning is output." 2008-07-17 09:26:01 +00:00
ApiQueryAllUsers.php Fix regression from r36678: we can't use $this->dieUsageMsg() in a static method, so let's make ApiQueryBase::keyToTitle() and titleToKey() non-static. 2008-06-29 22:26:23 +00:00
ApiQueryBacklinks.php API: 2008-08-19 15:05:29 +00:00
ApiQueryBase.php Revert 39936 and 39935; 2008-08-25 06:50:31 +00:00
ApiQueryBlocks.php Cleanup from r37839: just put ipb_auto in the relevant arrays. We have those arrays so we don't have to add if($fld_a || $fld_b) for every crazy flag combination in existence. 2008-07-21 21:37:11 +00:00
ApiQueryCategories.php (bug 15178) Added clshow to prop=categories to allow filtering for hidden/non-hidden categories 2008-08-16 21:21:12 +00:00
ApiQueryCategoryInfo.php API: More cleanup: 2008-07-10 14:28:09 +00:00
ApiQueryCategoryMembers.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiQueryDeletedrevs.php API: Some cleanup and fixes before 1.13 is released: 2008-07-10 14:13:11 +00:00
ApiQueryExternalLinks.php API: Add paging (i.e. limit and continue) parameters to prop={links,templatelinks,langlinks,extlinks,categories,images}. This means that these modules will no longer request data from the database without a LIMIT, and that clients will have to use the query-continue method to get all the results. 2008-07-07 17:32:22 +00:00
ApiQueryExtLinksUsage.php API: Change descriptions for some limit parameters to actually refer to the correct type of result 2008-07-22 13:26:15 +00:00
ApiQueryImageInfo.php API: Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages 2008-07-31 20:10:36 +00:00
ApiQueryImages.php Revert most of r37534, which was an over-revert: just changing addQuotes() back to strencode() was enough. 2008-07-10 21:20:43 +00:00
ApiQueryInfo.php Fix for PHP < 5.2.3 2008-07-06 18:43:06 +00:00
ApiQueryLangLinks.php Partial revert of r37502, 37503: double-quoting of SQL strings 2008-07-10 21:08:37 +00:00
ApiQueryLinks.php (bug 15173) Make prop={links,templatelinks} not break in PostgreSQL 2008-08-16 21:02:31 +00:00
ApiQueryLogEvents.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiQueryRandom.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiQueryRecentChanges.php API: Change descriptions for some limit parameters to actually refer to the correct type of result 2008-07-22 13:26:15 +00:00
ApiQueryRevisions.php User::editToken expects the salt as an array, not as variable length argument list. 2008-07-08 08:42:27 +00:00
ApiQuerySearch.php API: Let list=search throw away missing titles. Lucene will sometimes give us pages that have recently been deleted. 2008-08-16 21:00:19 +00:00
ApiQuerySiteinfo.php Deprecate SiteStats::admins() in favor of SiteStats::numberingroup('sysop'). Should make bug 13471 easy. 2008-07-28 15:49:44 +00:00
ApiQueryUserContributions.php * Added flag "top" to list=usercontribs if the user is the last contributor to the page 2008-07-09 11:44:49 +00:00
ApiQueryUserInfo.php Revert r35178 and normalize User's getID() and setID() methods to prettier getId() and setId() 2008-05-22 16:39:43 +00:00
ApiQueryUsers.php API change: Registration time of users registered before the DB field was created is now shown as empty instead of the current time. 2008-07-25 13:59:24 +00:00
ApiQueryWatchlist.php API: Change descriptions for some limit parameters to actually refer to the correct type of result 2008-07-22 13:26:15 +00:00
ApiResult.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiRollback.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiUnblock.php WARNING: HUGE COMMIT 2008-05-20 17:13:28 +00:00
ApiUndelete.php Fixing timestamp conversion breakage: ignores the fact that !isset($params['timestamps']) means we wanna restore everything. 2008-05-26 10:51:31 +00:00
ApiWatch.php Adding action=watch to the API 2008-08-21 15:44:13 +00:00