Prevent OutputPage::addWikiText and friends from causing UNIQ fails
authorBrian Wolff <bawolff+wn@gmail.com>
Fri, 20 Jun 2014 20:38:10 +0000 (17:38 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Wed, 25 Jun 2014 18:16:14 +0000 (15:16 -0300)
commit4e6b0e4f4dcd9cffe1d695d2f5f809409ef7b1fc
treea0e5361f786859d2023ea2ef0bf7b2af0b6a9587
parent4fbd12e43e6ef0757388c5ee43e65c4cc1be609e
Prevent OutputPage::addWikiText and friends from causing UNIQ fails

If you transclude a special page, OutputPage::addWikiText can cause
problems. This prevents that from happening, by using a new object
if currently in a parsing operation.

Bug: 14562
Bug: 65826
Change-Id: I7c38fa9e2fbd270e45f73f522612451e77ab8cbb
includes/OutputPage.php
includes/parser/Parser.php