Page MenuHomePhabricator

Changes in templates are not immediately reflected in Flow posts which transclude those templates
Closed, DuplicatePublic

Description

On ee-flow.wmflabs.org, I wrote a post on Maryana's talk page which contained a transclusion of Template:Vandalism. I then changed Template:Vandalism, but those changes are not reflected in the post on Maryana's talk page.

See Also:

Details

Reference
bz57991

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:17 AM
bzimport set Reference to bz57991.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/580, but people from the community are welcome to contribute here and in Gerrit.

This currently "works as intended", templates within flow are treated as if they were subst'd. This does need to be better documented.

This is currently the most common usage of templates within talk pages, additionally posts lend themselves naturally to being a specific point in time rather than a continuously updated piece of content.

(In reply to comment #2)

This currently "works as intended", templates within flow are treated as if
they were subst'd. This does need to be better documented.

This is currently the most common usage of templates within talk pages,
additionally posts lend themselves naturally to being a specific point in
time
rather than a continuously updated piece of content.

This is true. Except, critically, for the use case of templates in talk page headers.

For your average talk page post, templates are substituted. Or, to put it another way, it's not the worst thing in the world if changes to the templates aren't immediately reflected. This is not the case for talk page headers; templates are frequently used in headers on busy pages (such as Wikiprojects), and users expect changes to the header template to be immediately reflected in the header itself.

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

This is not a duplicate about storing links tables, this has to do with content being stored pre-rendered in ExternalStore which does not allow updating.

How does Parsoid solve this problem for articles?

E.g. https://rest.wikimedia.org/en.wikipedia.org/v1/page/html/Earth has the full HTML of the infobox. What happens to the content stored in RESTBase/Parsoid if https://en.wikipedia.org/wiki/Template:Infobox_planet changes?

@Mattflaschen, we use an extension to create update jobs after each content change, including edits to templates and images. Those jobs then re-request all affected pages through HTTP. As a result, template re-renders make up most of the load on the Parsoid cluster.

Templates in the header must be constantly updated.

He7d3r set Security to None.