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

--- Comment #9 from Matthew Flaschen <[email protected]> ---
In core, EditPage->edit calls EditPage->getEditPermissionErrors

That calls Title->getUserPermissionsErrors with the default expensive true,
which triggers hook checks

Later EditPage->edit calls EditPage->attemptSave(), which calls
EditPage->internalAttemptSave().

That then calls EditPage->runPostMergeFilters which does the
EditFilterMergedContent, etc checks.

---

Erik noted that in Flow, it's done in a different order.  Specifically,
WorkflowLoader calls Block->onSubmit early, which in turn calls
Block->validate, which eventually checks the spam filters.

Then, only later does it check blocking and userCan.

-- 
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