`PageContentInsertComplete` is called when a page is newly created
`PageContentSaveComplete` is called when a page revision is saved; if it was newly created both are called
Suggest replacing these with a single hook: `PageSaveComplete`, and having whether it is new included as a parameter.
This opportunity can also be used to clean up the hook implementations:
* `PageContentInsertComplete` passes three parameters by reference for legacy reasons
* `PageContentSaveComplete` passes four parameters by reference for legacy reasons
* Both hooks include two parameters that are no longer used, `isWatch` and `section`
* Both hooks pass a flags parameter, as well as a boolean `isMinor` that is simply `$flags & EDIT_MINOR`. The new hook would no longer have a minor parameter, and the flags would be checked.
To see if a page is newly created, use `$flags & EDIT_NEW`.
Deployed extensions to be updated:
[x] AbuseFilter https://gerrit.wikimedia.org/r/c/605725
[x] PageTriage https://gerrit.wikimedia.org/r/c/604509
[x] GlobalUserPage https://gerrit.wikimedia.org/r/c/605679
[x] Jade https://gerrit.wikimedia.org/r/607661
[x] Cognate https://gerrit.wikimedia.org/r/607840
[x] Translate https://gerrit.wikimedia.org/r/607656
[x] ConfirmEdit https://gerrit.wikimedia.org/r/607352
[x] Echo https://gerrit.wikimedia.org/r/c/605724
[x] EventBus https://gerrit.wikimedia.org/r/607830
[x] FlaggedRevs https://gerrit.wikimedia.org/r/607716
[x] Gadgets https://gerrit.wikimedia.org/r/607837
[x] JsonConfig https://gerrit.wikimedia.org/r/c/605726
[x] LiquidThreads https://gerrit.wikimedia.org/r/607831
[x] MachineVision https://gerrit.wikimedia.org/r/c/605727
[x] ProofreadPage https://gerrit.wikimedia.org/r/c/605728
[x] SpamBlacklist https://gerrit.wikimedia.org/r/c/605729
[x] TheWikipediaLibrary https://gerrit.wikimedia.org/r/607842
[x] TitleBlacklist https://gerrit.wikimedia.org/r/c/605730
Core hard deprecation: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/608676
[x] UploadWizard https://gerrit.wikimedia.org/r/607833
[x] WikimediaEditorTasks https://gerrit.wikimedia.org/r/607836
[x] WikimediaEvents https://gerrit.wikimedia.org/r/607835
[x] FeaturedFeeds https://gerrit.wikimedia.org/r/607844