[20:22:29] tgr: I made an error in one of the API i18n messages. Fix is https://gerrit.wikimedia.org/r/#/c/325619/ [20:38:20] anomie: can you think of teams who are affected by the change, apart from the mobile apps? multimedia due to the upload api changes, is there anyone else? [20:45:18] anomie: I'm a bit unsure about ** make sure you set errorsuselocal if you interact with user-defined [20:45:50] (linux clipboard snafu) [20:46:03] ....about errorsuselocal defaulting to false [20:46:46] it will affect anything that used manual hacks and passed parsed strings to the API [20:47:04] tgr: Can't think of anyone in particular. Not sure what you're asking about errorsuselocal. [20:47:30] so it's a b/c break to some extent either way, but maybe defaulting to true would be the smaller one [20:47:54] esp. with api modules that interact with user-defined messages, like abusefilter [20:48:45] maybe bc mode should use the db when the message does not exist otherwise? [20:54:48] tgr: Well, we probably don't want BC mode to use the database since it's liable to wind up returning something very unexpected if wikis start customizing some of these messages for whatever gadgets and user scripts start actually using the new localized error messages. [20:58:24] anomie: that makes sense. still, with messages that only exist in the database it's worth making an exception IMO; currently those are all things that can be displayed via the web as well [20:59:40] abusefilter, titleblacklist, spamblacklist are the ones I can think of [20:59:54] tgr: Well, something making a web UI would probably want to be using &errorformat=html&errorsuselocal=1 anyway. Is there any sane way to tell a message "only use the database as a last resort"? [21:01:22] check if it exists and set the db flag based on that [21:01:33] which is not really sane considering parameter chains... [21:01:44] I'll write a patch for that [21:02:49] tgr: At least for AbuseFilter it doesn't seem that this actually changed anything, both before and after it doesn't seem to be loading messages from the DB. [21:03:36] I ran into it while testing TitleBlacklist IIRC [21:05:03] I guess that will mostly just affect file uploads since nothing else uses page creating APIs heavily, and UploadWizard etc. needs to be fixed anyway [21:21:42] anomie: tgr: for a good start, you broke VE. ;) https://phabricator.wikimedia.org/T152547 [21:48:02] MatmaRex, tgr: I put up https://gerrit.wikimedia.org/r/#/c/325641/ that should fix VE, although I haven't ruled out changing the ApiParse check back to ignoring most duplicates if that sort of thing turns out to be more widespread. [21:48:38] MatmaRex: So nothing important? ;-) [21:49:01] tgr, bd808: Any chance you could look in the kafka thing to see whether action=parse is often called with more than one of 'oldid', 'page', and 'pageid'? [21:50:01] anomie: I have a meeting but can do in an hour or so [21:50:34] tgr: Ok, thanks. I'll probably have to see it in IRC scrollback tomorrow then.