&$tags: The list of tags.
'LoadAllMessages': called by MessageCache::loadAllMessages() to load extensions messages
+&$this: The MessageCache object
'LoadExtensionSchemaUpdates': called by maintenance/updaters.inc when upgrading database schema
# Some extensions will load their messages when you load their class file
wfLoadAllExtensions();
# Others will respond to this hook
- wfRunHooks( 'LoadAllMessages' );
+ wfRunHooks( 'LoadAllMessages', array( $this ) );
# Some register their messages in $wgExtensionMessagesFiles
foreach ( $wgExtensionMessagesFiles as $name => $file ) {
wfLoadExtensionMessages( $name, $lang );