Last modified: 2011-10-12 01:16:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6108, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4108 - Some items in Special:Allmessages are marked as different from default after new install.
Some items in Special:Allmessages are marked as different from default after ...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.5.x
All All
: Low trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 4336
  Show dependency treegraph
 
Reported: 2005-11-29 10:49 UTC by Mark Clements (HappyDog)
Modified: 2011-10-12 01:16 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark Clements (HappyDog) 2005-11-29 10:49:06 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.
Comment 1 Brion Vibber 2005-11-29 18:16:28 UTC
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.
Comment 2 Antoine "hashar" Musso (WMF) 2005-12-11 18:19:39 UTC
Cleaned language.php a bit.
Comment 3 Antoine "hashar" Musso (WMF) 2005-12-11 18:43:36 UTC
Removed in HEAD all trailing \n from language files. Would be in 1.6.
Comment 4 Brion Vibber 2005-12-21 23:08:00 UTC
Still some literal newlines.
Comment 5 Brion Vibber 2005-12-21 23:28:33 UTC
Removed trailing newlines in HEAD.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links