Last modified: 2014-07-27 00:32:11 UTC
When the HTML parser in CommonsMetadata is set into multilang mode, it will return an array of language versions for each metadata field, one for each language template ({{en}} etc) used in that field. But for fields not using such templates at all, it will return a single value, not an array. This makes sense for fields which are not language-dependent, but for the rest it just makes the behavior of the extension hard to predict.
For the sake of search, this is: There were 79 skipped tests: [...] 15) TemplateParserTest::testMultilangModeWithoutLanguage bug 57846 /srv/vagrant/mediawiki/extensions/CommonsMetadata/tests/phpunit/TemplateParserTest.php:139 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160