Page MenuHomePhabricator

Parsing dependencies should be greyed out when previewing
Closed, DeclinedPublic

Description

Author: jp.posma

Description:
When there's a dependency in the wikitext, in an element that's being previewed, then the the referent should be greyed out with a "Refresh" button, which causes the entire page to be re-rendered.

For example, if there's a reference (<ref>Some text.</ref>) is present in a paragraph, then when previewing that paragraph, the reference list (<references/>) should be greyed out with a "Refresh" button. The problem is that both the <ref></ref> and <references/> tags can be inside a template, so this has to be identified by the Cite extension. The Cite extension should implement a hook in InlineEditor after parsing, to tell whether or not a reference was present. Then it can also tell which class should be greyed out.


Version: unspecified
Severity: enhancement

Details

Reference
bz27162

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:13 PM
bzimport set Reference to bz27162.

jp.posma wrote:

InlineEditor is no longer being developed.

Change 731785 had a related patch set uploaded (by Seddon; author: Seddon):

[mediawiki/extensions/MediaSearch@master] Revert 727328

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