Template talk:Category handler: Difference between revisions

From Doc-Wiki
Latest comment: 8 September 2024 by Od1n in topic Genderified namespaces
Jump to navigation Jump to search
No edit summary
 
m 1 revision imported
 
(No difference)

Latest revision as of 14:36, 1 January 2026

User:MiszaBot/configTemplate:Central Template:Permprot Template:Copied Template:Archives


Protected edit request on 19 March 2020

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)Reply

 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)Reply

Protected edit request on 17 April 2020

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)Reply

Done. Jo-Jo Eumerus (talk) 08:48, 18 April 2020 (UTC)Reply

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.

Od1n (talk) 12:12, 8 September 2024 (UTC)Reply