Index: trunk/phase3/languages/Language.php |
— | — | @@ -1945,7 +1945,9 @@ |
1946 | 1946 | function getMagic( $mw ) { |
1947 | 1947 | if ( !$this->mMagicHookDone ) { |
1948 | 1948 | $this->mMagicHookDone = true; |
| 1949 | + wfProfileIn( 'LanguageGetMagic' ); |
1949 | 1950 | wfRunHooks( 'LanguageGetMagic', array( &$this->mMagicExtensions, $this->getCode() ) ); |
| 1951 | + wfProfileOut( 'LanguageGetMagic' ); |
1950 | 1952 | } |
1951 | 1953 | if ( isset( $this->mMagicExtensions[$mw->mId] ) ) { |
1952 | 1954 | $rawEntry = $this->mMagicExtensions[$mw->mId]; |