Page MenuHomePhabricator

Transcluded special page includes superfluous text
Open, Needs TriagePublic

Description

Reported in Miraheze discord. Since https://github.com/wikimedia/mediawiki-extensions-Editcount/commit/e5657bc2997f6bfbc1f35f3f019847d6639ad03c, the Editcount-before message is included in both the special page and the transcluded page.

This breaks using the special page in a template.

The editcount-before message should be moved to inside the else of this->including

Event Timeline

BlankEclair renamed this task from Transcluded special page includes suprious text to Transcluded special page includes superfluous text.Fri, Dec 13, 5:17 AM
BlankEclair claimed this task.

Change #1103138 had a related patch set uploaded (by BlankEclair; author: BlankEclair):

[mediawiki/extensions/Editcount@master] Only show leading message if it's not being transcluded

https://gerrit.wikimedia.org/r/1103138

Change #1103138 merged by jenkins-bot:

[mediawiki/extensions/Editcount@master] Only show leading message if it's not being transcluded

https://gerrit.wikimedia.org/r/1103138

  NODES
Note 1
Project 2