English Wikipedia @ Freddythechick:WikiProject Medicine/Translation task force/Integration guides/Polish

Medical condition

This is the current revision of this page, as edited by imported>Gonnym at 10:01, 1 July 2024 (→‎Polish). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{Wikipedia:WikiProject Medicine/Translation task force/TTF tabs}} The Polish Wikipedia is a bit special to integrate articles to. Previous issues with translated articles have made the Polish Wikipedia change templates to make translating and replacing articles harder. A number of tools help out fixing the templates etc., but it is important to remember the reason for this difficulty. Only by treading carefully do we ensure that our translated content is integrated and kept live. There is no point in placing our content on the main space only for it to be removed.

Formatting

Translations for the Polish Wikipedia require a number of additional steps not required on other Wikis before they can be fully integrated.

Infobox

The {{Infobox disease}} template on the Polish wikipedia is {{Choroba infobox}} and there is no redirect present due to policy on the Polish Wiki. This means it has to be changed manually. Additionally the entries have Polish names, and some have different dependencies.

English

WikiProject Medicine/Translation task force/Integration guides/Polish

<syntaxhighlight lang="wikitext">

{{subst:PAGENAME}}

</syntaxhighlight>

Example
Syphilis
 
Electron micrograph of Treponema pallidum

<syntaxhighlight lang="wikitext">

Syphilis
 
Electron micrograph of Treponema pallidum

</syntaxhighlight>

Polish

The Polish template can be found at pl:Szablon:Choroba infobox (contains full documnation in Polish), and uses the following formatting:

Note, name -> nazwa, image -> grafika, caption -> podpis grafiki

<syntaxhighlight lang="wikitext">

WikiProject Medicine/Translation task force/Integration guides/Polish

</syntaxhighlight>

Additional ICD10 codes

Additional ICD10 codes are added through the format:

Note all entries must also have a nazwa or name field, even if it left without entry or empty.

<syntaxhighlight lang="wikitext">

| 2. ICD10         =
| 2. ICD10 nazwa   =
| #. ICD10         =
| #. ICD10 nazwa   =

</syntaxhighlight>

Filling out all the fields

To fix the issues when importing from the English Wiki (which does not require fields for DSM or latin name it is possible to append the infobox replacing: <syntaxhighlight lang="wikitext"> {{Choroba infobox </syntaxhighlight> with <syntaxhighlight lang="wikitext"> {{Choroba infobox

|nazwa =  |nazwa łacińska =  |grafika =  |podpis grafiki =  |ICD10 =  |ICD10 nazwa =  |DSM nazwa =  |DSM nazwa łacińska =  |DSM =  |ICDO =  |DiseasesDB =  |OMIM =  |MedlinePlus =  |MeshID =  |MeshYear = 2013

</syntaxhighlight> This trick can be used possible even if a field is specified with an entry below, as the infobox module only reads the last supplied entry. Note that the MeshYear entry is here set to 2013, (something that should be applicable to all our articles as of June, 2014). If the MeshYear entry is left empty an angry red message appears in the infobox.

Citations

The Polish Wiki uses different citation templates than the English Wikipedia due to lengthy policy discussion on the Polish Wiki. Additionally the Polish Wiki has a policy against template-redirects (so do not attempt to create them). Due to this the citation templates need to be converted. This can be done manually, replacing every {{cite *}} template with the corresponding Polish one using the Polish Convert toolAlpha 0.0.4(source code not yet released, need to look up specifics of licencing, treat this iteration as PD) . A bot has been commissioned, and is in early alpha testing, and the first articles have been prepared. This bot will be released during the summer 2014. If it not released yet or does not function as intended please contact me.

{{cite book

{{cite news

{{cite web

{{cite journal

Changed to


Integration

{{Wikipedia:WikiProject Medicine/Translation task force/Integration guides/General medical integration}}

Tools

  • [1] Tool for converting templates, does not work on all templates. For example does not work on infobox disease templates.
  • [2] Bot to quickly replace all citation templates in a single article (currently early alpha, no documentation)