Last modified: 2012-09-17 03:53:57 UTC
A. A user on translatewiki.net has asked if GENDER is supported in message[1]. I have some some additional questions: B. What's the link text of the diff link $3? A page title, so for example "User_talk:Siebrand"? C. What does "formatted" mean in the description of $2? [1] 'notification-edit-talk-page' => '$2 edited your talk page $3' Documented as: Format for displaying notifications of a user talk page being edited * $1 is the username of the person who edited, plain text. * $2 is the username of the person who edited, formatted. * $3 is a diff link, formatted.
Brion, Andrew? Are you both not involved in Echo anymore? Adding Terry on CC.
(In reply to comment #0) > A. A user on translatewiki.net has asked if GENDER is supported in message[1]. > > [1] 'notification-edit-talk-page' => '$2 edited your talk page $3' Yes. > B. What's the link text of the diff link $3? A page title, so for example > "User_talk:Siebrand"? The 'diff' message in brackets, like this: '(' . wfMessage( 'diff' )->escaped() . ')' (from formatters/EditFormatter.php) > C. What does "formatted" mean in the description of $2? It's the HTML link to the user's page made with Linker::userLink. Take a look at function formatUser in formatters/NotificationFormatter.php.
Nemo_bis wants me to document this, reopening...
'(' . wfMessage( 'diff' )->escaped() . ')' is an i18n bug that should be reported and tracked separately.
(In reply to comment #4) > '(' . wfMessage( 'diff' )->escaped() . ')' is an i18n bug that should be > reported and tracked separately. Could probably be solved by changing $3 to ($3) in the message...
Gerrit change #22283
Merged. You should probably open a separate bug for that hardcoded brackets problem.