[07:56:15] [[Tech]]; ArchiverBot; Bot: Archiving 1 thread (older than 30 days) to [[Tech/Archives/2016]].; https://meta.wikimedia.org/w/index.php?diff=16016671&oldid=16014840&rcid=8459027 [10:04:15] [[Tech]]; HDplaystore; /* HDPLAYSTORE.NET */ new section; https://meta.wikimedia.org/w/index.php?diff=16016961&oldid=16016671&rcid=8459394 [10:05:08] [[Tech]]; Stryn; Reverted changes by [[Special:Contributions/HDplaystore|HDplaystore]] ([[User talk:HDplaystore|talk]]) to last version by ArchiverBot; https://meta.wikimedia.org/w/index.php?diff=16016962&oldid=16016961&rcid=8459395 [18:03:33] how do I get the diff html for Special:MobileDiff from the API? [18:04:46] It seems pretty different from what you get from either action=changes or from action=query&prop=revisions&rvdiffto [18:05:25] is there a way to do that? [18:06:23] Krenair: maybe not. I was hoping there was. [18:06:50] I want to make a diff viewer, and the inline diffs from MobileDiff is a much friendlier format for most people. [18:07:04] you want to use diffs from the mobile site on a non-mobile site? [18:07:30] basically, yes. [18:08:50] I would also like to be able to get that kind of inline diff for a pair of revisions (not one revisions to the previous one, as with Special:MobileDiff) [18:09:18] you probably shouldn't be doing that [18:09:27] why not? [18:09:35] it's a much nicer way for someone to view changes. [18:11:00] ragesoss: I would highly doubt that the mobilefrontend code actually exposes what it does via api [18:11:11] I'd love to be surprised though :) [18:11:13] sigh. [18:12:16] I'll ask in #wikimedia-mobile [18:14:24] ragesoss: looks like is swaps out the diff engine for a local version from the extension -- https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/a637e415ccd5d2662c1d8768680fa7da0ac32b7b/includes/specials/SpecialMobileDiff.php#L220-L295 [18:15:54] bd808: and InlineDiffEngine output isn't exposed anywhere in the API? [18:16:15] not that I can see, no. [18:17:03] damn. I really don't want to try to recreate inline diffs from action=compare output. [18:17:07] ragesoss, because mobile stuff has been designed specifically for mobile [18:17:10] there's an rfc somewhere. [18:17:41] Krenair: but the inline diff views are not inherently mobiel-specific. ought to be a way to get that. [18:17:48] there's actually a gerrit patch to I think from jon [18:18:26] ragesoss, does it exist outside the MobileFrontend extension? [18:19:07] ragesoss: petition folks to get https://gerrit.wikimedia.org/r/#/c/280904/ merged ;) [18:19:14] bd808: yeah, just found it ^ [18:19:18] https://www.mediawiki.org/wiki/Requests_for_comment/Inline_diffs [18:19:54] also https://phabricator.wikimedia.org/T117279 [18:19:58] so many links. [18:20:14] it's kind of a mess, but it has been slowly happening. [18:24:48] oh, looks like mobile frontend actually does do diffs spanning multiple revisions, like https://en.m.wikipedia.org/wiki/Special:MobileDiff/595047902...595151972