wiki.techinc.nl/includes/api
Brad Jorsch 0f09d8ed27 API: Fix imageinfo iiurlheight on audio files
When iiurlheight is given without iiurlwidth, we want to limit the
thumbnail by just the height. MediaWiki's file classes don't really
support this, though, so we pass the image's full width as the limiting
width to achieve the same effect.

However, this fails for audio files where $file->getWidth() returns 0,
but we can still get a thumbnail of a placeholder image. In that
situation, we should just choose an arbitrary non-zero limiting width.

Change-Id: I4318a06a96265d39e39e90cc706d49a1c3b6e8e3
2013-06-24 12:12:52 -04:00
..
ApiBase.php Return errors from WatchAction 2013-06-20 15:51:05 -04:00
ApiBlock.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiComparePages.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiCreateAccount.php Return errors from WatchAction 2013-06-20 15:51:05 -04:00
ApiDelete.php Return errors from WatchAction 2013-06-20 15:51:05 -04:00
ApiDisabled.php
ApiEditPage.php docs: Remove odd colons after @todo 2013-05-15 06:23:40 +00:00
ApiEmailUser.php
ApiExpandTemplates.php ApiResult::setContent is static 2013-04-30 20:16:36 +02:00
ApiFeedContributions.php Fixed spacing around parenthesis in includes 2013-04-28 15:50:07 +00:00
ApiFeedWatchlist.php (bug 47219) Allow specifying change type of Wikipedia feed items 2013-04-30 18:52:56 +02:00
ApiFileRevert.php Cleanup for ApiImageRotate 2013-03-15 11:44:14 -04:00
ApiFormatBase.php echo is not a function 2013-05-09 19:52:45 +00:00
ApiFormatDbg.php
ApiFormatDump.php
ApiFormatJson.php Combine JavaScript and JSON encoding logic 2013-03-27 20:22:45 -04:00
ApiFormatNone.php
ApiFormatPhp.php
ApiFormatRaw.php
ApiFormatTxt.php
ApiFormatWddx.php Fix WDDX formatted output 2013-03-18 14:47:44 -04:00
ApiFormatXml.php Added space after switch/Removed spaces after unset 2013-04-26 16:42:31 +02:00
ApiFormatYaml.php
ApiHelp.php
ApiImageRotate.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiImport.php Return errors from WatchAction 2013-06-20 15:51:05 -04:00
ApiLogin.php Fixed many small spelling mistakes and php docs, var decl. 2013-03-10 23:45:51 -04:00
ApiLogout.php
ApiMain.php Fix email address formatting in API credits. 2013-04-28 15:34:30 +00:00
ApiModuleManager.php Fixed @param tags to conform with Doxygen format. 2013-03-11 13:15:01 -04:00
ApiMove.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiOpenSearch.php OpenSearch: Error for unsupported formats and adding format=jsonfm 2013-03-28 21:05:10 +01:00
ApiOptions.php
ApiPageSet.php Do not returning external title in ApiPageSet::getRedirectTargets 2013-05-22 14:04:19 +00:00
ApiParamInfo.php ApiResult::setContent is static 2013-04-30 20:16:36 +02:00
ApiParse.php Improve documentation of action=parse (followup Ie4f7324c) 2013-06-19 10:53:57 -04:00
ApiPatrol.php Allow patrolling pages by revision id 2013-06-10 20:54:43 -04:00
ApiProtect.php Return errors from WatchAction 2013-06-20 15:51:05 -04:00
ApiPurge.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiQuery.php Add helpurls to some api modules 2013-05-16 09:08:18 +02:00
ApiQueryAllCategories.php ApiResult::setContent is static 2013-04-30 20:16:36 +02:00
ApiQueryAllImages.php Fixed spacing around parenthesis in includes 2013-04-28 15:50:07 +00:00
ApiQueryAllLinks.php
ApiQueryAllMessages.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiQueryAllPages.php (bug 45535) Hook for changing language links. 2013-04-29 09:13:47 -04:00
ApiQueryAllUsers.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiQueryBacklinks.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiQueryBase.php Fixed spacing around parenthesis in includes 2013-04-28 15:50:07 +00:00
ApiQueryBlocks.php API: Fix IPv6 handling in list=blocks 2013-06-13 10:42:32 -04:00
ApiQueryCategories.php Added spaces before and removed spaces after 'array' 2013-04-14 21:57:46 +02:00
ApiQueryCategoryInfo.php Fixed many small spelling mistakes and php docs, var decl. 2013-03-10 23:45:51 -04:00
ApiQueryCategoryMembers.php Fixed spacing around parenthesis in includes 2013-04-28 15:50:07 +00:00
ApiQueryDeletedrevs.php Removed space after isset 2013-04-26 14:18:06 +02:00
ApiQueryDisabled.php
ApiQueryDuplicateFiles.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiQueryExternalLinks.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiQueryExtLinksUsage.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiQueryFilearchive.php Add helpurls to some api modules 2013-05-16 09:08:18 +02:00
ApiQueryImageInfo.php API: Fix imageinfo iiurlheight on audio files 2013-06-24 12:12:52 -04:00
ApiQueryImages.php
ApiQueryInfo.php Add page language to prop=info 2013-05-22 16:33:49 +00:00
ApiQueryIWBacklinks.php Add helpurls to some api modules 2013-05-16 09:08:18 +02:00
ApiQueryIWLinks.php Add helpurls to some api modules 2013-05-16 09:08:18 +02:00
ApiQueryLangBacklinks.php Add helpurls to some api modules 2013-05-16 09:08:18 +02:00
ApiQueryLangLinks.php (bug 45535) Hook for changing language links. 2013-04-29 09:13:47 -04:00
ApiQueryLinks.php
ApiQueryLogEvents.php Add identifying info (img_timestamp and img_sha1) to upload log. 2013-05-10 21:10:49 +00:00
ApiQueryORM.php Added spaces before and removed spaces after 'array' 2013-04-14 21:57:46 +02:00
ApiQueryPagePropNames.php
ApiQueryPageProps.php
ApiQueryPagesWithProp.php Added spaces before and removed spaces after 'array' 2013-04-14 21:57:46 +02:00
ApiQueryProtectedTitles.php Added spaces before and removed spaces after 'array' 2013-04-14 21:57:46 +02:00
ApiQueryQueryPage.php Add helpurls to some api modules 2013-05-16 09:08:18 +02:00
ApiQueryRandom.php Add helpurls to some api modules 2013-05-16 09:08:18 +02:00
ApiQueryRecentChanges.php Added space after switch/Removed spaces after unset 2013-04-26 16:42:31 +02:00
ApiQueryRevisions.php Remove unneeded parenthesis from warning text in prop=revisions 2013-06-09 12:07:41 +02:00
ApiQuerySearch.php Fixed spacing around parenthesis in includes 2013-04-28 15:50:07 +00:00
ApiQuerySiteinfo.php (bug 47216) API: indicate default and skipped skins in meta=siteinfo 2013-05-17 09:51:18 +10:00
ApiQueryStashImageInfo.php
ApiQueryTags.php Add helpurls to some api modules 2013-05-16 09:08:18 +02:00
ApiQueryUserContributions.php Removed space after isset 2013-04-26 14:18:06 +02:00
ApiQueryUserInfo.php Fixed spacing in api folder 2013-04-20 07:47:36 +00:00
ApiQueryUsers.php Set context when using UserrightsPage 2013-05-24 15:58:54 +02:00
ApiQueryWatchlist.php (bug 47219) Allow specifying change type of Wikipedia feed items 2013-04-30 18:52:56 +02:00
ApiQueryWatchlistRaw.php Add helpurls to some api modules 2013-05-16 09:08:18 +02:00
ApiResult.php Fixed @param tags to conform with Doxygen format. 2013-03-11 13:15:01 -04:00
ApiRollback.php
ApiRsd.php Fix case of some Title methods 2013-03-27 14:36:05 +01:00
ApiSetNotificationTimestamp.php API: Add new hook 'APIGetPossibleErrors' 2013-04-19 15:25:58 +02:00
ApiTokens.php
ApiUnblock.php
ApiUndelete.php
ApiUpload.php (bug 48294) API: Fix chunk upload async mode 2013-05-29 13:32:09 -04:00
ApiUserrights.php Return errors from WatchAction 2013-06-20 15:51:05 -04:00
ApiWatch.php Return errors from WatchAction 2013-06-20 15:51:05 -04:00