wiki.techinc.nl/includes/api
Alexandre Emsenhuber 46c5d3edad * Merged WikiPage::updateRestrictions() and Title::updateTitleProtection() into WikiPage::doUpdateRestrictions(); older methods still work for backward compatibility, but marked Title::updateTitleProtection() as deprecated and for removal in 1.20 since no extension calls it
* Removed permissions check from WikiPage::doUpdateRestrictions() and left it for callers, resolves the todo from documentation
* Inverted $expiry and $reason parameter between WikiPage::doUpdateRestrictions() and WikiPage::updateRestrictions() for more consistency; WikiPage::doUpdateRestrictions() also requires all parameters to be passed
* WikiPage::doUpdateRestrictions() returns a Status object instead of bool for the older one; only possible error at the moment is a read-only database
* Updated core calls to these functions
* Made maintenance scripts using it simply protect all actions returned by Title::getRestrictionTypes() instead of hardcoded 'edit' and 'move'
* This also means that protect.php can be used to protect a non-existing page for creation
2011-12-18 16:01:31 +00:00
..
ApiBase.php Prep work for * (bug 33147) API examples should explain what they do 2011-12-16 15:28:35 +00:00
ApiBlock.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiComparePages.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiDelete.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiDisabled.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiEditPage.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiEmailUser.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiExpandTemplates.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiFeedContributions.php Documentation 2011-10-27 00:46:17 +00:00
ApiFeedWatchlist.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiFileRevert.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiFormatBase.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiFormatDbg.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiFormatDump.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiFormatJson.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiFormatPhp.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiFormatRaw.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiFormatTxt.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiFormatWddx.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiFormatXml.php rem use of escapeLocalURL 2011-12-13 04:58:48 +00:00
ApiFormatYaml.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiHelp.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiImport.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiLogin.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiLogout.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiMain.php add missing deprecation notices and added deprecation version to existing ones 2011-12-13 05:19:05 +00:00
ApiMove.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiOpenSearch.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiPageSet.php More documentation updates as I've been going around 2011-12-11 20:57:57 +00:00
ApiParamInfo.php Prep work for * (bug 33147) API examples should explain what they do 2011-12-16 15:28:35 +00:00
ApiParse.php Pass the User object to Revision::userCan() 2011-12-18 14:07:01 +00:00
ApiPatrol.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiProtect.php * Merged WikiPage::updateRestrictions() and Title::updateTitleProtection() into WikiPage::doUpdateRestrictions(); older methods still work for backward compatibility, but marked Title::updateTitleProtection() as deprecated and for removal in 1.20 since no extension calls it 2011-12-18 16:01:31 +00:00
ApiPurge.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiQuery.php update all core usage of deprecated Title::userCanRead() 2011-12-13 11:05:30 +00:00
ApiQueryAllCategories.php More documentation updates as I've been going around 2011-12-11 20:57:57 +00:00
ApiQueryAllimages.php Prep work for * (bug 33147) API examples should explain what they do 2011-12-16 15:28:35 +00:00
ApiQueryAllLinks.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryAllmessages.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryAllpages.php Convert a few more descriptions 2011-12-16 15:45:16 +00:00
ApiQueryAllUsers.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryBacklinks.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryBase.php Per bug 28901, and Duplicatebug on r105831, only list the Article ID if it has already been loaded 2011-12-17 19:55:49 +00:00
ApiQueryBlocks.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryCategories.php Convert a few more descriptions 2011-12-16 15:45:16 +00:00
ApiQueryCategoryInfo.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryCategoryMembers.php Convert a few more descriptions 2011-12-16 15:45:16 +00:00
ApiQueryDeletedrevs.php Expose rev_sha1/ar_sha1 to API (bug 21860) 2011-12-17 18:27:38 +00:00
ApiQueryDisabled.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiQueryDuplicateFiles.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryExternalLinks.php Convert a few more descriptions 2011-12-16 15:45:16 +00:00
ApiQueryExtLinksUsage.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryFilearchive.php Convert a few more descriptions 2011-12-16 15:45:16 +00:00
ApiQueryImageInfo.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryImages.php Convert a few more descriptions 2011-12-16 15:45:16 +00:00
ApiQueryInfo.php update all core usage of deprecated Title::userCanRead() 2011-12-13 11:05:30 +00:00
ApiQueryIWBacklinks.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiQueryIWLinks.php Convert a few more descriptions 2011-12-16 15:45:16 +00:00
ApiQueryLangBacklinks.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiQueryLangLinks.php Convert a few more descriptions 2011-12-16 15:45:16 +00:00
ApiQueryLinks.php Convert a few more descriptions 2011-12-16 15:45:16 +00:00
ApiQueryLogEvents.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryPageProps.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryProtectedTitles.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryQueryPage.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiQueryRandom.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiQueryRecentChanges.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryRevisions.php Kill some useless code in r106514 2011-12-17 23:14:39 +00:00
ApiQuerySearch.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQuerySiteinfo.php The URL wasn't loading when the database is used (interwiki cache works). "PHP Notice: Trying to get property of non-object in /www/w/includes/api/ApiQuerySiteinfo.php on line 295" 2011-11-29 16:48:37 +00:00
ApiQueryStashImageInfo.php Based on diff to wikia, set more functions consistently public rather than protected 2011-08-17 22:24:21 +00:00
ApiQueryTags.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiQueryUserContributions.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryUserInfo.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryUsers.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryWatchlist.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiQueryWatchlistRaw.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiResult.php Removed the 'eclipse helper' bit on top of every API module 2011-11-16 00:17:26 +00:00
ApiRollback.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiRsd.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiUnblock.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiUndelete.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiUpload.php More example conversions/additions 2011-12-17 19:10:33 +00:00
ApiUserrights.php Oh noes, moar http:// -> https:// 2011-11-28 15:43:11 +00:00
ApiWatch.php Convert a few more descriptions 2011-12-16 15:45:16 +00:00