Template talk:Gns

From Meta, a Wikimedia project coordination wiki

Template:Gns - generic namespace name, useful for linking to the corresponding page on another project, e.g. de:Template talk:Gns.

Not really, all it does is to translate ns:4 to "Project" and ns:5 to "Project talk". You'd need this in links, but then you can use "Project" directly. e.g. Project:Babel is the same page as Meta:Babel. Maybe I'll mark this as "looks useless" later. -- Omniplex (w:t) 01:11, 31 May 2006 (UTC)[reply]
More issues, how is template:P (edittalklinkshistory) for the main namespace supposed to work? The set of P-templates is also apparently incomplete, no Template:PImage, no Template:PMediaWiki, no Template:PCategory, I didn't check the Pwhatever_talk variants. Is that a solution without problem, or are new magic words like TALKPSPACE and colon function NS better? -- Omniplex (w:t) 01:27, 31 May 2006 (UTC)[reply]
The purpose is to link from a page on the project that contains the template to the corresponding page in another project. For this purpose it should contain e.g. "{{ns:1}}=Talk" on projects where the local name is different.
P (no longer needed) works, because the empty string is a valid parameter name.--Patrick 07:36, 31 May 2006 (UTC)[reply]
the empty string is a valid parameter name - oops, that would match my first idea in the template:Gns (edittalklinkshistory) edit history, this template is educational (= I didn't know that). -- Omniplex (w:t) 08:17, 31 May 2006 (UTC)[reply]
Did you fix it in the right direction? 4+5 should be okay. What about 12+13 Help and Help talk, on a Wiki where "Help" is say "Hilfe", would "Help" also work as some kind of generic name (same idea as "project" for 4)? Assuming the template is designed for portability, for English projects it should be okay as is.
Okay, I tested it on de:WP:SP: Help talk:Category talk is "Hilfe Diskussion:Kategorie" there. Help talk:Kategorie is the same page. So in theory you could say {{ns:12}}=Help, etc. to get portable generic names for all (?) standard namespaces. In practice it's probably unnecessary, either you stay within the same language, then generic names are only relevant for 4+5, or you jump to another language, then a generic Help:Kategorie instead of Hilfe:Kategorie won't help to get Help:Category. -- Omniplex (w:t) 08:40, 31 May 2006 (UTC)[reply]
It is useful if pagenames after the prefix are the same, such as sometimes for templates, see e.g. fr:Catégorie:Modèle calculant une date basée sur l'heure actuelle.--Patrick 10:34, 31 May 2006 (UTC)[reply]