Last modified: 2011-05-16 23:22:19 UTC
Currently, the content that's written to $wgReadOnlyFile (in http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/specials/SpecialLockdb.php?view=markup&pathrev=88189) is mixed, something in English and something in the wiki language. The reason may be any language and can't be controlled by the MediaWiki software, but the following text is partially in English, but the date is in the wiki language, which can give crazy results. Please either completely localize the file or make it all in English. Thanks.
What does this have to do with MediaWiki?
I think he's referring to: 125 fwrite( $fp, "\n<p>(by " . $wgUser->getName() . " at " . 126 $wgContLang->timeanddate( wfTimestampNow() ) . ")</p>\n" ); Which writes who locked the db to the lock file, after its written the reason for the locking of the db. Which should probably be some message instead, as otherwise you could have the "by" mixing with non-english text. Probably would look really wrong in RTL lang.
Fixed in 88278. Who locked the database and when will be displayed in the content language, as reason, locker and timestamp are saved in $wgReadOnlyFile.