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

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)


  • 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)
    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)
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)


  •   Support KevinUp (talk) 08:56, 21 November 2019 (UTC)
  •   Support Lepticed7 (talk) 12:37, 21 November 2019 (UTC)
  •   Support Lyokoï (talk) 12:37, 21 November 2019 (UTC)
  •   Support Otourly (talk) 16:09, 21 November 2019 (UTC)
  •   Support Pamputt (talk) 21:30, 21 November 2019 (UTC)
  •   Support Libcub (talk) 08:58, 22 November 2019 (UTC)
  •   Support Maybe as a userscript? BEANS X2 (talk) 12:15, 23 November 2019 (UTC)
  •   Support Jpgibert (talk) 12:16, 23 November 2019 (UTC)
  •   Support Noé (talk) 23:12, 23 November 2019 (UTC)
  •   Support JogiAsad (talk) 13:03, 25 November 2019 (UTC)
  •   Support Liuxinyu970226 (talk) 15:57, 25 November 2019 (UTC)
  •   Support Romuald 2 (talk) 16:21, 25 November 2019 (UTC)
  •   Support 17:13, 25 November 2019 (UTC)
  •   Support Waddie96 (talk) 18:50, 25 November 2019 (UTC)
  •   Support Dirac (talk) 02:29, 1 December 2019 (UTC)
  •   Support Novak Watchmen (talk) 17:46, 2 December 2019 (UTC)