Template talk:Category handler
To help centralise discussions and keep related topics together, Module talk:Category handler, Template talk:Category handler/numbered and Template talk:Category handler/blacklist redirect here. |
Template:Category handler is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit protected}} to notify an administrator to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
Text has been copied to or from this page; see the list below. The source pages now serve to provide attribution for the content in the destination pages and must not be deleted as long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below.
|
|
|
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
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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
[edit]This edit request to Module:Category handler/blacklist has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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
[edit]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.