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

--- Comment #12 from Adam Wight <[email protected]> ---
@ASchulz: It looks like the CAS logic you suggested has already been
implemented, in WikiPage::updateRevisionOn().  I'm trying to provide the
$lastRevision param whenever possible, which should improve many cases.

There is another function updateIfNewerOn which does require two queries, but
it's only used in SpecialUndelete and Import, and IMO should be retired.

Was there another query you know of which would explain the long load during a
conflict?

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

Reply via email to