We added an appropriate ParserOption in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/972047 (in MW 1.42) to provide a better mechanism to do with without mutating the $options array, but we need to actually patch Translate to use this. And of course it needs to be backward compatible because of the compatibility policy for Translate.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | ihurbain | T293512 ParserOutput::getText() should be removed from ParserOutput | |||
Open | None | T350626 Remove 'options' arguments to ParserOutput::getText() | |||
Open | None | T363490 Translate extension mutates the $options argument in ParserOutputPostCacheTransform hook |
Event Timeline
Comment Actions
Note that setting the ParserOption to suppress edit links at the present time splits the parser cache. That's probably not an issue since the page will *always* be rendered with that setting.