`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
[] Jade
[] Cognate
[] Translate
[] ConfirmEdit https://gerrit.wikimedia.org/r/607352
[] Echo https://gerrit.wikimedia.org/r/c/605724
[] EventBus
[] FlaggedRevs
[] Gadgets
[x] JsonConfig https://gerrit.wikimedia.org/r/c/605726
[] LiquidThreads
[] 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
[] TheWikipediaLibrary
[x] TitleBlacklist https://gerrit.wikimedia.org/r/c/605730
[] UploadWizard
[] WikimediaEditorTasks
[] WikimediaEvents
[] FeaturedFeeds