https://bugzilla.wikimedia.org/show_bug.cgi?id=39509

       Web browser: ---
             Bug #: 39509
           Summary: Use centralized function for calling legacy hooks made
                    obsolete by ContentHandler
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentHandler
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


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

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to