Jump to content

Community Wishlist Survey 2020/Wiktionary/Change color of the interwiki link regarding to the content of the sections in the page

From Meta, a Wikimedia project coordination wiki

Change color of the interwiki link regarding to the content of the sections in the page

  • Problem: Cognate is now deployed on all Wiktionaries to manage interwiki links. Currently, all links are blue. The suggestion is to color the interwiki link differently, if on the linked page, there is a section related to the current language.
Example :
I'm on the French Wiktionary, on the page "pain". There is an interwiki link to the English Wiktionary because a page "pain" also exists there.
On this en:pain, there are several sections for several definitions in several languages. There is a section about French word "pain".
Then, on the French page, the link will be blue.
Otherwise, if no French section exists on the English page, then on the French page, the link to the English page will be (for example) green.
  • Who would benefit: this informs the user that even if a page exist in another language, there is no section about his own language, then maybe he could go there and add it. It would encourage contribution and cross-wiki contribution.
  • Proposed solution: improve the Cognate extension or develop a new gadget.
  • More comments: a list with the formatting of all the Wiktionaries have already been built and is available here.
  • Phabricator tickets: T150841
  • Proposer: Pamputt (talk) 18:07, 7 November 2019 (UTC)[reply]


  • Hi! I don't understand when the link is supposed to be blue. Is it only when there are, on both side, the same language sections? Lepticed7 (talk) 09:01, 11 November 2019 (UTC)[reply]
    Well, when there is at least a section of the based-language of the source version, i.e. in French Wiktionary, the link should be blue when French is described in the linked languages. If it isn't, red links may be used instead of a new color. Noé (talk) 11:54, 15 November 2019 (UTC)[reply]
This is an interesting functionality. If possible, we could also customize the user's preferred language, e.g. German, so a user editing the English/French Wiktionary would know if other Wiktionaries, e.g. Italian have the German word or not. KevinUp (talk) 11:54, 19 November 2019 (UTC)[reply]