mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-13 17:57:21 +00:00
eaa1fea890
This affects primarily the message "notification-header-user-rights-add-only" which is very priminently seen by every new editor that made their first few edits and gets promoted to the next user group a few days later. Turns out the code was just incomplete. All the information about the user and their gender is already there, it was just not forwarded correctly. Notice there are two messages: * "group-…" messages don't have gender support. This is the (ideally) gender neutral name of the group. Meant to be used as e.g. section heading for a list of users. * "group-…-member" is the same with gender support. To be used in all contexts that are about a single, specific user with known gender. Which is exactly what's happening here. Turns out we can even use a neat convenience function from the Language class that does exactly what we need. I can't tell why but the array_values is apparently critical. Originally added via I49b5fe5. It can't hurt so I keep it. Bug: T368249 Change-Id: I53c028375d77c93f399538fd38aa8f8af30934b0 |
||
---|---|---|
.. | ||
Api | ||
Cache | ||
Controller | ||
Formatters | ||
Gateway | ||
Hooks | ||
Iterator | ||
Jobs | ||
Mapper | ||
Model | ||
OOUI | ||
Push | ||
Special | ||
ArrayList.php | ||
AttributeManager.php | ||
Bundleable.php | ||
Bundler.php | ||
CachedList.php | ||
ConfigNames.php | ||
ContainmentList.php | ||
ContainmentSet.php | ||
DataOutputFormatter.php | ||
DbFactory.php | ||
DeferredMarkAsDeletedUpdate.php | ||
DiffGroup.php | ||
DiffParser.php | ||
DiscussionParser.php | ||
EmailBatch.php | ||
EmailFormat.php | ||
EmailFrequency.php | ||
ForeignNotifications.php | ||
ForeignWikiRequest.php | ||
Hooks.php | ||
Notifier.php | ||
NotifUser.php | ||
OnWikiList.php | ||
ResourceLoaderEchoImageModule.php | ||
SchemaHooks.php | ||
SeenTime.php | ||
Services.php | ||
SummaryParser.php | ||
SuppressionRowUpdateGenerator.php | ||
UnreadWikis.php | ||
UserLocator.php | ||
UserMergeHooks.php |