dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1a41a
)
Merge live hack from wmf-deployment r53208: profiling for LanguageGetMagic hook call
author
Brion Vibber
<brion@users.mediawiki.org>
Mon, 14 Sep 2009 21:30:01 +0000
(21:30 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Mon, 14 Sep 2009 21:30:01 +0000
(21:30 +0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
3386a44
..
32f9e8a
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-1945,7
+1945,9
@@
class Language {
function getMagic( $mw ) {
if ( !$this->mMagicHookDone ) {
$this->mMagicHookDone = true;
+ wfProfileIn( 'LanguageGetMagic' );
wfRunHooks( 'LanguageGetMagic', array( &$this->mMagicExtensions, $this->getCode() ) );
+ wfProfileOut( 'LanguageGetMagic' );
}
if ( isset( $this->mMagicExtensions[$mw->mId] ) ) {
$rawEntry = $this->mMagicExtensions[$mw->mId];