Last modified: 2011-12-27 13:15:11 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 T35367, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33367 - CS needs language namespaces adding
CS needs language namespaces adding
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Niklas Laxström
: i18n, shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-24 13:03 UTC by Peter Bena
Modified: 2011-12-27 13:15 UTC (History)
3 users (show)

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


Attachments

Description Peter Bena 2011-12-24 13:03:06 UTC
Althought InitialiseSettings contains information for proper name of User namespace prefix; it doesn't work, only male gender is displayed for all users. This is affecting cs.wikipedia and maybe some other sites (as far it was reported to me).
Comment 1 Sam Reed (reedy) 2011-12-24 15:27:22 UTC
I'm guessing it's because there are no gendered NSs setup in MessagesCs.php, and likely no relevant extra site config (if necessary)

ie for Pt-br

$namespaceGenderAliases = array(
	NS_USER => array( 'male' => 'Usuário', 'female' => 'Usuária' ),
	NS_USER_TALK => array( 'male' => 'Usuário_Discussão', 'female' => 'Usuária_Discussão' ),
);
Comment 2 Niklas Laxström 2011-12-24 15:32:42 UTC
Indeed. What you see in InitializeSettings.php is namespace aliases. Gender feature needs explicit application. Can you provide the forms in above format for mediawiki (and for projects if customisation needed)?
Comment 3 Peter Bena 2011-12-24 15:49:59 UTC
$namespaceGenderAliases = array(
    NS_USER => array( 'male' => 'Wikipedista', 'female' => 'Wikipedistka' ),
    NS_USER_TALK => array( 'male' => 'Diskuse s wikipedistou', 'female' =>
'Diskuse s wikipedistkou' ),
);
Comment 4 Peter Bena 2011-12-25 11:42:20 UTC
$namespaceGenderAliases = array(
    NS_USER => array( 'male' => 'Uživatel', 'female' => 'Uživatelka' ),
    NS_USER_TALK => array( 'male' => 'Diskuse s uživatelem', 'female' =>
'Diskuse s uživatelkou' ),
);

for User (general use for mediawiki on other projects)
Comment 5 Niklas Laxström 2011-12-25 12:38:44 UTC
Mw part in r107270.
Comment 6 p858snake 2011-12-25 22:30:31 UTC
(In reply to comment #3)
> $namespaceGenderAliases = array(
>     NS_USER => array( 'male' => 'Wikipedista', 'female' => 'Wikipedistka' ),
>     NS_USER_TALK => array( 'male' => 'Diskuse s wikipedistou', 'female' =>
> 'Diskuse s wikipedistkou' ),
> );

+shell
Comment 7 Niklas Laxström 2011-12-27 13:15:11 UTC
Enabled for cswiki.

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


Navigation
Links