Last modified: 2013-08-22 14:55:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41509, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39509 - [Wikidata branch] Use centralized function for calling legacy hooks made obsolete by ContentHandler
[Wikidata branch] Use centralized function for calling legacy hooks made obso...
Status: VERIFIED FIXED
Product: MediaWiki
Classification: Unclassified
ContentHandler (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Daniel Kinzler
:
Depends on:
Blocks: 38622
  Show dependency treegraph
 
Reported: 2012-08-20 17:24 UTC by Daniel Kinzler
Modified: 2013-08-22 14:55 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2012-08-20 17:24:47 UTC
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
Comment 1 Daniel Kinzler 2012-08-20 17:31:44 UTC
Implemented in I31109061, pending review
Comment 2 denny vrandecic 2013-08-22 14:55:02 UTC
Closed older resolved bugs as verified.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links