MediaWiki talk:Gadget-featured-articles-links.js

getAttribute
Please follow the way recommended by devs, i.e. getAttribute( "lang" ) or equivalent. --Nemo 17:30, 27 July 2014 (UTC)
 * @Nemo: Thanks for the reminder. I adapted the code provided by, and applied  to the lang attribute, so the code works with "nds-NL",  "roa-Tara", "zh-TW" and "zh-CN" (the previous version used class names, which are in lower case). Helder 15:38, 28 July 2014 (UTC)

obsolete
Please note that this gadget is obsolete as Wikidata will support badges in near future. -- Bene* (talk) 07:47, 31 July 2014 (UTC)
 * Bene*: however it seems the feature is currently broken in some wikis, so I started this common gadget to make it easier to fix them (i.e. fix only one page, import from other wikis) until Wikidata badgets are available. Do you know how long will that be? Helder 13:31, 3 August 2014 (UTC)
 * Badges are going to be deployed on August 19th so there is no much time left. However, we also have to remember that the badges first need some time until they are imported to wikidata. I hope that we will be able to remove the JavaScript hack from all wikis by September. -- Bene* (talk) 22:16, 3 August 2014 (UTC)

Add Bengali Translation
Under  please add, bn: 'এই নিবন্ধটি অন্য একটি ভাষায় নির্বাচিত নিবন্ধ।', and under  please add, bn: 'এই নিবন্ধটি অন্য একটি ভাষায় ভালো নিবন্ধ।', -- Pr at yya  (Hello!) 13:07, 3 August 2014 (UTC)


 * Done, although this script won't be needed after Wikidata badges are live. : are you planning to import this on bn:MediaWiki:Common.js instead of using the code which is currently there while badges are not available? Helder 13:28, 3 August 2014 (UTC)
 * It's just for now. After talking to the sysops and other users it'll be final . -- Pr at yya  (Hello!) 13:46, 3 August 2014 (UTC)
 * can you provide a translation for the featured lists text too? I just added support for it in the script. Helder 13:51, 3 August 2014 (UTC)
 * Well that'll be . Also please change both GA and FA's bn. Make it

. -- Pr at yya  (Hello!) 14:00, 3 August 2014 (UTC)
 * for FA and
 * for GA.

Why en.wiki
Why is this hosted on en.wikipedia? I can understand when it happens by accident, but as it's a new thing created on purpose for other wikis it would be much better on Meta-Wiki. Re-using the usual "central" domains is also useful to reduce time spent on SSL negotiation. (Every page on every project always loads meta.wikimedia.org already because of CentralNotice.) but I don't care that much about the wiki were this is hosted, as long as we have a single script to fix and keep updated (even if it is just for a few weeks).--Nemo 11:08, 4 August 2014 (UTC)
 * From MediaWiki talk:Common.js#Global gadget for LinkFA: The small disadvantage of moving it on Meta is that it is not used on Meta itself, so it would not be editable by any of the wikis where it is needed (and by hosting it on enwiki we would save an HTTP request at least for users of the biggest Wikipedia). Helder 12:15, 4 August 2014 (UTC)
 * but I don't care that much about the wiki were this is hosted, as long as we have a single script to fix and keep updated (even if it is just for a few weeks). Helder 12:17, 4 August 2014 (UTC)
 * Meta hosts global blocking which it doesn't use, too. :P --Nemo 13:05, 8 August 2014 (UTC)

Protected edit request on 15 August 2014 (Add Kazakh Translation)
Under  please add, kk: 'Бұл осы тілдегі таңдаулы мақала', and under  please add, kk: 'Бұл осы тілдегі жақсы мақала',

Thank you Arystanbek (talk) 04:02, 15 August 2014 (UTC)
 * ✅ on this edit. Helder 04:16, 15 August 2014 (UTC)

Protected edit request on 29 August 2014
Add translation in Latvian.

For badge-featured

For badge-good

For featured-list

 Edgars2007  (talk/contribs) 08:55, 29 August 2014 (UTC)
 * ✅.  09:23, 29 August 2014 (UTC)

Protected edit request on 14 September 2014
Please add the following Vietnamese translation: Thank you!

– Minh Nguyễn (talk, contribs) 07:09, 14 September 2014 (UTC)
 * &mdash; Martin (MSGJ · talk) 08:37, 15 September 2014 (UTC)
 * Watch your commas in the future; you rendered the script inoperable.  19:10, 15 September 2014 (UTC)


 * Ah, sorry, I should've been explicit about that. – Minh Nguyễn (talk, contribs) 09:30, 16 September 2014 (UTC)

Macedonian translation
Could you please add the following Macedonian translations? Thanks a lot. --B. Jankuloski (talk) 20:17, 20 September 2014 (UTC)

mk: 'Избрана статија на овој јазик.',

mk: 'Добра статија на овој јазик.',

mk: 'Избран список на овој јазик.',
 * Done, thanks! Helder 11:17, 21 September 2014 (UTC)

Still enabled by default
With badges now controlled by WikiData, this gadget is no longer necessary. Why is it still enabled by default? 08:12, 7 April 2015 (UTC)