* (bug 23078) "All public logs" option on Special:Log is now always the first
item
* (bug 16817) Group names in user rights log are now singular and in lowercase
+* Special:Preferences no longer crashes if the wiki default date formatting
+ style is not valid for the user's interface language
=== API changes in 1.17 ===
* (bug 22738) Allow filtering by action type on query=logevent
$dateopts[] = 'default'; // Make sure default is always valid
// Bug 19237
}
+ // KLUGE: site default might not be valid for user language
+ global $wgDefaultUserOptions;
+ if ( !in_array( $wgDefaultUserOptions['date'], $dateopts ) ) {
+ $wgDefaultUserOptions['date'] = 'default';
+ }
$idCnt = 0;
$epoch = wfTimestampNow();