Hi,
Jeroen's suggestions are very interesting to me. There is one thing I don't understand: Why is it a bad idea to provide a hook handler with as much context information as possible? Isn't is better to have context injected to the hook handler than to have the hook handler look for the context in some other way? Maybe even by accessing global state?
-- Robert Vogel
-----Ursprüngliche Nachricht----- Von: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] Im Auftrag von Aaron Schulz Gesendet: Freitag, 10. Januar 2014 04:14 An: wikitech-l@lists.wikimedia.org Betreff: Re: [Wikitech-l] Watchlist and RC refactor, and why you will like it
I'd agree with the general statement on inheritance (which can have weird coupling and diamonds of doom) and hooks (which can lead to hard-to-specify behavior and tangle). I'm not familiar with the main problem with SpecialPage having been articulated though.
-- View this message in context: http://wikimedia.7.x6.nabble.com/Watchlist-and-RC-refactor-and-why-you-will-... Sent from the Wikipedia Developers mailing list archive at Nabble.com.
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l