Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Wikipedia:WikiProject Medicine/Translation task force/Integration guides/Polish

From Wikipedia, the free encyclopedia





Translation Task Force

borderless
borderless

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

[edit]

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

Infobox

[edit]

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

[edit]
WikiProject Medicine/Translation task force/Integration guides/Polish
{{Infobox disease
| name            = {{subst:PAGENAME}}
| image           = 
| alt             = 
| caption         = 
| ICDO            = 
| OMIM            = 
| MeSH            = 
| GeneReviewsNBK  = 
| GeneReviewsName = 
}}
Example
Syphilis
Electron micrograph of Treponema pallidum
{{Infobox disease
 | name           = Syphilis
 | image          = Treponema pallidum.jpg
 | caption        = Electron micrograph of ''Treponema pallidum''
 | ICDO           =
 | OMIM           =
}}

Polish

[edit]

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
{{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           = 
}}
Additional ICD10 codes
[edit]

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.
 | 2. ICD10         =
 | 2. ICD10 nazwa   =
 | #. ICD10         =
 | #. ICD10 nazwa   =
Filling out all the fields
[edit]

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:

{{Choroba infobox

with

{{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

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

[edit]

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

[edit]

Work in progress:

[edit]

During translation Wikilinks are translated as normal content, which may create a number of red links. These need to be replaced with either proper links or removed, depending on community guidelines. Often smaller Wikipedias allow red links , as they can give an idea of where content can be expanded, while larger Wikis don't.

Larger Wikipedias often have content available even if you see red links - and normally the community provides guidelines on which tempus and plural form to use. At other times wikilinks may be found by going to the corresponding English article and looking in the left hand side for inter-wiki links. We are hoping to be able to implement the Wikidata platform in the future to ensure translation is smoother.

Tools

[edit]
  • [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)