From: Aryeh Gregor Date: Tue, 28 Oct 2008 00:23:26 +0000 (+0000) Subject: Forgot profiling for last commit X-Git-Tag: 1.31.0-rc.0~44547 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=827b484856740d9019741314657c5d8620467a30;p=lhc%2Fweb%2Fwiklou.git Forgot profiling for last commit --- diff --git a/includes/Linker.php b/includes/Linker.php index 051bebe1de..aa8614e88b 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1781,6 +1781,8 @@ class Linker { * escape), or false for no accesskey attribute */ public function accesskey( $name ) { + wfProfileIn( __METHOD__ ); + $accesskey = wfMsg( "accesskey-$name" ); # FIXME: Per standard MW behavior, a value of '-' means to suppress the @@ -1791,6 +1793,8 @@ class Linker { && !wfEmptyMsg( "accesskey-$name", $accesskey ) ) { return $accesskey; } + + wfProfileOut( __METHOD__ ); return false; } }