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

--- Comment #7 from Peter Bena <benap...@gmail.com> ---
But you could still make some other way how to ask for a result which would
look like this, so that it wouldn't break any tools that expect the current
format.

In fact, even if it did

<rev>text</rev>

in case you don't ask for a diff

and

<rev content="text">
  <diff>...</diff>
</rev>

in case you do ask for a diff

it would still hardly break anything, since as you said, the later should have
thrown exception (which it doesn't because of some bug as you said: "There's
supposed to be an error thrown
in this situation, but the test at ApiFormatXml.php line 166 is broken so it
won't actually get thrown except in certain limited cases.")

so if it produced a different kind of output instead of exception, how could it
break anything?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to