Only expand `{{...}}` in messages once
authorC. Scott Ananian <cscott@cscott.net>
Thu, 11 Oct 2018 13:05:05 +0000 (09:05 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Thu, 11 Oct 2018 13:05:05 +0000 (09:05 -0400)
commit709e94e05c3dc30475372ae7865e7a96c995d836
tree6b7383b45c6faaa5fe6cf1dbec1701c51d0cfa88
parent87bc4f22699e557410ab7e3b6aafb5d1036bca8a
Only expand `{{...}}` in messages once

If we're going to call `OutputPage::addWikiText` to parse the message,
we don't need to pre-expand `{{...}}` markup before passing it to the
parser.  This makes these callsites consistent with how
`OutputPage::addWikiMsg()` inserts messages.

Bug: T206574
Change-Id: I2f68f73365df876e6f9d017e4e3ddea39c4a1284
includes/EditPage.php