Require post with edit token if $wgRawHtml is set

Bug: T76195
Manually cherry picked from: Idc6b25689fdaa4640395b9d6e10daa011dea25f9

Change-Id: I7c9220f8777ea7f9079fdc5c3404c3ede748fe09