Template talk:Category handler
Add topicUser:MiszaBot/configTemplate:Central Template:Permprot Template:Copied Template:Archives
Protected edit request on 19 March 2020
[edit]Template:Edit fully-protected 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)
- File:Red information icon with gradient background.svg 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
[edit]Template:Edit fully-protected 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)
- Done. Jo-Jo Eumerus (talk) 08:48, 18 April 2020 (UTC)
Genderified namespaces
[edit]About this (in Module:Category handler/shared):
<syntaxhighlight lang="lua"> -- We don't use title.nsText for the namespace name because it adds -- underscores. </syntaxhighlight>
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:
<syntaxhighlight lang="lua"> mw.site.namespaces[titleObj.namespace].name -- always gives: "Utilisateur" (gender is not applied)
titleObj.nsText -- gives: "Utilisatrice" (gender is applied) </syntaxhighlight>
By the way, from a technical point of view, this namespace genderification is a pain in the ass. On a regular basis.