Community Wishlist Survey 2019/Wikisource/Interface to display two (or more) different text from same (or different) wikisource side by side
Interface to display two (or more) different text from same (or different) wikisource side by side
- Français:Interface permettant d'afficher deux (ou plus) textes différents provenant du même (ou différent) wikisource côte à côte
- Problem:
- When a source document is in multiple languages/ancient form of language/alternative script version of a language/follow an alternative orthography/written in another language, it is useful to read the source and a translated-transliterated-modernized version of the text side-by-side, or sometimes even line-by-line.
- Français: Lorsqu'un document source est dans plusieurs langues / forme ancienne de la langue / version de script alternative d'une langue / suit une orthographe alternative / écrit dans une autre langue, il est utile de lire la source et une version traduite-translittérée-modernisée du texte côte à côte, et parfois même ligne par ligne.
- Some wiki try to solve the problem by hard-coding source document into different alternative version of a page, and/or having multiple versions of same text inside same page, and that create additional problem of verifiability
- Français: Certains wiki tentent de résoudre le problème en codant en dur le document source dans une version alternative différente d'une page et / ou en utilisant plusieurs versions du même texte dans la même page, ce qui crée un problème supplémentaire de vérifiabilité.
- Who would benefit: all wikisource users
- Français: Tous les utilisateurs de wikisource.
- Proposed solution: Create an interface that can allow the display of two (or more) different text from same (or different) wikisource side by side, either by arrangement by editor or by selection by users.
- Français: Créez une interface permettant d’afficher côte à côte deux (ou plus) textes différents provenant du même (ou différent) wikisource, soit par arrangement par éditeur, soit par sélection par les utilisateurs.
- More comments:
- Phabricator tickets:
- Proposer: C933103 (talk) 01:22, 9 November 2018 (UTC)
Discussion
@C933103: Isn't this Community Wishlist Survey 2019/Wikisource/Two windows view for editors? Jc86035 (talk) 14:04, 4 November 2018 (UTC)
- @Jc86035: But this is for readers. I mentioned editors because in some cases automatic matching might not work so well and need editor to match and align those documents. C933103 (talk) 20:55, 4 November 2018 (UTC)
@C933103: On mul.source there is a shared script that does this kind of thing, it's the one called Compare.js. --Candalua (talk) 15:45, 5 November 2018 (UTC)
- @Candalua: I see, that is useful, however there are some limitations to the script that wouldn't cut it when it come to achieving what I want to do:
- It requires the user to manually select which international language version would show up, instead of showing a specific language version by default (For instance for a English-French bilingual document, you would want to default it to showing English side by side with French)
- It seems like there is an upper limit of displaying up to two documents at a time and cannot display three or four of them together at the same time.
- It simply show two different pages side by side, and do not support line-be-line alignment of content of two document.
- It seems like the UI is limited to showing documents with interlanguage link and cannot be used to show e.g. alternative version of the document in same wiki.
- C933103 (talk) 17:57, 5 November 2018 (UTC)
- Point 4 can be done with a template that emulates interwikis, such as this plus a local script to load the link. Point 3 is a difficult task, that can probably be achieved only by putting line or position markers into every text so that markers can be matched side-by-side. But points 1 & 2 look feasible. It would be great to have such a functionality available by default. --Candalua (talk) 08:47, 7 November 2018 (UTC)
- For point 3, it would only need to put those markers into relevant texts that are desired to have such effect, instead of literally every text. The reason why I am requesting this is that from what I see there are already some different texts on wikisources that have different versions of the same document aligned on the same page line by line using various different layouts. I think it would be easier to handle both as someone who would edit wikisource and also to people who want to copy thing from wikisource if they're separately stored in different pages and then display together than mixing all different versions together within same page. C933103 (talk) 11:35, 7 November 2018 (UTC)
- Point 4 can be also done like this: https://bn.wikisource.org/s/ef54 -- Hrishikes (talk) 07:19, 18 November 2018 (UTC)
- For point 3, it would only need to put those markers into relevant texts that are desired to have such effect, instead of literally every text. The reason why I am requesting this is that from what I see there are already some different texts on wikisources that have different versions of the same document aligned on the same page line by line using various different layouts. I think it would be easier to handle both as someone who would edit wikisource and also to people who want to copy thing from wikisource if they're separately stored in different pages and then display together than mixing all different versions together within same page. C933103 (talk) 11:35, 7 November 2018 (UTC)
- Point 4 can be done with a template that emulates interwikis, such as this plus a local script to load the link. Point 3 is a difficult task, that can probably be achieved only by putting line or position markers into every text so that markers can be matched side-by-side. But points 1 & 2 look feasible. It would be great to have such a functionality available by default. --Candalua (talk) 08:47, 7 November 2018 (UTC)
Voting
- Support C933103 (talk) 07:11, 17 November 2018 (UTC)
- Support I also dream about this tool, but I think it will be difficult to match line by line, this may require machine learning tool (word2vec or fastText). Patrice Dargenton (talk) 11:19, 17 November 2018 (UTC)
- Support Libcub (talk) 11:49, 17 November 2018 (UTC)
- Support JAn Dudík (talk) 20:35, 17 November 2018 (UTC)
- Support Liuxinyu970226 (talk) 01:05, 18 November 2018 (UTC)
- Support Benipal hardarshan (talk) 07:09, 18 November 2018 (UTC)
- Support ਨਿਸ਼ਾਨ ਸਿੰਘ ਵਿਰਦੀ (talk) 07:09, 18 November 2018 (UTC)
- Support Armaan kakrala (talk) 07:10, 18 November 2018 (UTC)
- Support Simranjeet Sidhu (talk) 07:10, 18 November 2018 (UTC)
- Support Wikilover90 (talk) 07:10, 18 November 2018 (UTC)
- Support Harshaan Ghuman (talk) 07:10, 18 November 2018 (UTC)
- Support Satdeep Gill (talk) 07:10, 18 November 2018 (UTC)
- Support Dugal harpreet (talk) 07:11, 18 November 2018 (UTC)
- Support Jagvir Kaur (talk) 07:11, 18 November 2018 (UTC)
- Support Nitesh Gill (talk) 07:12, 18 November 2018 (UTC)
- Support Zabia (talk) 10:10, 18 November 2018 (UTC)
- Support NMaia (talk) 11:06, 18 November 2018 (UTC)
- Support there is already a lot of tools doing more or less this (I use mw:Extension:DoubleWiki a lot), but none is perfect and we need one well-thought and well-supported tool, VIGNERON * discut. 12:28, 18 November 2018 (UTC)
- Support Hsarrazin (talk) 17:11, 18 November 2018 (UTC)
- Support Ankry (talk) 23:25, 18 November 2018 (UTC)
- Support Great idea! Very helpful for older manuscripts that have been retranslated multiple times from multiple sources. Lostinlodos (talk) 01:13, 20 November 2018 (UTC)
- Support Salicyna (talk) 18:23, 20 November 2018 (UTC)
- Support Novak Watchmen (talk) 15:16, 21 November 2018 (UTC)
- Support Thurs (talk) 10:29, 22 November 2018 (UTC)
- Support Jayantanth (talk) 19:50, 22 November 2018 (UTC)
- Support Kaviraf (talk) 11:42, 23 November 2018 (UTC)
- Support --*j*jac (talk) 12:03, 23 November 2018 (UTC)
- Support Sahaquiel9102 (talk) 17:38, 23 November 2018 (UTC)
- Support Sannita - not just another it.wiki sysop 01:03, 24 November 2018 (UTC)
- Support Sturban (talk) 04:05, 25 November 2018 (UTC)
- Support Vieux têtard (talk) 07:55, 25 November 2018 (UTC)
- Support Ranjithsiji (talk) 22:55, 25 November 2018 (UTC)
- Support Nemo 22:19, 27 November 2018 (UTC)
- Support Zyephyrus (talk) 18:20, 28 November 2018 (UTC)
- Support εΔω 17:47, 29 November 2018 (UTC)
- Support Edhral 07:08, 30 November 2018 (UTC)