Template talk:Category handler
|
|
This page has archives. Sections older than 180 days may be automatically archived by Lowercase sigmabot III when more than 3 sections are present. |
Protected edit request on 19 March 2020
She is Trinidad and Tobago-born rapper, African American categories need to be remove as there is a difference. ADOS MMXX (talk) 21:13, 19 March 2020 (UTC)
- Not done: this is the talk page for discussing improvements to the template
{{Category handler}}
. Please make your request at the talk page for the article concerned. Izno (talk) 00:10, 20 March 2020 (UTC)
Protected edit request on 17 April 2020
Wikipedia:Template messages was renamed to Wikipedia;Template index. Update the entry in the blacklist accordingly. * Pppery * it has begun... 19:34, 17 April 2020 (UTC)
Genderified namespaces
About this (in Module:Category handler/shared):
-- We don't use title.nsText for the namespace name because it adds
-- underscores.
While tweaking this code (by the way, see T369784), I just discovered another difference:
In frwiki, for the "User:" namespace, we have two different words: "Utilisateur:" for male (or unknown) users and "Utilisatrice:" for female users. Same goes for the "User talk:" namespace.
Now, assuming titleObj
represents a user page of a female user:
mw.site.namespaces[titleObj.namespace].name
-- always gives: "Utilisateur" (gender is not applied)
titleObj.nsText
-- gives: "Utilisatrice" (gender is applied)
By the way, from a technical point of view, this namespace genderification is a pain in the ass. On a regular basis.