On Tue, 27 Dec 2011 23:36:53 -0800, Domas Mituzas <midom.li...@gmail.com>  
wrote:

>> We could try to simplify those kind of common cases.
>
> Yet there are cases that are not so common - "start profiler for this  
> page", "for this ip", "for this wiki", "for this query string", etc.
> Where would that belong?
>
> Domas

Good point. Rather than simply simplifying that kind of case we could add  
to the $wgProfiler array a callback functionality that can return a  
boolean on whether to start the profiler.

-- 
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to