Changes between Version 14 and Version 15 of TranslatedPagesMacro


Ignore:
Timestamp:
Jun 22, 2011 3:20:12 PM (3 years ago)
Author:
stoecker
Comment:

Update example

Legend:

Unmodified
Added
Removed
Modified
  • TranslatedPagesMacro

    v14 v15  
    44== Description == 
    55 
    6 A macro to output a list of translated versions of in current page. The English page should use the wiki name without language code, and translated wiki pages use !OriginalWiki/language_code format (language_code follows ISO 639.2 Alpha-2 format). The `[[TranslatedPages]]` macro generates a list of languages like  
     6A macro to output a list of translated versions of in current page. The English page should use the wiki name without language code, and translated wiki pages use a configurable version including language code. The `[[TranslatedPages]]` macro generates a list of languages like 
    77 
    8 [[Image(translated_pages_sample_english.png)]] 
     8[[Image(translated_pages_1.0_sample_english.png)]] 
    99 
    1010to direct to translated versions of wiki pages. 
     
    5757For example, the page WikiStart was translated to Chinese version Zh_CN:WikiStart, Russian version Ru:WikiStart and Spanish version Es:WikiStart. Insert `[[TranslatedPages]]` to WikiStart will generate the following list: 
    5858 
    59 [[Image(translated_pages_sample_english.png)]] 
     59[[Image(translated_pages_1.0_sample_english.png)]] 
    6060 
    6161And in Zh_CN:WikiStart will generate: 
    6262 
    63 [[Image(translated_pages_sample_chinese.png)]] 
     63[[Image(translated_pages_1.0_sample_chinese.png)]] 
     64 
     65When translated page is outdated, Es:WikiStart will generate: 
     66 
     67[[Image(translated_pages_1.0_sample_espanol_update.png)]] 
    6468 
    6569An example of an actively used installation can be found at [http://josm.openstreetmap.de/wiki/Translations].