[Mediawiki-i18n] [Multimedia] [Ops] Caching API responses

Gergo Tisza gtisza at wikimedia.org
Sun Apr 27 00:17:50 UTC 2014


On Fri, Apr 25, 2014 at 11:49 PM, Federico Leva (Nemo)
<nemowiki at gmail.com>wrote:

> Gergo Tisza, 26/04/2014 04:32:
>
>      If you absolutely had to cut some functionality out in order to roll
>>     this out more broadly, what would you eliminate?
>>
>>
>> IMO we could get rid of the users, imageusage and globalusage calls
>> without much trouble. The first one is only used for gender-correct
>> translations.
>>
>
> Degrading i18n is never an option.
>

Meh, if we had to choose between disabling MediaViewer and sometimes
displaying usernames in the wrong gender, that would be a no-brainer. i18n
is important, but not *that* important. (Also, the effect would not be that
large - based on a quick grep, only about 12% of the existing MediaViewer
localizations even use genders.)

I would prefer putting the genders directly into the imageinfo API, though.
Ideally, any API that returns usernames should return genders as well, as
they are necessary to display those usernames. Even more so if that API
returns usernames from remote wikis whose API might not be public, or
usernames from a ForeignDBRepo which might not even have a wiki
associated...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/mediawiki-i18n/attachments/20140426/f2a30707/attachment.html>


More information about the Mediawiki-i18n mailing list