https://bugzilla.wikimedia.org/show_bug.cgi?id=13209





--- Comment #8 from Roan Kattouw <[EMAIL PROTECTED]>  2008-12-04 14:34:18 UTC 
---
(In reply to comment #7)
> Reopening this; I understand that providing machine-readable diffs is not
> feasible for performance reasons. However, providing an API query that outputs
> the HTML diffs (already generated by MediaWiki) suitably wrapped would not, as
> suggested above, be merely redundant to an existing UI query. It is something
> that would be useful for two key reasons:
> 
> * Machine-readable output in the event of errors, something that the UI does
> not always, or even usually, provide
> * It would be relatively simple to implement an API query format that, unlike
> the UI, could return several diffs in the same request. This would make
> fetching many diffs easier on the servers, something that is done in the
> process of dealing with vandalism for example.
> 

I guess those are good arguments for implementing this. I'll do it soon, but
note that its usefulness is severely limited because the diff format depends on
the wiki's configuration. On a wiki using MW's built-in diff functionality
(slow!) or wikidiff2 (WMF uses this), you'll get an HTML diff polluted with
<table>, <tr>, <td>, <ins> and <del> tags. But if that's what you want, you can
get it :)


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to