Page MenuHomePhabricator

Make the default upload comment a message
Closed, ResolvedPublic

Description

Currently, the default upload comment is hardcoded, which uhh… is bad for the obvious reasons for any non-English wiki.

I propose to make this into a message so we can localize it properly. Unfortunately, the JS mw.Message API is rather simplistic and lacks the equivalent of PHP's ->inContentLanguage() method, so the message would have to be parsed on the server and then passed as a config var to JS code. Well, unless someone has a better idea. :)