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