[09:29:37] Curious https://code.google.com/p/chromium/issues/detail?id=522486#c22 [14:03:22] who broke wikimedia/gerrit [14:04:24] gerrit WFM [14:06:11] Reedy: oops. Git not gerrit? Trying to download extension/UserMerge and git.wikimedia.org is 504ing for me [14:06:22] It's not git, it's gitblit [14:06:30] (the service) [14:06:47] I've poked ops [14:07:58] Ah [14:08:00] Okay :) [14:14:23] it should be ok now. [18:21:36] Hi. What exactly does the 'oldid' parameter in the URL on diff pages indicate? [18:22:00] Niharika: one of the page revisions to compare [18:22:09] * Nemo_bis has a déja vu [18:22:16] yeah we've had this discussion before [18:22:18] (the "old" one, or left-hand-side) [18:22:19] MatmaRex: One of the page revisions? Left or right? [18:22:29] Depends on the language, I think Niharika [18:22:33] (assuming you speak a LTR language, that it :) ) [18:22:54] MatmaRex: That's what I thought! But when we hit "Older edit", the oldid = wgRevisionId (which is the right side revision) [18:23:19] Niharika: hm, yeah, but then you have diff=prev [18:23:42] MatmaRex: In that situation, is there a way to retrieve the left side revision ID? [18:24:24] no idea. probably not directly, prob [18:24:32] ably can be done with the API somehow [18:24:45] Nikerabbit: mediawiki resolves this in DifferenceEngine::mapDiffPrevNext(), if you want the gritty details [18:25:06] Hmm. Okay. I'll look. Thanks MatmaRex. [18:25:08] Niharika: ^ [18:25:19] seems a bit more confusing than it should be :P [18:25:39] indeed [18:26:01] Yeah. This is a special case, when we hit Older edit that is. It's easy to get both side revisions otherwise. [18:26:06] Niharika: actually, i think i see how to get this with the API [18:26:25] MatmaRex: How? :) [18:27:37] MatmaRex: oki [18:27:44] hm [18:28:50] Niharika: i was going to suggest this: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&prop=revisions&format=json&rvprop=ids&rvlimit=2&rvstartid=669585227&rvdir=newer&titles=Adelaide%20Island [18:29:07] use "rvdir=newer" to get the next rev, "rvdir=older" to get the previous one [18:29:38] which works [18:30:17] Niharika: but apparently the very same API has a "rvdiffto" option, which can take prev/next as value, and which returns the revids (among other things) [18:30:18] https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&prop=revisions&format=json&rvprop=ids&rvdiffto=prev&revids=669585227 [18:30:47] so many options! :) [18:32:00] MatmaRex: :) I was unsure about the revids parameter, but I think it is the "from" ID. Your example was super helpful. Thanks! [18:32:31] yeah, that's the "oldid" [18:33:10] !install [18:33:13] !less [18:33:20] ECHAN sorry [19:37:25] [[Tech]]; Akimtaylor8; /* Acer Technical Support +1855 791 4041 Phone Number */ new section; https://meta.wikimedia.org/w/index.php?diff=14098681&oldid=14082763&rcid=6888139 [19:42:56] [[Tech]]; AKlapper (WMF); Undo revision 14098681 by [[Special:Contributions/Akimtaylor8|Akimtaylor8]] ([[User talk:Akimtaylor8|talk]]); https://meta.wikimedia.org/w/index.php?diff=14098743&oldid=14098681&rcid=6888144 [19:44:09] [[Tech]]; Akimtaylor8; /* Acer Technical Support +1855 791 4041 Phone Number */ new section; https://meta.wikimedia.org/w/index.php?diff=14098757&oldid=14098743&rcid=6888147 [19:47:25] [[Tech]]; AKlapper (WMF); Undo revision 14098757 by [[Special:Contributions/Akimtaylor8|Akimtaylor8]] ([[User talk:Akimtaylor8|talk]]); https://meta.wikimedia.org/w/index.php?diff=14098799&oldid=14098757&rcid=6888148 [22:07:26] MaxSem: what about $wgEnableWriteAPI? [22:09:31] kinda out of scope:)