Page MenuHomePhabricator

Flow should fire wikipage.content on content insertion
Closed, ResolvedPublic

Description

According to the documentation, the hook wikipage.content is meant to be fired when content is added to the DOM. Flow should probably fire it when inserting and previewing post/header content (in order to behave like standard talk pages).

Event Timeline

Ltrlg raised the priority of this task from to Needs Triage.
Ltrlg updated the task description. (Show Details)
Ltrlg added a project: StructuredDiscussions.
Ltrlg subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

A complicating factor is that most listeners will probably expect the PHP-formatted DOM, but this would be the Parsoid format. Not sure if this is a big deal, but maybe we should add a parameter.

Arlolra triaged this task as High priority.Apr 22 2015, 2:23 PM
Arlolra lowered the priority of this task from High to Low.
Arlolra raised the priority of this task from Low to Needs Triage.
Arlolra moved this task from Needs Triage to In Progress on the Parsoid board.
Arlolra moved this task from In Progress to Non-Parsing-Team Tasks on the Parsoid board.
Arlolra subscribed.

Change 495698 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/Flow@master] Fire wikipage.content hook after content update

https://gerrit.wikimedia.org/r/495698

Change 495698 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Fire wikipage.content hook after content update

https://gerrit.wikimedia.org/r/495698

Etonkovidova claimed this task.