In T124356#1954680, @tstarling pointed out that 969561ae3c9051eb408626e9b6debb6c0f210b71 broke the semantics of ParserOutput::getText(). This ticket proposes that we fix that breakage.
All users, by default, should receive unprocessed text without skin-specific section edit links and TOC. Any callsite that needs the fully expanded text should explicitly request it with the new method to be introduced (getExpandedText, or whatever it is).
This can prevent newer instances of T124356.