mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-27 09:30:09 +00:00
207242f93d
Use ParserOutput::getRawText() instead of deprecated getText(). This avoids a dependency on MediaWiki\OutputTransform classes, which call into Skin and lots of other scary code. Small updates are needed so that we continue stripping the TOC and section edit links in this format. This simultaneously reverts two patches that were only needed to work around problems caused by markup added by OutputTransforms: * Revert "Skip <h2> in TOC when extracting first section" This reverts commit |
||
---|---|---|
.. | ||
ApiQueryExtracts.php | ||
ExtractFormatter.php | ||
Hooks.php | ||
TextTruncator.php |