Page MenuHomePhabricator

Templates used list incorrect when editing section 0
Closed, ResolvedPublic

Description

Author: le.korrigan

Description:
When editing the section 0 of a page, the list of "templates used on the page" is incorrect and shows all templates of the page and not only on the section itself. The list becomes correct when doing a preview (one gets the list of "templates used in this preview"). See the link provided, and try "preview" without any change to compare the list of templates.


Version: 1.11.x
Severity: minor
URL: http://fr.wikipedia.org/w/index.php?title=Travail_des_enfants&action=edit&section=0

Details

Reference
bz10149

Event Timeline

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

Probably an incorrect check for whether section is set, bringing false positive for "0".