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