Page MenuHomePhabricator

Some items in Special:Allmessages are marked as different from default after new install.
Closed, ResolvedPublic

Description

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.


Version: 1.5.x
Severity: trivial

Details

Reference
bz4108

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:58 PM
bzimport set Reference to bz4108.
bzimport added a subscriber: Unknown Object (MLST).

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.

Removed in HEAD all trailing \n from language files. Would be in 1.6.

Removed trailing newlines in HEAD.