This has been driving me nuts when disabling extensions with custom log types.
* Allow cookies to be shared between multiple wikis with a shared user database
* Blocking some Unicode whitespace characters in usernames. Should check
if some or all should be blocked from all page titles.
+* Unknown log types no longer throw notices everywhere in RecentChanges
=== Caveats ===
);
wfRunHooks( 'LogPageLogName', array( &$typeText ) );
- return str_replace( '_', ' ', wfMsg( $typeText[$type] ) );
+ if( isset( $typeText[$type] ) ) {
+ return str_replace( '_', ' ', wfMsg( $typeText[$type] ) );
+ } else {
+ // Bogus log types? Perhaps an extension was removed.
+ return $type;
+ }
}
/**