Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
[lhc/web/wiklou.git] / includes / MessageCache.php
index 2236bdd..185b617 100644 (file)
@@ -407,6 +407,8 @@ class MessageCache {
                $sidebarKey = wfMemcKey( 'sidebar', $code );
                $parserMemc->delete( $sidebarKey );
 
+               wfRunHooks( "MessageCacheReplace", array( $title, $text ) );
+
                wfProfileOut( __METHOD__ );
        }