Page MenuHomePhabricator

nowiki tags and template with gallery
Closed, ResolvedPublic

Description

Author: foenyx

Description:
The parser do not render nowiki tag correctly
(NaodW29-nowiki3107a630304f1afa00000001)
when a <nowiki> tag </nowiki> is in the same page that a template {{ImagesAbcd}}
if the Template:ImagesAbcd contains a gallery with at least one Image.


Version: unspecified
Severity: normal
URL: http://fr.wikipedia.org/wiki/Utilisateur:FoeNyx/test

Details

Reference
bz2172

Event Timeline

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

foenyx wrote:

(In reply to comment #0)

s/do not render/does not render/
s/the same page that/the same page than/

wegge wrote:

The parser gets confused when it calls itself from within a gallery within a
template. "Fixed" by instantiating a new Parser object in
Parser:renderImageGallery()

foenyx wrote:

Thanks to Anders Wegge Jakobsen it's fixed in 1.5 ;
It still bugs in 1.4 but it's not a priority as 1.5 is soon here.

avarab wrote:

I backported the fix to REL1_4.