hooks.txt: Convert docs to modern extension registration style
authorDannyS712 <DannyS712.enwiki@gmail.com>
Mon, 19 Aug 2019 07:01:43 +0000 (07:01 +0000)
committerJforrester <jforrester@wikimedia.org>
Tue, 20 Aug 2019 13:56:40 +0000 (13:56 +0000)
commitb01fbfeb40aa045a53cc38e3b57a5a6ebfced3ac
treec52a926cceea22d6153fd1d36b589a8280b9cf70
parent0785dfaf195e1d87246d3b588894252696a83639
hooks.txt: Convert docs to modern extension registration style

This changes the examples in hooks.txt from using the old format of
manually entering additions into `wgHooks` to instead use the new
`"Hooks“: {}` object format.

Bug: T230397
Change-Id: I48a9986e4243eb933088d36b4bb095b345ab62fd
docs/hooks.txt