On 9 October 2016 at 01:37, James HK jamesin.hongkong.1@gmail.com wrote:
VE's edits should be (indirectly) going through the action=edit API.
I'm not sure this answer is very helpful. I wonder about this as well whether edits initiated by VE/NWE will actually end-up being processed by the standard hooks available or not
It means yes, all VE edits should be going through the normal API edit processing code used by thousands of scripts, bots and external clients every day. I expect it works roughly the same as the UI edit processing code - if not, that's more likely a bug with ApiEditPage than with the VisualEditor extension. https://phabricator.wikimedia.org/diffusion/EVED/browse/master/ApiVisualEdit...