Last modified: 2011-10-12 01:16:47 UTC
Having installed a new v1.5 wiki, I found that over 30 messages on Special:Allmessages were highlighted in pink/green. The two versions of these messages appear identical, but are nonetheless being marked as different. As well as several hard-to-check messages (e.g. Monobook.js) this applies to various short messages, such as alreadyloggedin, historywarning and ip_range_invalid which are short enough to easily see that the two versions of the message are the same. Expected behaviour: No messages would be highlighted, as no text has been changed from the default.
Looks like some of the messages have extra whitespace on the end in the language files; in wiki pages this gets trimmed... 'alreadyloggedin' => "<strong>User $1, you are already logged in!</strong><br />\n", Appropriate fix would be to remove the trailing whitespace in the language files.
Cleaned language.php a bit.
Removed in HEAD all trailing \n from language files. Would be in 1.6.
Still some literal newlines.
Removed trailing newlines in HEAD.