mediawiki.util: Use 'wikipage.content' hook for TOC hiding

Bug: 54437
Change-Id: I82f441111bf3d6018b569dc728a3c152b721db7d
Merge "mediawiki.util: Use 'wikipage.content' hook for TOC hiding"