r12999 MediaWiki - Code Review archive

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

Diff [purge]

Index: trunk/phase3/includes/MessageCache.php
@@ -428,6 +428,9 @@
429429 }
430430 }
431431
 432+ # Call message Hooks, in case they are defined
 433+ wfRunHooks('MessagesPreLoad',array($title,&$message));
 434+
432435 # If it wasn't in the cache, load each message from the DB individually
433436 $revision = Revision::newFromTitle( Title::makeTitle( NS_MEDIAWIKI, $title ) );
434437 if( $revision ) {

Status & tagging log