Page MenuHomePhabricator

The page [[foo]] is listed under "Templates used on this page" if the current page countains {{PAGESIZE: foo }}
Closed, ResolvedPublic

Description

To reproduce the bug, just create a page with {{PAGESIZE: foo }} and open it in edit mode. MediaWiki 1.17 and 1.18 shows [[foo]] as if it were one of the templates in the page (which has no template at all). For a real example, see
https://pt.wikipedia.org/w/index.php?title=Wikipédia:Concursos/I_GP_Wikimedia_Brasil/Lista&action=edit&uselang=en

That page should display only [[Template:artigo6]] in the list.


Version: unspecified
Severity: normal
URL: https://pt.wikipedia.org/w/index.php?title=Wikipédia:Concursos/I_GP_Wikimedia_Brasil/Lista&action=edit&uselang=en

Details

Reference
bz32780

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:59 PM
bzimport set Reference to bz32780.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #1)

Perhaps related to bug 31576

Yep, pretty sure it is.

That is wrong. There is a explicit call to ParserOutput::addTemplate in CoreParserFunctions::pagesize.

See also bug 18703

  • This bug has been marked as a duplicate of bug 18188 ***