Page MenuHomePhabricator

Messages with names starting with a capital letter appear in unexpected places in Special:AllMessages
Closed, ResolvedPublic


The third message on is wikiLove.js, between the numbers and the messages starting with a. On the second and probably all other pages ( it is the first message. The same happens in de.wikipedia and probably other projects.

This has obviously something to do with the fact that in WikiLove/i18n/en.json (and the other localization files) WikiLove.js is defined with a capital letter.

Either at some place in core the first letter of a message key has to be transformed into lowercase, or (possible easier) that message should just be changed to wikiLove.js

Event Timeline

Schnark created this task.Jan 8 2015, 8:30 AM
Schnark raised the priority of this task from to Needs Triage.
Schnark updated the task description. (Show Details)
Schnark added a subscriber: Schnark.
Aklapper triaged this task as Lowest priority.Jan 8 2015, 1:43 PM

This seems like a core issue (specifically, the weird way WikiLove.js is at the top of the second and all later pages).

However, we can work around it by changing the name to wikiLove.js (due to the auto-capitalization of the initial character, MediaWiki:wikiLove.js and MediaWiki:WikiLove.js are the same anyway, just as and are the same).

Looking at this behavior seems to be introduced with the conversion to JSON, (which uses MW 1.22.6) is correct, while all wikis with 1.23 and newer show the described bug.

gerritbot added a subscriber: gerritbot.

Change 186584 had a related patch set uploaded (by Umherirrender):
Special:AllMessages: Ignore case of first letter when sorting


Change 186584 merged by jenkins-bot:
Special:AllMessages: Ignore case of first letter when sorting

Umherirrender closed this task as Resolved.Jan 28 2015, 8:54 PM