Page MenuHomePhabricator

Add a hook to Cite to let other extensions cause <ref>, </ref> and everything in between to render as blank
Closed, DeclinedPublic

Description

I want to add a hook to Cite to let other extensions cause <ref>, </ref> and everything in between to render as blank. See https://www.mediawiki.org/wiki/Extension_talk:BedellPenDragon#RefCallback_hook_35042 for explanation.


Version: unspecified
Severity: normal

Details

Reference
bz56404

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:24 AM
bzimport added a project: Cite.
bzimport set Reference to bz56404.
bzimport added a subscriber: Unknown Object (MLST).

Change 92857 had a related patch set uploaded by leucosticte:
Bug: 56404 Add RefCallback hook

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

Change 92857 abandoned by leucosticte:
Bug: 56404 Add RefCallback hook

Reason:
It turned out even disabling Cite entirely doesn't solve the problem. I used the workaround BedellPenDragon::stripRefTags() instead.

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