From: Domas Mituzas Date: Tue, 13 Nov 2007 09:03:49 +0000 (+0000) Subject: profiling tooltips. yes, they have to be profiled! X-Git-Tag: 1.31.0-rc.0~50890 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=e966749988e0a9cb0fea6a26ca6b8f8a75ee7070;p=lhc%2Fweb%2Fwiklou.git profiling tooltips. yes, they have to be profiled! --- diff --git a/includes/Linker.php b/includes/Linker.php index e61578d51c..94f6b05c10 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1337,6 +1337,8 @@ class Linker { * element (e.g., ' title="This does something [x]" accesskey="x"'). */ public function tooltipAndAccesskey($name) { + $fname="Linker::tooltipAndAccesskey"; + wfProfileIn($fname); $out = ''; $tooltip = wfMsg('tooltip-'.$name); @@ -1352,6 +1354,7 @@ class Linker { } elseif ($out) { $out .= '"'; } + wfProfileOut($fname); return $out; }