Difference between revisions of "Template:Diff since trans"

From Creative Commons
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly><div style="text-align:right" class="plainlinks"><small>[http://wiki.creativecommons.org/index.php?title={{anchorencode:{{{1}}}}}&diff=&oldid={{{2}}} [Differences in English original since last translation]]</small></div></includeonly><noinclude>
 
<includeonly><div style="text-align:right" class="plainlinks"><small>[http://wiki.creativecommons.org/index.php?title={{anchorencode:{{{1}}}}}&diff=&oldid={{{2}}} [Differences in English original since last translation]]</small></div></includeonly><noinclude>
 +
__NOEDITSECTION__
  
 
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.  
 
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.  

Revision as of 21:01, 24 July 2010


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