Template talk:Pagelang
Add topicAppearance
Latest comment: 3 years ago by Kaganer in topic Purpose
| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
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)
- @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)