Wikisource:Esplanada/new tool for version comparison
Hi everybody, and sorry for writing in English.
I wrote a new tool for easy comparison of two versions of the same text, for example comparing the original text with its translation in another language, or comparing between two different translations but in the same language. You can see an example on it:Le odi di Orazio/Libro primo/XI: try clicking on one of the double arrows (⇔) on the left: the linked text is loaded in a column on the right, and the shortest of the two columns can be dragged up and down for easy line-by-line comparison.
This is somewhat similar to (and inspired by) the DoubleWiki extension, but tries to overcome some of its limitations, like the impossibility of linking to a page on the same wiki.
I've added it to the shared scripts, so that every subdomain can use it if they want. What do you think of it? Do you like it?
P.S. when entering Wikisource:Esplanada, my Firebug gives me the following error, if some of you has programming skills maybe he/she can fix it:
$("<a></a>").attr("href", href) is undefined
P.P.S. when creating a new topic, if you add an English translation maybe it will be more easy to understand what one is supposed to do :-) Candalua 21h19min de 22 de Junho de 2011 (UTC)
- Hi!
- The JS error is caused by a script from MediaWiki:Common.js. I've suggested a fix on its talk page. Helder 15h09min de 28 de Junho de 2011 (UTC)