r12998 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r12997‎ | r12998 | r12999 >
Date:11:38, 11 February 2006
Author:timstarling
Status:old
Tags:
Comment:
preload hook
Modified paths:
  • /branches/REL1_5/phase3/includes/MessageCache.php (modified) (history)

Diff [purge]

Index: branches/REL1_5/phase3/includes/MessageCache.php
@@ -306,6 +306,9 @@
307307 }
308308 }
309309
 310+ # Call message Hooks, in case they are defined
 311+ wfRunHooks('MessagesPreLoad',array($title,&$message));
 312+
310313 # If it wasn't in the cache, load each message from the DB individually
311314 if ( !$message ) {
312315 $revision = Revision::newFromTitle( Title::makeTitle( NS_MEDIAWIKI, $title ) );

Status & tagging log