Also updated the release notes.
Bug: T199657
Change-Id: I027effbc7bd797ee241281ddd57334a5dc5c8a57
override this methods.
* SearchEngine::replacePrefixes( $query ) should no longer be called prior
to running searchText/searchTitle.
+* (T199657) Messages for $wgFilterLogTypes labels should be no longer be in the
+ 'log-show-hide-[type]' format. Instead use 'logeventslist-[type]-log'.
=== Other changes in 1.32 ===
* (T198811) The following tables have had their UNIQUE indexes turned into
$options = [];
$default = [];
foreach ( $filter as $type => $val ) {
- $options[ $this->msg( "logeventslist-{$type}-log" )->text() ] = $type;
+ $message = $this->msg( "logeventslist-{$type}-log" );
+ // FIXME: Remove this check once T199657 is fully resolved.
+ if ( !$message->exists() ) {
+ $message = $this->msg( "log-show-hide-{$type}" )->params( $this->msg( 'show' )->text() );
+ }
+ $options[ $message->text() ] = $type;
if ( $val === 0 ) {
$default[] = $type;