This isn't helpful now, but your use case is relevant to something I hope
to pursue in the future: comprehensive mediawiki change events, including
content. I don't have a great place yet for collecting these use cases, so
I added it to Modern Event Platform parent ticket
<https://phabricator.wikimedia.org/T185233> so I don't forget. :)
On Thu, Jul 1, 2021 at 8:17 AM Physikerwelt <wiki(a)physikerwelt.de> wrote:
Dear all,
we have developed a tool that is (in some cases) capable of checking if
formulae in <math/>-tags in the context of a wikitext fragment are likely
to be correct or not. We would like to test the tool on the recent changes.
From
https://www.mediawiki.org/wiki/API:Recent_changes_stream
we can get the stream of recent changes. However, I did not find a way to
get the diff (either in HTML or Wikitext) to figure out how the content was
changed. The only option I see is to request the revision text manually
additionally. This would be a few unnecessary requests since most of the
changes do not change <math/>-tags. I assume that others, i.e., ORES
https://www.mediawiki.org/wiki/ORES,
compute the diffs anyhow and wonder if there is an easier way to get the
diffs from the recent changes stream without additional requests.
All the best
Physikerwelt (Moritz Schubotz)
_______________________________________________
Wikitech-l mailing list -- wikitech-l(a)lists.wikimedia.org
To unsubscribe send an email to wikitech-l-leave(a)lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/