Jump to content

Template talk:Pagelang

Add topic
From mediawiki.org
Latest comment: 3 years ago by Kaganer in topic Purpose

Purpose

[edit]

What does this template do that is different from the magic word {{PAGELANGUAGE}}? Jon Harald Søby (talk) 14:38, 30 January 2022 (UTC)Reply

@Jon Harald Søby: Difference: {{PAGELANGUAGE}} for current page, {{Pagelang }} - for the another page.
But "Pagelang2" and {{Translatable }} may be excluded.
Also, citation from "Pagelang2" code:
"This template returns the language of the current page. It’s similar to {{PAGELANGUAGE}}, but it works on manually translated pages as well ({{PAGELANGUAGE}} always returns ‘en’ there). It’s also similar to {{pagelang}}, but it returns ‘en’ on non-translated pages (i.e. originals of translated pages), while {{pagelang}} returns nothing on such pages."
Currently, "Pagelang2" template unused in the MediaWiki.org and deleted now. Situation with the {{Pagelang }} is more difficult (in progress). Kaganer (talk) 16:03, 30 January 2022 (UTC)Reply