[00:12:17] Is there any way yet to get the HTML for a visual diff from the API? [09:06:46] ragesoss: action=compare with prop=diff? https://www.mediawiki.org/w/api.php?action=help&modules=compare [15:29:54] oooh! that might be it! [15:29:56] thanks Nemo_bis [15:38:20] ragesoss: if you want to show that HTML to users, you might want to include a few MediaWiki stylesheets [15:38:31] e. g. https://github.com/lucaswerkmeister/tool-speedpatrolling/blob/6df8be4176507b83f38731f8ffd702d259e634c0/templates/diff.html#L7 (though that includes some Wikibase-specific things that might not be necessary in your case) [15:39:27] and you might need to define the surrounding with a , since that’s not included in the API response https://github.com/lucaswerkmeister/tool-speedpatrolling/blob/6df8be4176507b83f38731f8ffd702d259e634c0/templates/diff.html#L14-L21 [15:54:08] yeah, I already have a context that replicates most of the key bits of the stylesheets, showing whole articles. [15:54:44] probably I just need to add a few bits to that. [16:27:36] Hey, could someone run the recheck command on my patch ? [16:27:38] https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/548801 [16:30:08] {{done}} [16:31:38] Thanks !