T32713 added "wikipage.content" passing it #mw-content-text, and fired it on initial load and from live preview (and other code like VisualEditor and other extensions/gadgets should also fire it when they replace/update the content).
A few others we should add for things outside the content:
- [DONE in rMW125bfdfec63c3be1b7d94be2d03e21226fcf23f5] wikipage.categories arguments: .catlinks
Fired initially and from live preview. e.g. for things like HotCat to listen to
- wikipage.langlinks arguments: #p-lang
Fire initially if #p-lang exists/non-empty, and from live preview.
- [DONE in rMW9cfb9cb9fba4dcfd25a0924237681b7cc86a20df] wikipage.diff arguments: #wikiDiff
Fire initially if page has a diff on it, and from live preview if user did "show changes".
e.g. for patrolling tools to hook into the diff and the [mark as patrolled] link.
- [DONE in rMW8d0dcb863701e78cb4b066f176da89091bba67b3] wikipage.editform arguments: (common parent of .mw-summary-preview, .templatesUsed, .hiddencats)
e.g. for vector.footerCleanup and other things that hook into this.
Version: 1.21.x
Severity: normal