* Allow an $error message to be passed to ArticleDelete hook
* Allow extensions to modify the user creation form by calling addInputItem();
* Add meta generator tag to HTML output
-* Two new hooks, ExtendJSGlobalVars and wfMessageCacheReplace added
* MediawikiPerformAction hook is now passed the Mediawiki object
* Added blank special page Special:BlankPage for benchmarking, etc.
* (bug 13862) Specialpages now has a horizontal TOC if there's three or more
$subject: subject of the mail
$text: text of the mail
-'ExtendJSGlobalVars': called right before Skin::makeVariablesScript is executed
-&$vars: variable (or multiple variables) to be added into the output
- of Skin::makeVariablesScript
-
'FetchChangesList': When fetching the ChangesList derivative for a particular user
&$user: User the list is being fetched for
&$skin: Skin object to be used with the list
'wgQueryPages': called when initialising $wgQueryPages, use this to add new query pages to be updated with maintenance/updateSpecialPages.php
$query: $wgQueryPages itself
-'wfMessageCacheReplace': called after sidebar memcached key has been deleted, use this to replace core messages by using an extension
-$title: title of the MediaWiki: message page
-$text: text of the MediaWiki: message page
-
More hooks might be available but undocumented, you can execute
./maintenance/findhooks.php to find hidden one.
}
$this->unlock();
$parserMemc->delete(wfMemcKey('sidebar'));
- wfRunHooks( 'wfMessageCacheReplace', array( $title, $text ) );
wfProfileOut( __METHOD__ );
}
$vars['wgAjaxWatch'] = $msgs;
}
- wfRunHooks('ExtendJSGlobalVars', array(&$vars));
-
return self::makeVariablesScript( $vars );
}