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.
bzimport set Reference to bz57991.
bzimport added a subscriber: Unknown Object (MLST).
Deskana created this task.Dec 4 2013, 6:18 PM

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.

Dupe of bug 57512?

  • This bug has been marked as a duplicate of bug 57512 ***
Quiddity removed a subscriber: Maryana.Dec 19 2014, 1:39 AM
EBernhardson reopened this task as Open.Mar 30 2015, 4:06 PM

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.

Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptMar 30 2015, 4:06 PM
Deskana removed a subscriber: Deskana.Mar 30 2015, 4:52 PM

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?

GWicke added a subscriber: GWicke.EditedMar 30 2015, 10:17 PM

@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.

Sunpriat awarded a token.
Sunpriat added a subscriber: Sunpriat.

Templates in the header must be constantly updated.

Sunpriat rescinded a token.Apr 4 2015, 4:00 AM
He7d3r updated the task description. (Show Details)Apr 15 2015, 2:30 PM
He7d3r set Security to None.
Sunpriat rescinded a token.Jun 4 2015, 10:11 AM
Sunpriat updated the task description. (Show Details)