Page MenuHomePhabricator

[Wikidata branch] Use centralized function for calling legacy hooks made obsolete by ContentHandler
Closed, ResolvedPublic


As Tim mentioned in a comment to bug 38622, it would be nice to funnel all the calls to legacy hooks through a single method. The advantages are:

  • automatic just-in-time serialization of Content objects to text
  • easy to spot legacy code paths
  • can log a warning when such a hook is used by an extension

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:00 AM
bzimport set Reference to bz39509.

Implemented in I31109061, pending review

Closed older resolved bugs as verified.