Geavaheaddjeságastallan:Jon Harald Søby (WMNO)/Incubatorleaŋka.js

Siidosisdoallu ii dorjo eará gielaide.
Wikipedia'as/is

Common.js[rievdat gáldu]

@Yupik: If you copy the content of this page to MediaWiki:Common.js, it will be possible to have interlanguage links to articles in other Sami languages in Wikimedia Incubator using the template {{Incubatorleaŋka}}. If you want to test it yourself first, you can add importScript('Geavaheaddji:Jon Harald Søby (WMNO)/Incubatorleaŋka.js'); to your common.js. I've added the template to Helsset so you can see it in action (once you've added the aforementioned to your common.js, that is). Jon Harald Søby (WMNO) (ságastallan) 22:53, 3 suoidnemánnu 2018 (UTC)

@Jon Harald Søby (WMNO): Sorry for the, krhm, delay. I've copied it to the common.js, but it doesn't seem to be working? It worked just fine when I had the importScript part on my common.js. Any ideas as to why it's not showing properly? -Yupik (ságastallan) 07:18, 17 njukčamánnu 2019 (UTC)
Should the end of this be (mediaWiki, jQuery);? -Yupik (ságastallan) 08:10, 17 njukčamánnu 2019 (UTC)
@Yupik: No, because it doesn't use the mediaWiki JS module. Actually, the script is working, but the links are being hidden by the function that minimizes the list (I'm assuming you see ~10 interwiki links on Helsset rather than 185?). I need to find a way to avoid that, but for now it can stay the way it is. Jon Harald Søby (WMNO) (ságastallan) 09:59, 18 njukčamánnu 2019 (UTC)
I tried it out on Čeavetjávri‎ since it's a much smaller article iw-wise, but it's still not showing them. No idea what's gone on, but it can stay this way for now :) -Yupik (ságastallan) 12:29, 18 njukčamánnu 2019 (UTC)