[19:33:55] anyone around? file stuff is pretty broken related to comments, but I need someone to review https://gerrit.wikimedia.org/r/376880 [19:34:53] * legoktm pokes Reedy gently ^ [19:39:27] It looks sane [19:40:36] legoktm: I'm also not sure if we should deploy it [19:40:41] Though, I'm thinking jfdi [19:41:00] I think the current situation is pretty broken [19:41:21] file description page for old revisions, plus the API breakage will affect any downstream user of foreignapirepos/instantcommons [19:43:42] Reedy: thanks. are you going to sync it? [19:46:27] Waiting for jerkins [19:58:38] Reedy: I'll sync it out now [19:58:50] Sorry, GTA V was distracting me [20:01:33] hmm [20:01:38] I synced it out to mwdebug1002 [20:02:08] https://commons.wikimedia.org/wiki/File:Example_en.svg#filehistory [20:02:21] viewing on mwdebug1002 I see the bottom two comments, but not the latest one [20:03:10] :/ [20:03:56] the API works properly [20:04:14] my local testing worked fine though [20:04:29] I see the comment for the latest and old revisions [20:04:44] legoktm: Purged and it's fixed [20:05:12] o.O [20:05:18] do we need bump a cache key somewhere? [20:05:37] Hmmmm [20:05:59] probably because I changed getCacheFields() [20:06:02] Almost sounds like it [20:06:53] ok, working on patch to make old cache entries work [20:13:56] Reedy: [13:13:36] (PS1) Legoktm: LocalFile: Fallback to 'img_description' for cached entries [core] - https://gerrit.wikimedia.org/r/376920 [20:14:57] er, look at PS2 [20:17:40] We should work out what the cache period is.. [20:17:53] Though, maybe just cherry pick that to .17 and not merge on master? [20:19:13] if ( isset( $row->${"{$prefix}description_text" } ) ) { [20:19:17] Or just wait for caches to expire [20:19:17] shouldn't the isset prevent warnings? [20:19:18] nbd [20:19:19] :P [20:19:23] Notice: Undefined variable: img_description_text in /home/km/projects/gerrit/mediawiki/core/includes/filerepo/file/LocalFile.php on line 550 [20:21:49] * legoktm swaps to property_exists() [20:24:38] ok, I cherry-picked it on to mwdebug1002 and it works properly pre-purge and post-purge [20:25:22] I'll just merge it for wmf.17 and let us figure out what to do for master later [20:42:49] deployed everywhere