https://bugzilla.wikimedia.org/show_bug.cgi?id=53132

Helder <mybugs.m...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Notifications do not work   |Notifications are not sent
                   |for male users              |when a user mentions
                   |                            |another if the signature of
                   |                            |the sender contains
                   |                            |localized namespaces

--- Comment #4 from Helder <mybugs.m...@gmail.com> ---
I made a more comprehensive set of tests to find out under which circumstances
the I'm able to send notifications by mentioning another user:

* "No gender" makes [[Special:MyPage]] to show the NS alias "Usuário(a)" and:
** No custom signature: works (this defaults to a signature using "Usuário(a)")
** Signature using "[[User:": fails
** Signature using "[[Usuário(a):": works
** Signature using "[[Usuário:": fails
** Signature using "[[Usuária:": fails
** Signature using "[[Utilizador:": fails

* "Gender = male" makes [[Special:MyPage]] to show the NS alias "Usuário" and:
** No custom signature: fails
** Signature using "[[User:": fails
** Signature using "[[Usuário(a):": works
** Signature using "[[Usuário:": fails
** Signature using "[[Usuária:": fails
** Signature using "[[Utilizador:": fails

* "Gender = female" makes [[Special:MyPage]] to show the NS alias "Usuária"
and:
** No custom signature: fails
** Signature using "[[User:": fails
** Signature using "[[Usuário(a):": works
** Signature using "[[Usuário:": fails
** Signature using "[[Usuária:": fails
** Signature using "[[Utilizador:": fails


FYI: the default file languages/messages/MessagesPt.php[1] has:
---------------------------------------------------------
$namespaceNames = array(
    ...
    NS_USER             => 'Utilizador',
    ...
);

$namespaceAliases = array(
    'Usuário'           => NS_USER,
    ...
);

$namespaceGenderAliases = array(
    NS_USER => array( 'male' => 'Utilizador', 'female' => 'Utilizadora' ),
    ...
);
---------------------------------------------------------

and currently the file wmf-config/InitialiseSettings.php[2] has the following:
---------------------------------------------------------
'wgNamespaceAliases' => array(
    ...
    '+ptwiki' => array(
        'Utilizador' => NS_USER,
        ...
    )
    ...
)

'wgExtraNamespaces' => array(
    ...
    'ptwiki' => array(
        NS_USER => 'Usuário(a)'
        ...
    )
    ...
)

'wgExtraGenderNamespaces' => array(
    'default' => array(),
    ...
    'ptwiki' => array(
        NS_USER => array( 'male' => 'Usuário', 'female' => 'Usuária' ),
        ...
    ),
    ...
)
---------------------------------------------------------

[1]
https://github.com/wikimedia/mediawiki-core/blob/master/languages/messages/MessagesPt.php#L66
[2]
https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InitialiseSettings.php

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to