wiki.techinc.nl/tests
Ori Livneh 7c9e19ed5e mime: Document null return from MimeAnalyzer::improveTypeFromExtension()
This method returns null when $mime is 'unknown/unknown' and the file
extension is unknown to MediaWiki. The inline documentation and @return
annotation omitted this.

I don't think this was an intentional design choice, but it's the
existing behavior and I'm not sure it's safe to change.

Since it is the existing behavior, document it and add a test case, to
ensure that any changes to this behavior are intentional.

Bug: T253483
Change-Id: Ie6615a4bd9ae77e9ab59cfe76edb237cace693b1
2020-05-24 15:51:08 -04:00
..
api-testing Move Search endpoints into core routes 2020-05-20 11:52:47 -07:00
common Introduce UserOptionsManager and DefaultOptionsManager 2020-04-28 15:42:43 -07:00
integration/includes Narrow MediaWiki.Commenting.FunctionComment.WrongStyle 2020-05-20 03:33:39 +01:00
parser Merge "Move french space armoring after doBlockLevels" 2020-05-19 22:09:52 +00:00
phan
phpunit mime: Document null return from MimeAnalyzer::improveTypeFromExtension() 2020-05-24 15:51:08 -04:00
qunit mediawiki.util: Add mw.util.parseImageUrl 2020-05-23 00:20:09 +00:00
selenium Merge "Revert "Selenium: Use wdio-video-reporter to record videos of test run"" 2020-05-20 10:56:53 +00:00
.htaccess