Hard deprecate non-tidy OutputPage::addWikiText() method
authorC. Scott Ananian <cscott@cscott.net>
Tue, 25 Sep 2018 14:05:55 +0000 (10:05 -0400)
committerJforrester <jforrester@wikimedia.org>
Wed, 24 Oct 2018 20:05:58 +0000 (20:05 +0000)
commit45305de579f6805a7387c2c72082e8febc870350
treea2e7d25228c8ad041f33d60327f3cc448c810150
parentc8256bbabaa0d4294b7d527fe1a8d23dad1bcf09
Hard deprecate non-tidy OutputPage::addWikiText() method

Tidy will always be enabled with our future parsers.  Hard-deprecate
this method which doesn't tidy the output.

Users of `OutputPage::addWikiText()` will be converted one-by-one to
`OutputPage::addWikiTextAsInterface()` so that any unexpected issues
(deliberately untidy wikitext added, which should be rare) can be
addressed.

Bug: T198214
Depends-On: I778ba9e6efed576605f492c9a073c7203b6c0477
Depends-On: I16529879a3b3aed960c5dc006e2af513d7e91fcd
Change-Id: If8353c37245d9d233d589f82c198668ccb3fce05
includes/OutputPage.php
tests/phpunit/includes/OutputPageTest.php