MediaWiki talk:Gadget-featured-articles-links.js
getAttribute
editPlease 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 Nikerabbit, and applied
toLowerCase()
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
editPlease 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
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Under 'badge-featured': {
please add,
bn: 'এই নিবন্ধটি অন্য একটি ভাষায় নির্বাচিত নিবন্ধ।',
and under 'badge-good': {
please add,
bn: 'এই নিবন্ধটি অন্য একটি ভাষায় ভালো নিবন্ধ।',
--Pratyya (Hello!) 13:07, 3 August 2014 (UTC)
- Done, although this script won't be needed after Wikidata badges are live. Pratyya Ghosh: 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 @Helder.wiki:. --Pratyya (Hello!) 13:46, 3 August 2014 (UTC)
- Pratyya Ghosh 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
- Well that'll be
- Pratyya Ghosh 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)
- It's just for now. After talking to the sysops and other users it'll be final @Helder.wiki:. --Pratyya (Hello!) 13:46, 3 August 2014 (UTC)
এই নিবন্ধটি এই ভাষায় নির্বাচিত নিবন্ধ।
for FA andএই নিবন্ধটি এই ভাষায় ভালো নিবন্ধ।
for GA.
@Helder.wiki:. --Pratyya (Hello!) 14:00, 3 August 2014 (UTC)
Why en.wiki
editWhy 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.) Nemo bis 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)
- Nemo bis 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)
- Nemo bis 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)
Protected edit request on 15 August 2014 (Add Kazakh Translation)
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Under 'badge-featured': {
please add,
kk: 'Бұл осы тілдегі таңдаулы мақала',
and under 'badge-good': {
please add,
kk: 'Бұл осы тілдегі жақсы мақала',
Thank you Arystanbek (talk) 04:02, 15 August 2014 (UTC)
- Done on this edit. Helder 04:16, 15 August 2014 (UTC)
Protected edit request on 29 August 2014
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Add translation in Latvian.
For badge-featured
lv: 'Šis ir vērtīgs raksts šajā valodā',
For badge-good
lv: 'Šis ir labs raksts šajā valodā',
For featured-list
lv: 'Šis ir vērtīgs saraksts šajā valodā',
Edgars2007 (talk/contribs) 08:55, 29 August 2014 (UTC)
- Done.
-- [[User:Edokter]] {{talk}}
09:23, 29 August 2014 (UTC)
Protected edit request on 14 September 2014
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please add the following Vietnamese translation:
var i18n = {
'badge-featured-list': {
vi: 'Liên kết này dẫn đến danh sách chọn lọc.',
}
};
Thank you! – Minh Nguyễn (talk, contribs) 07:09, 14 September 2014 (UTC)
- Added — Martin (MSGJ · talk) 08:37, 15 September 2014 (UTC)
- Watch your commas in the future; you rendered the script inoperable.
-- [[User:Edokter]] {{talk}}
19:10, 15 September 2014 (UTC)
- Watch your commas in the future; you rendered the script inoperable.
- Ah, sorry, I should've been explicit about that. – Minh Nguyễn (talk, contribs) 09:30, 16 September 2014 (UTC)
Macedonian translation
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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
editWith badges now controlled by WikiData, this gadget is no longer necessary. Why is it still enabled by default? -- [[User:Edokter]] {{talk}}
08:12, 7 April 2015 (UTC)