Template talk:PDT

From Wikidata
Jump to navigation Jump to search

Info non-talk.svg It is requested that an edit or modification be made to this protected page.

The page has been added to Category:Wikidata protected edit requests.

Administrators: Please apply <nowiki> or {{Tl}} to the tag after the request is fulfilled.

This template is not fully compatible with the pages localized with the translation extension. In these pages localized name for target page should be displayed in the "content language", but not in the "user language". See as example Wikidata:Glossary.

If relevant translation is not exist, then by default may be two alternate solution:

  1. usinf {{int:Lang}} for displayed pagename in user interface firstly, if nothing - in English
  2. English version in any cases.

My choice - second.

For using in other pages (discussion portals with translatable headers, as Wikidata:Requests for deletions etc.) may be kept current mode.

Proposed code is Template:PDT/sandbox.

Examples for use cases:

  1. Default case 1 (untranslatable page linked to translatable page; no changes):
    • {{PDT|Help:Aliases}} >> Help:Aliases
    • {{PDT/sandbox|Help:Aliases}} >> Help:Aliases
  2. Default case 2 (untranslatable page linked to untranslatable page; no changes):
    • {{PDT|Wikidata:Project chat}} >> Wikidata:Project chat
    • {{PDT/sandbox|Wikidata:Project chat}} >> Wikidata:Project chat
  3. Case 1: translatable page linked to translatable page - see in Template:PDT/sandbox/ru
  4. Case 2: translatable page linked to untranslatable page - is these same, that "Default case 2" (see two links above)

--Kaganer (talk) 18:38, 12 January 2018 (UTC)