From 01a2998b950fc6c609194e144cba9caec559d749 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 11 Feb 2006 11:41:46 +0000 Subject: [PATCH] preload hook --- includes/MessageCache.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/MessageCache.php b/includes/MessageCache.php index c6c56abd57..ea7ae52e09 100755 --- a/includes/MessageCache.php +++ b/includes/MessageCache.php @@ -428,6 +428,9 @@ class MessageCache { } } + # Call message Hooks, in case they are defined + wfRunHooks('MessagesPreLoad',array($title,&$message)); + # If it wasn't in the cache, load each message from the DB individually $revision = Revision::newFromTitle( Title::makeTitle( NS_MEDIAWIKI, $title ) ); if( $revision ) { -- 2.20.1