On 12/11/05, Aron Rubin arubin@atl.lmco.com wrote:
Without advocating too much hook promiscuity, a larger base set of hooks would need to be provided because the extensions would need to execute before certain state changes or, in the case that prompted this thread, before the close of a certain div tag. In mediawiki the content is rendered as it goes (via a call like addHTML) so if a hook was to execute after target content was generated it would have to reprocess the OutputPage buffer. I doubt there would need to be too many (subjective, I know) hooks added because most extensions probably fall under the wikitext extension category.
Aron
Peter Danenberg wrote:
Why are there so few hooks in MediaWiki?
Imbalanced forward pack, I'm afraid; locks and flankers
are in order, but the front row needs some work.
In good sadness, though, did you have something like
Apache's bucket brigades in mind?
-- Peter Danenberg . wikisophia.org ..: _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l