diff options
author | C. Scott Ananian <cscott@cscott.net> | 2024-02-16 15:17:23 -0500 |
---|---|---|
committer | Subramanya Sastry <ssastry@wikimedia.org> | 2024-02-17 15:31:13 -0600 |
commit | 55be7b1f09d41110842a223d05aa69b13277f3cf (patch) | |
tree | ca223aa1154d3a226a70d95d905263c328cf7b0a /tests/phpunit/includes/api/ApiOptionsTest.php | |
parent | 9e73d212d22ea621a5289c1953fbe06c3c2895f1 (diff) | |
download | mediawikicore-55be7b1f09d41110842a223d05aa69b13277f3cf.tar.gz mediawikicore-55be7b1f09d41110842a223d05aa69b13277f3cf.zip |
Don't double-wrap headings when using DiscussionTools
Discussion Tools runs *before* this stage runs, and so we end up
wrapping headings which have already been wrapped by discussion tools.
Check for an existing wrapper to avoid this.
In the future, we will probably add a new post-cache transform hook
which is at the very *end* of the pipeline, instead of in the middle,
to avoid this sort of ordering dependency between extensions and core.
Bug: T357826
Change-Id: I8cd28a3b42e55844be1258d639e605862952806f
Diffstat (limited to 'tests/phpunit/includes/api/ApiOptionsTest.php')
0 files changed, 0 insertions, 0 deletions