Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -120,7 +120,12 @@ |
121 | 121 | ); |
122 | 122 | wfRunHooks( 'LogPageLogName', array( &$typeText ) ); |
123 | 123 | |
124 | | - return str_replace( '_', ' ', wfMsg( $typeText[$type] ) ); |
| 124 | + if( isset( $typeText[$type] ) ) { |
| 125 | + return str_replace( '_', ' ', wfMsg( $typeText[$type] ) ); |
| 126 | + } else { |
| 127 | + // Bogus log types? Perhaps an extension was removed. |
| 128 | + return $type; |
| 129 | + } |
125 | 130 | } |
126 | 131 | |
127 | 132 | /** |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -613,6 +613,7 @@ |
614 | 614 | * Allow cookies to be shared between multiple wikis with a shared user database |
615 | 615 | * Blocking some Unicode whitespace characters in usernames. Should check |
616 | 616 | if some or all should be blocked from all page titles. |
| 617 | +* Unknown log types no longer throw notices everywhere in RecentChanges |
617 | 618 | |
618 | 619 | |
619 | 620 | === Caveats === |