HomePhabricator

Check if template fragments are of type mw:Transclusion before processing

Authored by KartikMistry.

Description

Check if template fragments are of type mw:Transclusion before processing

An invalid assumption that template fragments connected using about attributes
are always template was causing js error.

Example: page=Кашира&from=ru, in its first paragraph there is a template
named Население that render the text 40 213[1]. In this the reference
fragment is not a template and does not have template data.

Bug: T97220
Change-Id: I670fb0cea7e8fc3f98d72a925eb31db8625eb644

Details