MediaWiki talk:Gadget-WiktSidebarTranslation.js

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Languages written "undefined"[edit]

In the French version, at least the following languages are in error:

  • ku = Kurde
  • ang = Anglo-saxon
  • zh-min-nan (nan) = Minnan
  • tt = Tatare
  • sr = Serbe
  • my = Birman

I didn't find anything in common between these codes. JackPotte 16:32, 1 February 2012 (UTC)[reply]

Answered at Thread:User_talk:Bequw/Problem_with_Gadget-WiktSidebarTranslation.js_on_fr.wiktionnary --Bequw τ 18:17, 16 February 2012 (UTC)[reply]

Changes language code to wrong one[edit]

This script seems to change the value of the "lang" attribute of the "a" tag to a different language code, a wrong one. On a random page, irreligious, the HTML code said for example <li class="interwiki-fr"><a lang="el" hreflang="el" title="irreligious" href="https://fr.wiktionary.org/wiki/irreligious">French</a></li> and the Greek (el) one used the French code (fr). So there seems to be a bug. Regards, SPQRobin (talk) 14:46, 29 July 2012 (UTC)[reply]