Template:Diff since trans

From Creative Commons
Revision as of 14:25, 18 April 2011 by Hamilton Abreu (talk | contribs)
Jump to: navigation, search



Translated pages are based on an original page in English. That original page changes through time and translations become outdated. This template can be used on translated pages, to verify what changes have been done to the original page in English since the last translation.

Use

{{Diff since trans|name of translated page|number of translated revision}}

The template creates a link on the right side of the page (see example below), which leads to the appropriate diff list. The template should normally be placed just above the {{Translated From}} template which should also be placed in all translated pages.

Example

For example, page Pt:Página principal is a translation into European Portuguese of revision 34884 of Main Page in English. So:

{{diff since trans|Main Page|34884}}

(or, in this case, the Pt translation of this template) placed in page Pt:Página principal, creates a link that shows all changes to Main Page, since revision 34884, thus:

{{#ifeq:

   {{#show:  | ?Last revision#=}}
   | 
   | [[:|]]
   | (synchronise)

}}


In this way it becomes easy for any user to verify whether the translation is synchronous with the English page, and anyone can easily bring it back in synch by translating the changes shown in the diff.

Note: Once a translation is synchronized again, please also update the number of the translated revision to reflect the new translated revision. You can find the revision number of any revision to a page, by visiting the corresponding history page and moving the pointer above any of the shown revisions; the revision number appears at the bottom of your browser window (in IE, at least.)

See also