Introduce ParserOutput::getRawText()
authorTim Starling <tstarling@wikimedia.org>
Mon, 25 Jan 2016 03:44:36 +0000 (14:44 +1100)
committerTim Starling <tstarling@wikimedia.org>
Mon, 25 Jan 2016 03:50:27 +0000 (14:50 +1100)
commit914f6a62a66217b3e4304fca80e64ae1baa42d04
tree72b0c750fde31e7303b65f6e5e67a46b438d87f4
parent90453fe8e3aeaac93427f3aaf26dd79ba4bc08aa
Introduce ParserOutput::getRawText()

Avoid polluting the parser cache with skin-dependent output from
Skin::doEditSectionLink() by introducing getRawText(), which provides
access to the uncooked text. Use this in
WikitextContent::fillParserOutput() which is the primary offender
judging by the debug logs (see referenced bug).

Bug: T124356
Change-Id: Ia9e1e4a6dc3a26f88eeebc64eed023ff20c53d58
includes/content/WikitextContent.php
includes/parser/ParserOutput.php