* (bug 6314) Add user tool links on page histories
* Fix display of file-type icons in galleries when $wgIgnoreImageErrors is off
* (bug 6438) Update to Indonesian translation (id) #23
-* Adding the hooks "AddMagicWordsXX" to allow addition of localized magic words.
+* Adding the language code parameter to the hook "LanguageGetMagic", to allow
+ localizble extensions magic words.
== Compatibility ==
function getMagic( &$mw ) {
$raw = $this->getMagicWords();
- wfRunHooks( 'LanguageGetMagic', array( &$raw ) );
+ wfRunHooks( 'LanguageGetMagic', array( &$raw, $this->getCode() ) );
if( !isset( $raw[$mw->mId] ) ) {
# Fall back to English if local list is incomplete