MediaWiki talk:Gadget-slurpInterwiki.js

Latest comment: 1 year ago by Robby in topic Save error: Unknown site: nbwiki

Something edit

Bonjour, la traduction en français ne fonctionne pas chez moi ! Merci pour ce script Leag (talk) 07:42, 31 October 2012 (UTC)Reply

En effet il y a un problème. Je vais essayer de corriger cela. Tpt (talk) 07:43, 31 October 2012 (UTC)Reply
C'est corrigé. Tpt (talk) 07:50, 31 October 2012 (UTC)Reply
Super merci. Peux-tu remplacer cette phrase 'success': 'Links imported ! Refresh the page !' par 'success': 'Liens importés ! Rafraichir la page !' ? A+ Leag (talk) 07:56, 31 October 2012 (UTC)Reply
Fait. Merci. Tpt (talk) 08:16, 31 October 2012 (UTC)Reply

Hi, update Finnish translation, thanks! --Stryn (talk) 13:19, 1 November 2012 (UTC)Reply

  Done. Thanks. Tpt (talk) 13:51, 1 November 2012 (UTC)Reply

German translation edit

Bonjour, could you please add the german translation? --CennoxX (talk) 16:13, 31 October 2012 (UTC)Reply

'de': {
			'box-title': 'Interwiki importieren',
			'box-lang': 'von: ',
			'import': 'Importieren',
			'error-api': 'Fehler bei der Kommunikation mit der API!',
			'error-wiki': 'Das ausgewählte Wiki ist unbekannt!',
			'error-page': 'Die Seite existiert nicht!',
			'error-pageNotFound': 'Keinen Link im gewählten Wiki gefunden!',
			'success': 'Links importiert! Aktualisiere die Seite!'
		},
  Done. Thanks ! Tpt (talk) 16:19, 31 October 2012 (UTC)Reply
Hey, it doesn't work. I think it's be because of the space before every line, I've now deletet. So could you please copy again?--CennoxX (talk) 17:23, 31 October 2012 (UTC)Reply
I've deleted them and it doesn't change anything. It's a very strange bug. I don't know how to solve it. Tpt (talk) 17:42, 31 October 2012 (UTC)Reply

Some further translations:

                        'boxwarning': 'Achtung: Dieses Skript importiert die Interwiki-Links einer Sprachversion, ohne auf mögliche Konflikte zu prüfen. Du musst alle Links überprüfen, bevor du sie nach Wikidata überträgst!',
			'nolinkstoupdate': 'Alle Links wurden schon importiert.'

Regards, NNW (talk) 11:02, 1 November 2012 (UTC)Reply

I've updated the translation and fixed the bug. Translation in German now works well. Tpt (talk) 13:12, 1 November 2012 (UTC)Reply
'error-save': 'Fehler beim Speichern: ',

-- Thoroe (talk) 13:57, 1 November 2012 (UTC)Reply

Norwegian (bokmål) translation edit

		'no': {
			'box-title': 'Importer interwiki',
			'box-lang': 'fra: ',
			'import': 'Importer',
			'error-api': 'Feil ved kommunikasjon med API !',
			'error-wiki': 'Den valgte wikien er ukjent !',
			'error-page': 'Siden finnes ikke !',
			'error-pageNotFound': 'Ingen lenke funnet for den valgte wikien !',
			'success': 'Lenker importert ! Oppdater siden !'
		},
  Done. Thanks ! Tpt (talk) 16:51, 31 October 2012 (UTC)Reply

Thanks, it worked for a while, but this edit seems to have broken "no" again.

And by the way, adding "nb" can't hurt. It's identical to "no":

		'nb': {
			'box-title': 'Importer interwiki',
			'box-lang': 'fra: ',
			'import': 'Importer',
			'error-api': 'Feil ved kommunikasjon med API !',
			'error-wiki': 'Den valgte wikien er ukjent !',
			'error-page': 'Siden finnes ikke !',
			'error-pageNotFound': 'Ingen lenke funnet for den valgte wikien !',
			'success': 'Lenker importert ! Oppdater siden !'
		},

- Soulkeeper (talk) 18:34, 31 October 2012 (UTC)Reply

Sorry for the bug. it's fixed now. Tpt (talk) 18:44, 31 October 2012 (UTC)Reply
The script keeps getting better. :) Here are some updated translations for Norwegian:
'nb': {
	'box-title': 'Importer interwiki',
	'box-warning': 'Advarsel: Dette skriptet importerer språklenker fra én wiki automatisk, uten å sjekke konflikter. Du må sjekke alle interwiki-lenkene på siden til den valgte wikien før du laster dem opp til Wikidata !',
	'box-lang': 'fra: ',
	'import': 'Importer',
	'error-api': 'Feil ved kommunikasjon med API !',
	'error-wiki': 'Den valgte wikien er ukjent !',
	'error-page': 'Siden finnes ikke !',
	'error-pageNotFound': 'Ingen lenke funnet for den valgte wikien !',
	'error-save': 'Lagringsfeil: ',
	'success': 'Lenker importert !',
	'nolinkstoupdate': 'Alle lenkene er allerede importert. Ingenting å gjøre !'
}

And like before, no is identical to nb, so just duplicate it to cover both language codes. - Soulkeeper (talk) 14:05, 5 November 2012 (UTC)Reply

  Done Tpt (talk) 14:19, 5 November 2012 (UTC)Reply
Instead of duplicating the code, you could just use the same idea I suggested for pt-br below, i.e.: i18nData.no = i18nData.nb;. This would reduce the # of bytes sent to all users and still work for "no" users. Helder 15:55, 8 November 2012 (UTC)
Done. Tpt (talk) 17:03, 8 November 2012 (UTC)Reply

Bug edit

There is a bug at Q2757. I think its because of the acute accent.--CennoxX (talk) 23:30, 31 October 2012 (UTC)Reply

It was a bug with an old wiki that is not on Wikidata. I've fixed the bug by automatically ignoring it. Tpt (talk) 07:48, 1 November 2012 (UTC)Reply

Italian update edit

Hi, I add the update for the italian translation. Raoli (talk) 14:55, 1 November 2012 (UTC)Reply

		'it': {
			'box-title': 'Importare gli interwiki',
			'box-warning': 'Attenzione: Questo script importa automaticamente gli interwiki da un wiki senza controllare possibili conflitti di edizione. Verifica che tutti gli interwiki della pagina wiki scelta siano presenti su Wikidata !',
			'box-lang': 'da : ',
			'import': 'Importa',
			'error-api': 'Errore di comunicazione con le API !',
			'error-wiki': 'La wiki selezionata è inesistente!',
			'error-page': 'La pagina selezionata non esiste!',
			'error-pageNotFound': 'Non è stato trovato alcun collegamento verso la wiki selezionata!',
			'error-save': 'Errore durante il salvataggio: ',
			'success': 'Collegamenti importati, aggiorna la pagina!',
			'nolinkstoupdate': 'Tutti i link sono già stati importati. Niente da fare !'
		},
I note that the French version has two fields for 'nolinkstoupdate'. Thank you   Raoli (talk) 14:56, 1 November 2012 (UTC)Reply
  Done. Thanks ! Tpt (talk) 15:05, 1 November 2012 (UTC)Reply
Many users report me that, at this time, the link to the script has disappeared. Do you know why? (screenshot #fr) (screenshot #it) Thanks again. Raoli (talk) 15:18, 1 November 2012 (UTC)Reply
Sorry, I've use a Firefox only feature. I've remove it. Purge your cache. Tpt (talk) 16:23, 1 November 2012 (UTC)Reply
Ok, thanks, you should create a table of supported browsers. Can be useful. You have already asked to include it among the gadgets Wikidata? I think the script to be jammed. is almost an hour that is so #for 1 hour. Do you know how fix it? --Raoli (talk) 17:47, 1 November 2012 (UTC)Reply
An easier thing: update this field
		'it': {
			'box-title': 'Importare gli interwiki',
		},
with this revision:
		'it': {
			'box-title': 'Importa gli interwiki',
		},
I'm sorry to report you all these things, but I think it is useful to let you know them. Raoli (talk) 17:50, 1 November 2012 (UTC)Reply
I've fixed this bug. Please reload your cache. Tpt (talk) 17:59, 1 November 2012 (UTC)Reply
Yes, this problem was fixed, but has created another problem. As soon as the script has finished does not give the caption attached to the "success" field, but it only gives "undefined". However, even if it gives this error, it adds the links. Screenshot Raoli (talk) 18:20, 1 November 2012 (UTC)Reply
I've fixed it. I hope all will works fine now. Tpt (talk) 18:26, 1 November 2012 (UTC)Reply
It's all OK.   Thank you very much. Raoli (talk) 23:56, 1 November 2012 (UTC)Reply

pl translation edit

Hello, there's a Polish translation. Regards, Maćko (talk) 16:55, 1 November 2012 (UTC)Reply

'en': {
			'box-title': 'Importuj interwiki',
			'box-warning': 'Uwaga: Ten skrypt importuje automatycznie łącza językowe z jednej wiki bez sprawdzania konfliktów. Musisz sprawdzić wszystkie interwiki na stronie wybranej wiki przed wgraniem ich do Wikidata!',
			'box-lang': 'z: ',
			'import': 'Importuj',
			'error-api': 'Problem w komunikacji z API!',
			'error-wiki': 'Wybrana wiki jest nieznana!',
			'error-page': 'Strona nie istnieje!',
			'error-pageNotFound': 'Nie znaleziono linku dla wybranej wiki!',
			'error-save': 'Błąd zapisu: ',
			'success': 'Linki zaimportowane! Odśwież stronę!',
			'nolinkstoupdate': 'Wszystkie linki są już zaimportowane. Nie ma nic do zrobienia!'
		},

  Done. Thanks ! Tpt (talk) 17:59, 1 November 2012 (UTC)Reply

Suggestion edit

The following code creates an alert, which requires you to click to close:

function onSuccess( msg ) {
	if( typeof msg != 'string' ) {
		msg = 'success';
	}
	removeSpinner( 'slurpInterwiki' );
	alert( i18n( msg ) );
	$( 'div#slurpInterwiki' ).dialog( 'close' );
}

To save that click, I suggest modifying it to either write the text directly on the page, like this:

function onSuccess( msg ) {
	if( typeof msg != 'string' ) {
		msg = 'success';
	}
	removeSpinner( 'slurpInterwiki' );
	$('table#wb-sitelinks').remove();
	$('h2#wb-sitelinks-heading').after('<div>'+i18n( msg )+'</div>');
	$( 'div#slurpInterwiki' ).dialog( 'close' );
}

... or modify it to automatically reload the page:

function onSuccess( msg ) {
	if( typeof msg != 'string' ) {
		msg = 'success';
	}
	removeSpinner( 'slurpInterwiki' );
	$( 'div#slurpInterwiki' ).dialog( 'close' );
	location.href=location.href;
}

- Soulkeeper (talk) 10:31, 2 November 2012 (UTC)Reply

I've chosen the reloading way and I've keep the message because if there is only one change in a big list, it's difficult to know if there is a change. Tpt (talk) 11:33, 2 November 2012 (UTC)Reply

Portuguese translation edit

Please add the Portuguese translation:

		'pt-br': {
			'box-title': 'Importar interwikis',
			'box-warning': 'Aviso: Este script importa automaticamente os links para outros idiomas a partir de uma wiki sem conferir se existem conflitos. Você precisa verificar todos os links na página da wiki escolhida antes de importá-los para o Wikidata!',
			'box-lang': 'de: ',
			'import': 'Importar',
			'error-api': 'Erro de comunicação com a API !',
			'error-wiki': 'A wiki escolhida é desconhecida!',
			'error-page': 'A página não existe!',
			'error-pageNotFound': 'Nenhum link foi encontrado na wiki escolhida!',
			'error-save': 'Erro ao salvar: ',
			'success': 'Os links foram importados! Atualize a página!',
			'nolinkstoupdate': 'Todos os links já foram importados. Nada a ser feito!'
		},

for now, copy this also for 'pt' since the script doesn't seems to have a fallback system for translations. Helder 16:07, 2 November 2012 (UTC)

Done. Tpt (talk) 16:43, 2 November 2012 (UTC)Reply

Dutch translation fix edit

Please change

'error-save': 'Save error: ', to 'error-save': 'Fout tijdens opslaan: '

and

'nolinkstoupdate': 'All the links are already imported. Nothing to do !' to 'nolinkstoupdate': 'Alle links zijn al geïmporteerd. Er niks om uit te voeren !'

Thanks. --Wiki13 talk 19:27, 2 November 2012 (UTC)Reply

  Done. Tpt (talk) 20:21, 2 November 2012 (UTC)Reply

Feature Request: Select interwikis to save edit

In some languages (enwiki especially), many articles exist that might not exist in other languages. In some of these, the pages are redirects to sections of other pages. As this counts as a duplicate link, Wikidata won't let you save it. It'd be awesome for these cases if we could be presented with a javascript popup window with a list of interwiki links, and checkboxes. This would then allow us to import most of the links, ignoring ones that cause conflicts. Thanks! Reedy (talk) 00:05, 3 November 2012 (UTC)Reply

Bug: Other languages edit

Hi Tpt, I like your srcipt very much but there is a bug at the languages. I don't know why but I think $.inArray isn't working. As a solution you could add a seperate method like this:

/**
 * Return, if the array contains the value.
 */
function inArray( value, array ) {
	var contains = false;	
	for (var i = 0; i < array.length; i++) {
		contains = array[i] == value;
		if(contains) {
			break;
		}
	}
	return contains;
}

Then you could write if( !inArray( lang, ['en', ... and I think it will work. Regards, --Bene* (talk) 19:38, 3 November 2012 (UTC)Reply

Yes it works. Thanks a lot! Tpt (talk) 20:17, 3 November 2012 (UTC)Reply
Nice. Maybe you might be interested in my script, too. Would you mind to have a look at the code (yes, I took a few lines of your one :-)) and check wether the code is clean. I think it is loading a bit too long. Regards, --Bene* (talk) 20:38, 3 November 2012 (UTC)Reply
The $.inArray returns the index of the element in the array, not a boolean value. So you just needed to use if( $.inArray( lang, ['en', ...] ) !== -1 ). This confusion is somewhat common. Helder 15:10, 4 November 2012 (UTC)

Some updates edit

Hi!

Please consider implementing these changes:

  • Reduce msg duplication by setting a fallback for pt-br = pt;
  • Set lang = en if i18nData[ lang ] is not defined, instead of creating a new function which duplicates functionality from $.inArray (which by the way returns the index not a boolean value) and duplicating the keys of the i18nData object;
  • Use .empty() instead of .html('')
  • Use $.removeSpinner from module 'jquery.spinner' instead of the deprecated removeSpinner from wikibits
  • Create a common onApiError to be called on API erros (instead of duplicating the same code)
  • Use the methods .done and .fail (promise interface) instead of the old success/error
  • Fix indentation (use tabs instead of spaces)

The code is in the sandbox (please double check if I didn't make any mistake). Helder 14:55, 4 November 2012 (UTC)

  Done with some small modifications. Thanks a lot ! Tpt (talk) 15:38, 4 November 2012 (UTC)Reply

Spanish translation (complete) edit

I completed the translation in Spanish and made some minor changes. Regards, and thanks for the tool. --Dalton2 (talk) 16:06, 6 November 2012 (UTC)Reply

'es': {
			'box-title': 'Importar interwikis',
			'box-warning': '¡Atención: este script importa automáticamente las interwikis de una wiki sin comprobar si existen conflictos; hay que comprobar todas las interwikis de la página de la wiki elegida antes de subirlas a Wikidata!',
			'box-lang': 'desde: ',
			'import': 'Importar',
			'error-api': '¡Error de comunicación con la API!',
			'error-wiki': 'La wiki seleccionada es desconocida',
			'error-page': 'La página no existe',
			'error-pageNotFound': 'No hay enlaces para la wiki seleccionada',
			'error-save': 'Error al guardar: ',
			'success': 'Enlaces importados',
			'nolinkstoupdate': 'Ya están importados todos los enlaces. ¡No es necesario hacer nada!'
                },
  Done. Thanks! Tpt (talk) 17:26, 6 November 2012 (UTC)Reply
Thank you. --Dalton2 (talk) 21:07, 6 November 2012 (UTC)Reply

farsi translation edit

	'fa': {
			'box-title': 'دریافت میان‌ویکی',
			'box-warning': 'هشدار:این ابزار پیوندها را بدون تشخیص تداخل میان‌ویکی‌ها درون‌ریزی می‌کند . تشخیص و اصلاح میان‌ویکی‌های اشتباه به عهدهٔ کاربر است!',
			'box-lang': 'از: ',
			'import': 'دریافت',
			'error-api': 'خطا در ارتباط با ای‌پی‌آی!',
			'error-wiki': 'ویکی مورد نظر ناشناس است!',
			'error-page': 'صفحهٔ مورد نظر وجود ندارد!',
			'error-pageNotFound': 'برای ویکی انتخاب شده پیوندی یافت نشد!',
			'error-save': 'خطای ذخیره : ',
			'success': 'پیوندها درون‌ریزی شد!',
			'nolinkstoupdate': 'همه میان‌ویکی‌ها موجود هستند چیزی برای افزودن نمانده‌است!'
		},

Photograpers (talk) 20:11, 6 November 2012 (UTC)Reply

  Done. Thanks. Tpt (talk) 16:53, 7 November 2012 (UTC)Reply

feature request edit

1-when user made an item s/he can not use this tool directly after Special:CreateItem with out adding home wiki link in my opininon

  • it should use page's label that user typed in Special:CreateItem as page name and set user's default language as wiki's language code
  • if user's language code doesn't have that page it asks for other language's code

(i.e. i want to make item for article test25 at the first I should go to Special:CreateItem after pressing create when i click on Import interwiki it doesn't allow me to select wiki's prefix and the combobox is empty.)

2-In comboBox please remove wiki and it has only the wiki code because for page which has many items finding specific wiki is confusing!

3-is it possible to check page's namespace if their namespace are not the same tool doesn't import that pages. i.e like this

bulk Importing

4-Is it possible to add option for importing articles by category? (tool ask a category and import articles)

5-importing pages which is listed (linked) in a subpage list (in wikidata) Photograpers (talk) 20:14, 6 November 2012 (UTC)Reply

1 I'll add this option at the launch of the script if no links have been added to the item yet.
2 Will be done.
3 Looks a good idea. I add this in my TODO.
4 and 5: You want to create automaticaly items from a list? It's not the scope of this tool that is only done to import links. Tpt (talk) 17:46, 7 November 2012 (UTC)Reply
I have done 2). I can also add the language name in the user language if it's needed. Tpt (talk) 18:09, 7 November 2012 (UTC)Reply
Hi there :) Just in case requests 4 and 5 had given you some idea and to avoid effort duplication, I'm already working on a tool to perform batch imports of items from various “generators”. Best regards — Arkanosis 19:12, 7 November 2012 (UTC)Reply
adding the language name in the user language is good idea and it can be in other comboBox next to prefix one and they should be in separate comboBox because many users can not read Arabic or Chinese glyph.Photograpers (talk) 19:14, 7 November 2012 (UTC)Reply
I've added language name between parenthesis after the language code. Tpt (talk) 19:32, 7 November 2012 (UTC)Reply

What to do when no IW links found edit

Can you make the pop up box notification of no interwikis found non blocking like you did when theres an update? Thanks! Reedy (talk) 00:46, 7 November 2012 (UTC)Reply

  Done. Tpt (talk) 18:08, 7 November 2012 (UTC)Reply

Translation + bug edit

Here is cs: translation

'cs': {
			'box-title': 'Import interwiki',
			'box-warning': 'Varování: Tento skript automaticky naimportuje jazykové odkazy z jedné wiki bez kontroly případných konfliktů. Raději zkontroluj odkazy před nahráním na Wikidata!',
			'box-lang': 'z: ',
			'import': 'Import',
			'error-api': 'Chyba při komunikaci s API!',
			'error-wiki': 'Neznámá wiki!',
			'error-page': 'Stránka neexistuje!',
			'error-pageNotFound': 'Nenalezen žádný odkaz pro zvolenou wiki!',
			'error-save': 'Chyba při ukládání: ',
			'success': 'Odkazy naimportovány!',
			'nolinkstoupdate': 'Všechny odkazy již jsou naimportovány.'
		},

I have problem with import, I click [Import], select language, but i got message Save error: unknown site: be (language code vary - the first of all)

Sorry, I've made a typo error in the code. it's fixed. Tpt (talk) 09:59, 8 November 2012 (UTC)Reply

add autoedit edit

Hello, could you add something like the part of Jitrixis autoedit script, which adds the Labels of all languages, to your slurpInterwiki? If that works, the new Querys would be almost complete. Greets CENNOXX (talk) 00:10, 9 November 2012 (UTC)Reply

  Support --Raoli (talk) 21:02, 9 November 2012 (UTC)Reply

This tool doesn't add all the labels (en-ca, en-gb, pt-br) as you can see here. --Stryn (talk) 12:35, 12 November 2012 (UTC)Reply

  Done. Tpt (talk) 20:23, 12 November 2012 (UTC)Reply

Ilokano translations edit

		'ilo': {
			'box-title': 'Agala kadagiti interwiki',
			'box-warning': 'Ballaag: Daytoy nga eskrito ket automatiko nga agala kadagiti silpo ti pagsasao manipud kadagiti wiki ngem saan a mangkita kadagiti silpo a kasinnuppiat. Nasken a kitaem amin dagiti interwiki idiay panid ti wiki a pinilim sakbay nga ikargam ditoy Wikidata!',
			'box-lang': 'manipud idiay: ',
			'box-updateLabels': 'Automatiko nga agileppas kadagiti awan linaonna nga etiketa manipud ti nagan ti mainanig a silpo.',
			'import': 'Agala',
			'error-api': 'Komunikasion a biddut iti API!',
			'error-wiki': 'Ti napili a wiki ket di ammo!',
			'error-page': 'Awan ti panid!',
			'error-pageNotFound': 'Awan ti silpo a nabirukan para iti napili a wiki!',
			'error-save': 'Biddut ti panagidulin: ',
			'success-links': 'Naalan dagiti silpo!',
			'success-labels': 'Naalan dagiti etiketa!',
			'nolinkstoupdate': 'Amin a silpo ket naalan. Awanen ti maaramid!'
		},

Lang/ilo tanslations pls. add thanks --Lam-ang (talk) 19:12, 11 November 2012 (UTC)Reply

  Done-- Bertrand GRONDIN   → (écrire) 19:18, 11 November 2012 (UTC)Reply

Korean translation edit

  'ko': {
                        'box-title': '인터위키 가져오기',
                        'box-warning': '경고: 이 스크립트는 인터위키 충돌 확인 없이 특정 위키에서 자동적으로 인터위키를 가져옵니다. 귀하는 위키데이터에 인터위키를 가져오기 전에, 선택한 위키의 문서 페이지에서 모든 인터위키가 올바른지 확인하셔야 합니다.',
                        'box-lang': '가져올 위키: ',
                        'box-updateLabels': '관련된 링크의 명칭과 함께 빈 레이블을 자동 완성',
                        'import': '가져오기',
                        'error-api': 'API와의 통신에 실패하였습니다!',
                        'error-wiki': '선택된 위키에 오류가 있습니다!',
                        'error-page': '해당 문서가 존재하지 않습니다.',
                        'error-pageNotFound': '선택된 위키에서 링크를 찾을 수 없었습니다!',
                        'error-save': '저장 오류: ',
                        'success-links': '인터위키를 가져왔습니다!',
                        'success-labels': '레이블을 가져왔습니다!',
                        'nolinkstoupdate': '모든 인터위키가 이미 존재합니다. 아무 것도 작업되지 않았습니다.'
                },

Thanks in advance. --Sotiale (talk) 13:39, 12 November 2012 (UTC)Reply

  Done Added. Thank you! — Arkanosis 14:42, 12 November 2012 (UTC)Reply

Hungarian translation edit

		'hu': {
			'box-title': 'Interwikik importálása',
			'box-warning': 'Figyelem: Ez az eszköz automatikusan importálja az interwiki-linkeket egy wikiből, anélkül, hogy ellenőrizné az esetleges ütközéseket. Ellenőrizd a kiválasztott wikiben található oldalon levő összes interwikit, mielőtt áttöltöd őket a Wikidatába!',
			'box-lang': 'honnan: ',
			'box-updateLabels': 'Az üres címkék automatikus kitöltése a kapcsolódó link nevével.',
			'import': 'Importálás',
			'error-api': 'Kommunikációs hiba az API-val!',
			'error-wiki': 'Ismeretlen wiki!',
			'error-page': 'A lap nem létezik!',
			'error-pageNotFound': 'Nem található link a kiválasztott wikihez!',
			'error-save': 'Mentési hiba: ',
			'success-links': 'Linkek importálva!',
			'success-labels': 'Címkék importálva!',
			'nolinkstoupdate': 'Az összes link be van importálva, nincs további teendő!'
		},

Please add it, thx. Winston (talk) 12:29, 13 November 2012 (UTC)Reply

 Y Done-- Bertrand GRONDIN   → (écrire) 15:01, 13 November 2012 (UTC)Reply

Update translation edit

Italian edit

Please add the following line to this tool: Thanks Raoli (talk) 17:39, 13 November 2012 (UTC)Reply

'box-updateLabels': 'Auto-completa le etichette vuote con il nome del relativo link.',
'success-labels': 'Etichette importate!',
  Done. Tpt (talk) 18:01, 13 November 2012 (UTC)Reply

Feature Request: Selective link addition edit

There are some articles which have distinct pages (versions, models of things etc) on some wikis, but they don't on others. They are often redirects to sections etc.

Would it be possible to add a way so given a list of IW links/pages pulled from a current article, the user can selectively select the ones they want to import?

Thanks! Reedy (talk) 01:21, 14 November 2012 (UTC)Reply

be-x-old edit

I noticed that the script does not import interwiki from be-x-old. Can this be fixed? --Art-top (talk) 18:23, 16 November 2012 (UTC)Reply

Commenting much later... I also had to add be-x-old manually, when trying to import the links that were remaining on en:Abraham Lincoln. Espeso (talk) 01:59, 19 February 2013 (UTC)Reply

Warning about a bug edit

Hi everybody, I've noticed a little bug while I'm updating labels from interwiki: in es.wiki there are some article in ns "Anexo:" and this word remain in the label when you update it. I think it's better to avoid it, otherwise users have to remove it manually and likely most of them will forget it in Spanish labels. Can anyone fix that bug? Thanks. Restu20 16:49, 21 November 2012 (UTC)Reply

“Anexo:” is an own namespace (104) and therefore not a bug of the gadget. Please start a discussion in order reach consensus on the label of such pages. The result might then be implemented. --Leyo 18:28, 21 November 2012 (UTC)Reply

zh update edit

'box-updateLabels': '自動以跨語言連結完成尚為空的標籤。', 'success-labels': '標籤已導入!', --JC1 14:47, 26 November 2012 (UTC)Reply

  Done-- Bertrand GRONDIN   → (écrire) 16:07, 26 November 2012 (UTC)Reply

Italian update 2 edit

Please change

'box-title': 'Importa gli interwiki',

into

'box-title': 'Importa interwiki',

Thanks Raoli (talk) 16:04, 27 November 2012 (UTC)Reply

  Done thanks too --Bene* (talk) 16:43, 27 November 2012 (UTC)Reply

Hebrew translation edit

Hi,

Here's a Hebrew translation:

		'he': {
			'box-title': 'ייבוא קישורי בינוויקי',
			'box-warning': 'אזהרה: התסריט הזה מייבא באופן אוטומטי קישורים לשוניים מוויקי אחד ללא בדיקה של התנגשויות. חובתך לבדוק את כל הקישורים בדף לפני העלאתם!',
			'box-lang': 'מ: ',
			'box-updateLabels': 'השלמה אוטומטית של תוויות עם שם הקישור המיוחס.',
			'import': 'ייצוא',
			'error-api': 'שגיאה בתקשורת עם API!',
			'error-wiki': 'הוויקי שנבחר אינו ידוע!',
			'error-page': 'הדף אינו קיים!',
			'error-pageNotFound': 'לא נמצא קישור בוויקי שנבחר!',
			'error-save': 'שגיאה בשמירה: ',
			'success-links': 'הקישורים יובאו!',
			'success-labels': 'התוויות יובאו!',
			'nolinkstoupdate': 'כל הקישורים כבר יובאו. אין מה לעשות עוד!'
		},

Can anybody add it, please?

Thanks! --Amir E. Aharoni (talk) 16:43, 30 November 2012 (UTC)Reply

  Done thanks --Bene* (talk) 17:18, 30 November 2012 (UTC)Reply
Sorry, a correction: 'import': 'ייבוא',. --Amir E. Aharoni (talk) 21:42, 30 November 2012 (UTC)Reply
  Done -- Bertrand GRONDIN   → (écrire) 05:47, 1 December 2012 (UTC)Reply

Feature Request edit

I've done this in a stupid way, hope someone can refine it.--Stevenliuyi (talk) 10:47, 2 December 2012 (UTC)Reply
  Done--Stevenliuyi (talk) 11:22, 2 December 2012 (UTC)Reply

Esperanto translation edit

		'eo': {
			'box-title': 'Importi la interlingvajn ligilojn',
			'box-warning': 'Atentu: Ĉi tiu skripto aŭtomate importas la interlingvajn ligilojn el la elektita vikio ne enkalkulante eblajn konfliktojn. Vi nepre kontrolu ĉiujn interlingvajn ligilojn antaŭ ol alŝuti ilin al Vikidatumoj !',
			'box-lang': 'el : ',
			'box-updateLabels': 'Aŭtomate plenigi la malplenajn etikedojn per la nomo de la korespondaj ligiloj.',
			'import': 'Importi',
			'error-api': 'Komunikeraro kun la API !',
			'error-wiki': 'La elketita vikio estas nekonata !',
			'error-page': 'La paĝo ne ekzistas !',
			'error-pageNotFound': 'Neniu ligilo trovita en la elektita vikio !',
			'error-save': 'Eraro dum konservado: ',
			'success-links': 'Ligiloj importitaj !',
			'success-labels': 'Etikedoj importitaj !',
			'nolinkstoupdate': 'Ĉiuj ligiloj jam estis importitaj. La skripto ŝanĝis nenion.!'
		},

--ArnoLagrange (talk) 11:26, 2 December 2012 (UTC)Reply

  Done--Stevenliuyi (talk) 11:48, 2 December 2012 (UTC)Reply

Bugs edit

  1. I have to close the dialog box to get interwikis list in the combobox - then it works - before the combobox is empty
  2. (minor) After I run the script, I get 3 message box (links imported, labels imported, -), the last one is empty

--ArnoLagrange (talk) 11:26, 2 December 2012 (UTC) Tous les bugs sont résolus depuis que j'ai supprimé la référence dans mon common.js et que j'ai activé le gadget. Donc tout va bien. --ArnoLagrange (talk) 11:40, 2 December 2012 (UTC)Reply

Traduction française edit

Veuillez corriger :

			'nolinkstoupdate': 'Tous les liens ont déjà été importés, Le script ne change rien !'

--ArnoLagrange (talk) 11:29, 2 December 2012 (UTC)Reply

  Done-- Bertrand GRONDIN   → (écrire) 12:14, 2 December 2012 (UTC)Reply

Gujarati translation edit

'gu': {

			'box-title': 'આંતરવિકિ લિંક્સ આયાત કરો',
			'box-warning': 'સાવધાન: આ સ્ક્રિપ્ટ ત્રુટિની તપાસ કર્યા વગર તેની જાતે આંતરવિકિ લિંક્સ આયાત કરે છે. તમે આ લિંક્સ આયાત કરો તે પહેલા તમારે જાતે દરેક લિંકની તપાસ જાતે કરવાની રહેશે!',
			'box-lang': 'આ ભાષાની વિકિ માંથી: ',
			'box-updateLabels': 'ખૂટતા લેબલને લિંક સાથે સંકળાયેલ નામથી જાતે ઉમેરો.',
			'import': 'આયાત કરો',
			'error-api': 'એ.પી.આઈ સાથે જોડાણમાં ત્રુટિ!',
			'error-wiki': 'પસંદ કરેલ વિકિ અજ્ઞાત છે!',
			'error-page': 'આ પાનું અસ્તિત્વમાં નથી!',
			'error-pageNotFound': 'પસંદ કરેલ વિકિ માટે કોઈ લિંક મળી નથી!',
			'error-save': 'સાચવવામાં : ત્રુટિ',
			'success': 'લિંક્સ આયાત થઈ!',
			'nolinkstoupdate': 'બધી લિંક્સ પહેલાથી આયાત થઈ ચુકી છે. કશું કરવાની જરુર નથી!'
},

-- Kondi (Talk) 09:31, 31 December 2012 (UTC)Reply

  Done. Thanks! Tpt (talk) 09:47, 31 December 2012 (UTC)Reply

Galician translation edit

Please add Galician (gl) translation:

'gl': {
			'box-title': 'Importar os interwikis',
			'box-warning': 'Atención: Esta ferramenta importa as ligazóns interlingüísticas automaticamnte desde un wiki sen comprobar os posibles conflitos. Terás que verificar todos os interwikis da páxina do wiki elixido antes de traelos ao Wikidata!',
			'box-lang': 'desde: ',
			'box-updateLabels': 'Completar automaticamente as etiquetas baleiras co nome da ligazón relacionada.',
			'import': 'Importar',
			'error-api': 'Erro de comunicación coa API!',
			'error-wiki': 'Descoñécese o wiki seleccionado!',
			'error-page': 'A páxina non existe!',
			'error-pageNotFound': 'Non se atopou ningunha ligazón no wiki seleccionado!',
			'error-save': 'Erro ao gardar: ',
			'success-links': 'Importáronse as ligazóns!',
			'success-labels': 'Importáronse as etiquetas!',
			'nolinkstoupdate': 'Xa están importadas todas as ligazóns. Non hai nada que facer!'
		},

Cheers! --Toliño (talk) 19:04, 21 January 2013 (UTC)Reply

  Done. Tpt (talk) 20:43, 21 January 2013 (UTC)Reply

svenska (sv) edit

		'sv': {
			'box-title': 'Importera interwiki',
			'box-warning': 'Varning: Detta överför automatiskt språklänkar från ett projekt utan att kontrollera om det föreligger några iw-konflikter. Du måste kontrollera alla interwikilänkar på den valda sidan innan du laddar upp den på Wikidata.',
			'box-lang': 'från: ',
			'box-updateLabels': 'Komplettera automatiskt tomma labels med innehållet i den relaterade länken.',
			'import': 'Importera',
			'error-api': 'Kommunikationsproblem med API!',
			'error-wiki': 'Det valda projektet är okänt!',
			'error-page': 'sidan existerar inte!',
			'error-pageNotFound': 'Ingen sida hittades på det valda projektet!',
			'error-save': 'Save error: ',
			'success-links': 'Länkar importerade!',
			'success-labels': 'Labels importerade!',
			'nolinkstoupdate': 'Alla länkar är redan importerade, finns inget att komplettera!'
		},

-- Lavallen (block) 17:02, 23 January 2013 (UTC)Reply

  Done. Thanks. Tpt (talk) 17:12, 23 January 2013 (UTC)Reply
Made a small correction above, sorry! -- Lavallen (block) 17:18, 23 January 2013 (UTC)Reply
  Tehty. --Stryn (talk) 18:26, 23 January 2013 (UTC)Reply

Parentheses that should be included edit

Would it be possible to have some way to make the gadget not ignore parentheticals and such? This came up on Q3913001, which on about half the 'pedias has its number in parentheses: a user updated the links, but the label saved as simply Wikipedia, not (274301) Wikipedia (I mean, one could argue that "Wikipedia" is the most precise label name, but that's beside the point). I was thinking maybe a by-default-checked option that would say like "Ignore parentheticals in title", or something like that. I'm sure this could be useful on any number of types item, especially songs and books. — PinkAmpers&(Je vous invite à me parler) 18:50, 4 February 2013 (UTC)Reply

Japanese translation edit

{{Edit request}} Please add the translation below into the script.

		'ja': {
			'box-title': '言語間リンクを取り込む',
			'box-warning': '警告:このスクリプトは衝突の有無を調べずにひとつのウィキから言語間リンクを取り込みます。ウィキデータに投稿する前に、選択したウィキにある言語間リンクに問題がないかチェックしてください。',
			'box-lang': '取り込み元:',
			'box-updateLabels': '空のラベルを関連するリンクの名前で補完する。',
			'import': '取り込む',
			'error-api': 'APIとの通信でエラーが発生しました。',
			'error-wiki': '選択されたウィキが見つかりません。',
			'error-page': 'ページが存在しません。',
			'error-pageNotFound': '選択されたウィキにリンクがありません。',
			'error-save': '保存のエラー:',
			'success-links': 'リンクが取り込まれました。',
			'success-labels': 'ラベルが取り込まれました。',
			'nolinkstoupdate': 'リンクはすべて取り込み済みです。これ以上できることはありません。'
		},

Thanks, --Whym (talk) 02:00, 9 February 2013 (UTC)Reply

  Done --Stevenliuyi (talk) 07:42, 9 February 2013 (UTC)Reply
Thanks a lot :) --Whym (talk) 13:49, 9 February 2013 (UTC)Reply

fa.wiki edit

please add this variabels

'box-updateLabels': 'کامل‌گردن خودکار برچسب‌های خالی بر اساس پیوند مرتبط',

'success-labels': 'برچسب درون‌ریزی شد!'

thank youReza1615 (talk) 17:19, 14 February 2013 (UTC)Reply

please add this the bottom of fa:{ . thanksReza1615 (talk) 12:38, 19 February 2013 (UTC)Reply
  Done. --Stryn (talk) 12:43, 19 February 2013 (UTC)Reply

suggestion edit

I have some suggestions

1-In many cases import interwiki from specific lang can add many interwikis for example in a case en.wiki has conflict but de.wiki doesn't have so importing from de can help user.

Is it possible add loop for tool to scan all lang and import is it possible? ( it can be a selectable option)

2-in popup message please add link to article that we want import from that. we can click on that link and remove interwiki manually!
3-please aline conflict errors in new lines now it is messy.thanksReza1615 (talk) 12:15, 19 February 2013 (UTC)Reply

Macedonian (mk) translation edit

Could you please add the following Macedonian translation? Thanks. --B. Jankuloski (talk) 21:27, 22 February 2013 (UTC)Reply

		'mk': {
			'box-title': 'Увези меѓувики',
			'box-warning': 'Предупредување: Оваа скрипта автоматски увезува јазични врски од едно вики без да проверува можни косења. Вие сте одговорни да ги проверите сите меѓувики на страницата на саканото вики пред да ги подигнете на Википодатоците!',
			'box-lang': 'од: ',
			'box-updateLabels': 'Автодовршувај празни етикети со името на поврзаната врска.',
			'import': 'Увези',
			'error-api': 'Грешка во општењето со API-прилогот!',
			'error-wiki': 'Избраното вики е непознато!',
			'error-page': 'Оваа страница не постои!',
			'error-pageNotFound': 'Не пронајдов врски на избраното вики!',
			'error-save': 'Грешка при зачувување: ',
			'success-links': 'Врските се увезени!',
			'success-labels': 'Етикетите се увезени!',
			'nolinkstoupdate': 'Сите врски се веќе увезени. Немам што повеќе да направам!'
  Done thanks --Bene* talk 12:01, 23 February 2013 (UTC)Reply

import interwiki not working? edit

hi there, just added this page:

http://www.wikidata.org/wiki/Q5630321

and hit the 'import interwiki' link but when it comes up the dropdown box of sources to add is empty  – The preceding unsigned comment was added by Jeremytarling (talk • contribs).

First you need to add one link to the item, then you can import links from the link you added. --Stryn (talk) 14:35, 1 March 2013 (UTC)Reply

Update Spanish translation edit

{{edit request}}

'es': {
			'box-title': 'Importar interwikis',
			'box-warning': '¡Atención: este script importa automáticamente los enlaces interlingüísticos de una wiki sin comprobar si existen conflictos. Tendrás que comprobar todos los interwikis de la página de la wiki elegida antes de subirlos a Wikidata!',
			'box-lang': 'desde: ',
			'box-updateLabels': 'Autocompletar las etiquetas vacías con el nombre del enlace relacionado.',
			'import': 'Importar',
			'error-api': '¡Error de comunicación con la API!',
			'error-wiki': 'La wiki seleccionada es desconocida',
			'error-page': 'La página no existe',
			'error-pageNotFound': 'No se encontraron enlaces para la wiki seleccionada',
			'error-save': 'Error al guardar: ',
			'success-links': '¡Enlaces importados!',
			'success-labels': '¡Etiquetas importadas!',
			'nolinkstoupdate': 'Ya están importados todos los enlaces. ¡No hay nada que hacer!'
		},

Please update the Spanish translation with this, I have added the new phrase. --Vivaelcelta (talk) 20:16, 2 March 2013 (UTC)Reply

  Done. --Stryn (talk) 20:30, 2 March 2013 (UTC)Reply

Feature request: Ignore interwiki to section edit

When importing en:Google Toolbar, slurpInterwiki fails because of "ja:Googleのサービス#Google ツールバー". Instead of ignoring this link, slurpInterwiki tries to add "ja:Googleのサービス" and got a conflict. -- ChongDae (talk) 06:26, 6 March 2013 (UTC)Reply

  Done. Tpt (talk) 06:52, 6 March 2013 (UTC)Reply

redirect nb to no edit

please add redirect form nb.wiki to no.wiki and when tool finds nbwiki link switches to nowiki. bug case hereReza1615 / T 18:28, 6 March 2013 (UTC)Reply

in correct site link edit

In conflict cases when tool send alarm it shows Item's link and language's link but local wiki's link don't redirect to local wiki and it shows incorrect link in wikidata.i.e. for Q638608 it shows Save error: Edit not allowed: Site link fiwiki:Ohjelmistotuotanto already used by item Q80993. which fiwiki:Ohjelmistotuotanto not redirect correctly to fr.wiki ▬ Reza1615 / T 19:33, 6 March 2013 (UTC)Reply

Help edit

I'm sorry for the inconvenience if there is a better place to ask this, but I cannot understand how to use this gadget (specifically in Q6596462). Wikidata:Tools#SlurpInterwiki says there is an "Import interwiki" link in the toolbox, but I can't find it. What/where is the toolbox? Opraco (talk) 22:28, 9 March 2013 (UTC)Reply

The "toolbox" is on the left site of each item's page. --Bene* talk 22:33, 9 March 2013 (UTC)Reply
Oops, found it.   Thanks. Opraco (talk) 22:39, 9 March 2013 (UTC)Reply

Bengali translation edit

Please add this

		'bn': {
			           'box-title': 'আন্তঃউইকি আমদানি',
			           'box-warning': 'সতর্কতা: এই স্ক্রিপ্টটি স্বয়ংক্রিয়ভাবে কোন দ্বন্দ্ব পরীক্ষা ছাড়াই উইকি থেকে ভাষাসমূহের সংযোগগুলি আমদানি করবে। উইকিউপাত্তে আপলোড করার আগে আপনার নির্বাচিত পাতাটির আন্তঃউইকিসমূহ পরীক্ষা করা উচিত!',
			           'box-lang': 'থেকে: ',
			           'box-updateLabels': 'স্বয়ং-সম্পূর্ণ খালি লেবেলের সঙ্গে সম্পর্কিত লিঙ্কের নাম।',
			           'import': 'আমদানি',
		            'error-api': 'এপিআই-এর সাথে যোগাযোগ ত্রুটি!',
			           'error-wiki': 'নির্বাচন করা উইকিটি অজানা!',
			           'error-page': 'পাতাটি বিদ্যমান নেই!',
			           'error-pageNotFound': 'নির্বাচন করা উইকিতে কোন লিঙ্ক পাওয়া যায় নি!',
			           'error-save': 'ত্রুটি সংরক্ষণ: ',
			           'success-links': 'লিঙ্ক আনা হয়েছে!',
			           'success-labels': 'লেবেলগুলি আনা হয়েছে!',
			           'nolinkstoupdate': 'সমস্ত সংযোগগুলি ইতিমধ্যেই আনা হয়েছে। কিছুই করার নেই!'

--Leemontalk 15:16, 11 March 2013 (UTC)Reply

  Done --Bene* talk 18:07, 11 March 2013 (UTC)Reply

Indonesian & Minangkabau translations edit

Please add Indonesian & Minangkabau translations.

		'id': {
			'box-title': 'Impor interwiki',
			'box-warning': 'Peringatan: Skrip ini otomatis mengimpor interwiki dari suatu wiki tanpa pemeriksaan konflik. Anda harus memeriksa semua interwiki pada wiki terpilih sebelum meng-upload ke Wikidata!',
			'box-lang': 'dari: ',
			'box-updateLabels': 'Otomatis mengisi label kosong dengan judul link terkait.',
			'import': 'Impor',
			'error-api': 'Kesalahan komunikasi API!',
			'error-wiki': 'Wiki yang dipilih tidak diketahui!',
			'error-page': 'Halaman tidak ada!',
			'error-pageNotFound': 'Tidak ada pranala pada wiki yang dipilih!',
			'error-save': 'Tidak dapat menyimpan: ',
			'success-links': 'Interwiki telah diimpor!',
			'success-labels': 'Label telah diimpor!',
			'nolinkstoupdate': 'Semua interwiki sudah diimpor. Tidak ada yang bisa dilakukan lagi!'
		},
		'min': {
			'box-title': 'Impor interwiki',
			'box-warning': 'Paringatan: Skrip ko otomatis mangimpor interwiki dari suatu wiki tanpa pamariksaan konflik. Sanak musti mamareso kasado interwiki pado wiki tapiliah sabalum mang-upload ka Wikidata!',
			'box-lang': 'dari: ',
			'box-updateLabels': 'Otomatis mangisi label kosong jo judul link takaik.',
			'import': 'Impor',
			'error-api': 'Kasalahan komunikasi API!',
			'error-wiki': 'Wiki nan dipiliah indak dikatahui!',
			'error-page': 'Laman indak ado!',
			'error-pageNotFound': 'Indak ado pautan pado wiki nan dipiliah!',
			'error-save': 'Indak dapek manyimpan: ',
			'success-links': 'Interwiki lah diimpor!',
			'success-labels': 'Label lah diimpor!',
			'nolinkstoupdate': 'Sado interwiki alah diimpor. Indak ado nan dapek dibuek lai!'
		},

Thanks in advance.  Ę-oиė  >>> 20:54, 18 March 2013 (UTC)Reply

  --CENNOXX (talk) 20:39, 19 March 2013 (UTC)Reply

vi translation edit

               'vi': {
			'box-title': 'Nhập khẩu interwiki',
			'box-warning': 'Cảnh báo: Đoạn mã này tự động nhập các liên kết ngôn ngữ từ một wiki mà không kiểm tra đụng độ. Bạn phải kiểm tra tất cả các liên kết liên wiki trong trang của wiki bạn chọn trước khi tải nó lên Wikidata!',
			'box-lang': 'từ: ',
			'box-updateLabels': 'Tự động hoàn tất các nhãn trống với tên của liên kết liên quan.',
			'import': 'Nhập khẩu',
			'error-api': 'Có lỗi khi liên hệ với API!',
			'error-wiki': 'Không rõ wiki được chọn!',
			'error-page': 'Trang không tồn tại!',
			'error-pageNotFound': 'Không tìm thấy liên kết trong wiki được chọn!',
			'error-save': 'Lỗi khi lưu: ',
			'success-links': 'Liên kết đã nhập xong!',
			'success-labels': 'Nhãn đã nhập xong!',
			'nolinkstoupdate': 'Tất cả các liên kết đều đã nhập xong. Không còn gì để làm!'
		},

Vinhtantran (talk) 00:31, 19 March 2013 (UTC)Reply

  --CENNOXX (talk) 20:39, 19 March 2013 (UTC)Reply

zh-cn edit

It appear 2 same button in zh-cn? tntchn Comment · Contribs 17:22, 1 April 2013 (UTC)Reply

No problem now.... tntchn Comment · Contribs 03:05, 4 April 2013 (UTC)Reply

Bosnian translation edit

		'bs': {
			'box-title': 'Unesi međuwiki veze',
			'box-warning': 'Upozorenje: Ova skripta automatski unosu međuwiki veze sa jedne wiki stranice bez provjere da li postoji konflikt. Potrebno je da provjerite sve međuwiki veze na izabranoj wiki stranici prije nego što ih prenesete na Wikidata!',
			'box-lang': 'od: ',
			'box-updateLabels': 'Automatski popuniti prazne oznake sa imenom pripadajući vezi.',
			'import': 'Unesi',
			'error-api': 'Greška u komunikaciji sa API-om!',
			'error-wiki': 'Izabrana wiki nije poznata!',
			'error-page': 'Stranica ne postoji!',
			'error-pageNotFound': 'Nijedna veza nije pronađena na izabranoj wiki!',
			'error-save': 'Greška pri sačuvanju: ',
			'success-links': 'Veze unešene!',
			'success-labels': 'Oznake unešene!',
			'nolinkstoupdate': 'Sve veze su već unešene. Nema promjena!'
		},

-- Edinwiki (talk) 16:41, 13 April 2013 (UTC)Reply

  Added ·addshore· talk to me! 10:09, 7 June 2013 (UTC)Reply

Belarusan translation edit

		'be-x-old': {

or

		'be-tarask': {
			'box-title': 'Імпартаваць інтэрвікі',
			'box-warning': 'Увага: гэты скрыпт аўтаматычна імпартуе міжмоўныя спасылкі з пэўнага разьдзелу без праверкі на канфлікты. Вам неабходна ўласнаручна праверыць інтэрвікі на адсутнасьць канфліктаў перад загрузкай у ВікіЗьвесткі!',
			'box-lang': 'з: ',
			'box-updateLabels': 'Аўтазапаўненьне пустых метак назваю зьвязанай спасылкі.',
			'import': 'Імпарт',
			'error-api': 'Памылка камунікацыі з API!',
			'error-wiki': 'Абраны разьдзел невядомы!',
			'error-page': 'Старонка не існуе!',
			'error-pageNotFound': 'У абраным разьдзеле інтэрвікаў няма!',
			'error-save': 'Памылка захаваньня: ',
			'success-links': 'Спасылкі імпартаваныя!',
			'success-labels': 'Меткі імпартаваныя!',
			'nolinkstoupdate': 'Усе спасылкі ўжо імпартаваныя раней!'
		}

Besides, please add «беларуская» to the «Import interwiki» window, because seems like «be-x-old» is the only option at the drop-down menu which hasn't it's own language name. Thanks. --Taravyvan Adijene (talk) 09:16, 7 June 2013 (UTC)Reply

  Added, I'm not quite sure I understand the rest of your request. ·addshore· talk to me! 10:22, 7 June 2013 (UTC)Reply
Look, I wish to import interwikis with the script (e.g. at Q9432878). So I press "Import interwiki", after that window opens to select. I press drop-down box with the interwiki list. It has such options: "be-x-old", "cs (чэская)" and "sk (славацкая)". Could You please add "(беларуская)" to the "be-x-old" option as well, because it's probably the only language on the list which hasn't it's description. --Taravyvan Adijene (talk) 20:00, 9 June 2013 (UTC)Reply

Ukrainian l10n edit

So it's:

		'uk': {
			'box-title': 'Імпорт інтервікі',
			'box-warning': 'Увага: цей скрипт автоматично імпортує інтервікі-посилання без перевірки на конфлікти. Ви повинні самостійно перевірити всі інтервікі сторінки обраної вікі перед завантаженням їх на Вікідані!',
			'box-lang': 'з: ',
			'box-updateLabels': 'Автоматично заповнювати порожні назви елементів назвами пов\'язаних посилань.',
			'import': 'Імпорт',
			'error-api': 'Проблема спілкування з API!',
			'error-wiki': 'Обрано невідому вікі!',
			'error-page': 'Сторінка не існує!',
			'error-pageNotFound': 'В обраному розділі не знайдено інтервікі-посилань!',
			'error-save': 'Помилка збереження: ',
			'success-links': 'Посилання імпортовано!',
			'success-labels': 'Назви імпортовано!',
			'nolinkstoupdate': 'Усі інтервікі-посилання вже раніше імпортовано. Немає що робити!'
		},

Thanks! --Base (talk) 09:29, 7 June 2013 (UTC)Reply

  Added ·addshore· talk to me! 10:08, 7 June 2013 (UTC)Reply

Other projects edit

Adding prefix wikipedia before langlinks causes keyboard shortcuts no more works - before was only need to click d - and then select from few languages, sometimes was wanted as first - but now I must roll through list. What about langcode.project_code (en.wiki, hsb.wikt, cs.quote..) instead? JAn Dudík (talk) 20:41, 1 July 2013 (UTC)Reply

  Done. Tpt (talk) 09:12, 2 July 2013 (UTC)Reply

sr-ec and sr-el should also be supported edit

There is no import for Serbian Cyrillic and Latin. Only for sr code. All three variants should be supported. --Милан Јелисавчић (talk) 22:16, 23 September 2013 (UTC)Reply

lb-translation edit

Please add the luxembourgish translation

'lb': {
			'box-title': 'Interwiki importéieren',
			'box-warning': 'Opgepasst: Dëse Script importéiert d\'Interwiki-Linke vun enger Sproochversioun, ouni méiglech Konflikter ze kontrolléieren. Dir musst all Linken nokucken, Ier Dir se op Wikidata transferéiert!',
			'box-lang': 'vu(n): ',
			'box-updateLabels': 'Completéiert eidel Bezeechnunge mam Titel vum verbonnen Artikel.',
			'import': 'Importéieren',
			'error-api': 'Feeler bei der Kommunikatioun mat der API!',
			'error-wiki': 'Déi erausgesichte Wiki ass onbekannt!',
			'error-page': 'D\'Säit gëtt et net!',
			'error-pageNotFound': 'Kee Link an der erausgesichter Wiki fonnt!',
			'error-save': 'Feeler beim Späicheren: ',
			'success-links': 'Linken importéiert!',
			'nolinkstoupdate': 'All Linkean an Etiquette goufe schonn importéiert.'
		},

many thanks Robby (talk) 09:55, 27 September 2013 (UTC)Reply

  Done Tpt (talk) 19:45, 27 September 2013 (UTC)Reply
Many thanks for the update!
Unfortunately there are a few typing mistakes as well as a missing lb-translation for this reaosn I provide you a fixed version of this here:
'lb': {
			'box-title': 'Interwiki importéieren',
			'box-warning': 'Opgepasst: Dëse Script importéiert d\'Interwiki-Linke vun enger Sproochversioun, ouni méiglech Konflikter ze kontrolléieren. Dir musst all Linken nokucken, Ier Dir se op Wikidata transferéiert!',
			'box-lang': 'vu(n): ',
			'box-updateLabels': 'Completéiert eidel Bezeechnunge mam Titel vum verbonnen Artikel.',
			'import': 'Importéieren',
			'error-api': 'Feeler bei der Kommunikatioun mat der API!',
			'error-wiki': 'Déi erausgesichte Wiki ass onbekannt!',
			'error-page': 'D\'Säit gëtt et net!',
			'error-pageNotFound': 'Kee Link an der erausgesichter Wiki fonnt!',
			'error-save': 'Feeler beim Späicheren: ',
	        	'success-links': 'Linken importéiert!',
                        'success-labels': 'Etiquetten importéiert!',
			'nolinkstoupdate': 'All Linken an Etiquette goufe schonn importéiert. Et ass näischt z\'änneren'
		},
Sorry for the inconvenience caused by my lack of attention. Robby (talk) 22:02, 28 September 2013 (UTC)Reply
  Done Tpt (talk) 07:52, 30 September 2013 (UTC)Reply
Hello,
Unfortunately there is another typing mistake in the lb translattion. I would be great if you could replace the text of 'box-warning' with
'box-warning': 'Opgepasst: Dëse Script importéiert d\'Interwiki-Linke vun enger Sproochversioun, ouni méiglech Konflikter ze kontrolléieren. Dir musst all Linken nokucken, ier Dir se op Wikidata transferéiert!',
many thanks --Robby (talk) 07:03, 13 April 2014 (UTC)Reply
  Done --Ricordisamoa 07:30, 13 April 2014 (UTC)Reply
Hello,
Here ia another update for the lb-translation. It concerns 'success-labels' and 'nolinkstoupdate'
'success-labels': 'Etiketten importéiert!',
'nolinkstoupdate': 'All Linken an Etikette goufe schonn importéiert. Et ass näischt z\'änneren'
many thanks for your efforts on this. --Robby (talk) 18:49, 18 May 2014 (UTC)Reply

Save error: unknown language: commons edit

For every item where Wikidata contains a link to a Commons page the following error-message is displayed each time you try to use this Gadget: 'Save error: unknown language: commons'.

Unfortunately my js-knowledge is unsufficient ot debug this iisue further.

--Robby (talk) 11:36, 27 September 2013 (UTC)Reply

  Done It's fixed. Thanks for the report and the translation. Tpt (talk) 19:45, 27 September 2013 (UTC)Reply
many thanks for the fix --Robby (talk) 22:03, 28 September 2013 (UTC)Reply

Wikisource edit

Now that we can import links from Wikisource, can someone make this work with Wikisource? Thanks. --Wylve (talk) 20:13, 15 February 2014 (UTC)Reply

@Wylve: It does work. [1] Matěj Suchánek (talk) 20:33, 15 February 2014 (UTC)Reply
Sorry, my bad! -Wylve (talk) 20:39, 15 February 2014 (UTC)Reply

issue with imports from language gsw edit

Hello,

as soon as I try to launch this gadget with the option from 'gsw.wikipedia (Swiss German)' I have the impression to enter in an endless-loop and I had to interrupt the gadget by leaving the selected item. As soon as I return to the same item and select any other project to start from everything is fine again. For this reason I guess I can exclude a bad behavior from my computer. This is quite annoying as unfortunatetly gsm.wikipedia is quite often listed as first project. In order to check this issue you may try to launch the function Import Interwiki for item Q3257.

Best regards --Robby (talk) 20:48, 3 May 2014 (UTC)Reply

there is no gws.wikipedia. seems to come from my fix --Akkakk 21:28, 3 May 2014 (UTC)Reply
should be fixed now --Akkakk 21:59, 3 May 2014 (UTC)Reply
everything works again - thanks --Robby (talk) 06:06, 4 May 2014 (UTC)Reply

errorInfo edit

There is problem with formating errorinfo: I want to import IW, but some link is used in another item, so I got this error message:

Chyba při ukládání: The link cs:Šablona:Neověřeno is already used by item Q5962027|Q5962027. You may remove it from Q5962027|Q5962027 if it does not belong there or merge the items if they are about the exact same topic.

Double link is not correct - where it come from? JAn Dudík (talk) 08:55, 15 August 2014 (UTC)Reply

It seams that the backend changed the syntax of the error message. I can fix it. But I need for testing a situation where the error occurs. Where can I reproduce the error? --Fomafix (talk) 19:35, 17 August 2014 (UTC)Reply

I tried to fix the error without testing (diff). Please test. --Fomafix (talk) 15:48, 25 October 2014 (UTC)Reply

After Ricordisamoa added Wikidata local project pages (aka Wikidata:) edit

It can't work now and said :"The supplied language code was not recognized (unknown language: wikidata)". --Liuxinyu970226 (talk) 23:00, 19 August 2014 (UTC)Reply

What exactly are you doing? Please give an example. --Fomafix (talk) 06:24, 20 August 2014 (UTC)Reply
e.g. After Special:Diff/151781336 of project:Sandbox (Q3938). --Liuxinyu970226 (talk) 09:32, 20 August 2014 (UTC)Reply
I believe this issue is resolved now. Tpt (talk) 19:22, 20 August 2014 (UTC)Reply

Error message 'The selected wiki is unknown!' displayed for any language and any item edit

Hello,

Since yesterday every time I try to use this gadget by clicking on 'Import Interwiki' I get the error message 'The selected wiki is unknown!' As an example I tried it on Q50370 and despite of which language a chose to import from e.g. en, ace, ... I get each time this error message. It would be great if someone could fix this. --Robby (talk) 17:25, 26 October 2014 (UTC)Reply

Fixed. (diff) Thanks for testing and reporting. --Fomafix (talk) 21:05, 26 October 2014 (UTC)Reply
Many thanks! Everything is back to normal. --Robby (talk) 07:02, 27 October 2014 (UTC)Reply

Changes for Macedonian (mk) edit

{{Editprotected}}

Could you change the following for Macedonian (mk):

етикети into натписи

Етикетите into Натписите

Thank you very much. --B. Jankuloski (talk) 20:59, 27 October 2014 (UTC)Reply

  Done (diff) --Fomafix (talk) 21:42, 27 October 2014 (UTC)Reply

A change for Chinese Traditional (zh-hant) edit

{{Editprotected}} 導入 into 匯入

Thank you very much. -- -- By LNDDYL.(Talk01:28, 10 January 2015 (UTC)Reply

  Done  Hazard SJ  02:19, 12 January 2015 (UTC)Reply

{{Editprotected}}

  • 此程式將於未檢查跨語言連結衝突的情況下導入。你應於導入前檢查頁面中所有跨語言連結! into 此程式將於未檢查跨語言連結衝突的情況下匯入。你應於匯入前檢查頁面中所有跨語言連結!
  • 'import': '導入', into 'import': '匯入',
  • 跨語言連結已導入! into 跨語言連結已匯入!
  • 標籤已導入! into 標籤已匯入!
  • 所有連結已導入! into 所有連結已匯入!

Thank you very much.-- By LNDDYL.(Talk07:29, 17 January 2015 (UTC)Reply

  Done (diff) --Fomafix (talk) 11:28, 22 May 2015 (UTC)Reply

Add Wikibooks support edit

pls. --Liuxinyu970226 (talk) 02:00, 25 February 2015 (UTC)Reply

@Liuxinyu970226:   Done - Romaine (talk) 06:15, 25 February 2015 (UTC)Reply

Bug and suggestion edit

Two things:

  • The following error message appears in de UI:
    Fehler beim Speichern: The link [https://es.wikipedia.org/wiki/Ung%C3%BCento es:Ungüento] is already used by item Q4004659. You may remove it from Q4004659 if it does not belong there or merge the items if they are about the exact same topic.
    For some reason, instead of the link to the Wikipedia article (in this case es:Ungüento) only the source code is shown.
  • I would highly appreciate if all conflicts would be shown together, not just one. In the case above two conflicts had been fixed before.

Thank you for consideration. --Leyo 20:34, 9 July 2015 (UTC)Reply

Parsing of external links in Wikicode is not implemented yet. Maybe there is also a HTML message in the error, which can used directly. Sorry, I have less experience with this gadget. --Fomafix (talk) 10:24, 10 July 2015 (UTC)Reply
OK, thanks. And what about the second point above? Is there any problem for the implementation? --Leyo 09:35, 24 July 2015 (UTC)Reply
The displayed error message is the one received from the API. I don't think it is possible to output all errors without doing any modification to the Wikibase extension. Tpt (talk) 01:49, 26 July 2015 (UTC)Reply

Error message when trying to use when there is an interwiki link in fa (and other languages?) edit

When trying to use this gadget for Q8454515 I get the following error message

'Save error: Malformed input:رده:فیلم‌های اروینگ رپر

I've got similar error messages for other items too within the last few days.--Robby (talk) 05:35, 27 March 2017 (UTC)Reply

See the last sections on WD:DEV. Matěj Suchánek (talk) 13:03, 27 March 2017 (UTC)Reply
Many thanks Matěj Suchánek. Indeed the issue seems to be solved by now. Many thanks as welll to all those involved in sorting this out.--Robby (talk) 20:35, 27 March 2017 (UTC)Reply

HR translation edit

{{Edit request}} Please, add translation in croatian.

'hr': {
			'box-title': 'Uvoz međuwikija',
			'box-warning': 'Upozorenje: ova skripta automatski uvozi međuwiki poveznice bez provjere. Prije uvoza na Wikipodatke morate na stranici izabranog wikija pregledati sve međuwiki poveznice.',
			'box-lang': 'iz: ',
			'box-updateLabels': 'Samodovrši prazne oznake s imenom odgovarajuće poveznice.',
			'import': 'Uvezi',
			'error-api': 'Grješka u komunikaciji s APIjem.',
			'error-wiki': 'Označeni wiki nepoznat.',
			'error-page': 'Stranica ne postoji.',
			'error-pageNotFound': 'Nisu pronađene poveznice na označenom wikiju.',
			'error-save': 'Pogrješka spremanja: $1',
			'success-links': 'Poveznice uvezene.',
			'success-labels': 'Oznake uvezene.',
			'nolinkstoupdate': 'Sve su poveznice već prije uvezene.'
		},

Thanks.--Ma Ga 17:38, 8 June 2017 (UTC)Reply

  Done Matěj Suchánek (talk) 18:03, 8 June 2017 (UTC)Reply

Import from wiktionary - problem with () edit

When I try to import interwiki for categories from wiktionary, there is sometimes problem, taht this gadget automatically crops name Category:Verb (english) -> Category:Verb and Category:Verb (german) -> Category:Verb too. And now I have here two categories with same label and import is not possible in second case. It would be fine if there is possibility to not remove part in (). JAn Dudík (talk) 20:57, 22 June 2017 (UTC)Reply

I support this request. Pamputt (talk) 06:06, 27 June 2017 (UTC)Reply
I came here to mention the same thing. I think it would make sense to only remove information in brackets from main namespace pages because I've had the same problem with categories in other projects. Maybe we should just check for colons in the page name? Main namespace pages with colons and disambiguation information are probably quite rare. - Nikki (talk) 19:22, 28 June 2017 (UTC)Reply
@Fomafix: could you have a look at this request and give your opinion on it? Pamputt (talk) 22:31, 1 July 2017 (UTC)Reply
I did some queries to look at existing page names: In this query, I selected 3 million sitelinks (of 57 million in total, the query service isn't fast enough to do all of them without timing out) and filtered it to only include the ones containing a colon (followed by something other than a space) and brackets. I currently get 2721, over 90% of those are categories and templates and I only see 4 main namespace pages where I would definitely remove the bracketed text. - Nikki (talk) 12:37, 3 July 2017 (UTC)Reply
I would like to support the same issue/bug. In order to illustrate the issue i would like to give an exemple illustrationg the effort to solve the issue. when I tried to use this gadget on Q7135307 with the first try I got an error message Item Q32001720 already has label "Kategorie:Volleyballtrainer" associated with language code de, using the same description text. in order to solve this I have to change in item Q32001720 the label for language de, once this is done I will get another error message with a different item till i will have gone through all category items for Volleyball trainers. This can easily be 10, 20 or more items to be changed before I will be able to finalize the import of labels for item Q7135307. According to my experience this way of acting is really exhausting for users.--Robby (talk) 19:25, 14 September 2017 (UTC)Reply
I've put this issue as well on Wikidata:Contact_the_development_team#Import_of_interwikis_and_labels_with_gadget_slurpInterwiki_with_the_label_of_more_than_one_of_the_languages_includes_.28.....29 maybe this will give it a wider attention. --Robby (talk) 19:35, 14 September 2017 (UTC)Reply
  Done Tpt (talk) 17:24, 7 October 2018 (UTC)Reply

Remove zh-my edit

{{Edit request}} We recently got consensus to drop it: Wikidata:互助客栈#简繁问题 and phab:T156572. --Liuxinyu970226 (talk) 01:48, 6 January 2018 (UTC)Reply

Liuxinyu970226 I do not see any zh-my options. Or am I missing something? --Jarekt (talk) 02:52, 11 January 2018 (UTC)Reply
@Jarekt: Oh sorry, I mean to change
switch ( langs[ 0 ] ) {
								case 'en':
								case 'simple':
									langs = [ 'en', 'en-ca', 'en-gb' ];
									break;
								/*case 'zh':
									langs = [ 'zh', 'zh-cn', 'zh-tw', 'zh-sg', 'zh-mo', 'zh-hans', 'zh-hant', 'zh-hk', 'zh-my' ];
									break;*/
								...

to

switch ( langs[ 0 ] ) {
								case 'en':
								case 'simple':
									langs = [ 'en', 'en-ca', 'en-gb' ];
									break;
								case 'zh-my':
									langs = [ 'zh-hans' ];
									break;
								/*case 'zh':
									langs = [ 'zh', 'zh-cn', 'zh-tw', 'zh-sg', 'zh-mo', 'zh-hans', 'zh-hant', 'zh-hk' ];
									break;*/
								...

--Liuxinyu970226 (talk) 04:25, 11 January 2018 (UTC)Reply

  Done (c.f . ([Special:Diff/618799012]]). This piece of code is actually commented so it is not going to change anything to the gadget behaviours. Tpt (talk) 11:36, 11 January 2018 (UTC)Reply

update of lb-translations edit

{{Editprotected}} Here ia another update for the lb-translation. It concerns 'success-labels' and 'nolinkstoupdate' 'success-labels': 'Etiketten importéiert!', 'nolinkstoupdate': 'All Linken an Etikette goufe schonn importéiert. Et ass näischt z\'änneren'

many thanks for your efforts on this. Robby (talk) 09:27, 29 May 2020 (UTC)Reply

  Done. Special:Diff/1249966535. Tpt (talk) 16:58, 7 August 2020 (UTC)Reply

Save error: Unknown site: nbwiki edit

On various items when using this gadget I get the following error message: 'Save error: Unknown site: nbwiki' as an example i would like to cite: Q42678 where i tried to use this gadget by clicking in the side menu on 'Import interwiki' and then choosing the language da.wikipedia (Danish) I get the rror message 'Save error: Unknown site: nbwiki' when i then check on da:Makeni I do not find any link to nbwiki. I get this error message on various items and for various languages.

Do not hesitate to contact me for any further questions on this really annoying issue.Robby (talk) 22:56, 12 December 2020 (UTC)Reply

Another example for this behaviour occurs with Q157293 in relation with the language de and I get the error message and unfortunately I was not able to detect the reason for this error message. I would appreciate any feedback on this. Robby (talk) 14:10, 19 December 2020 (UTC)Reply
I believe it should be fixed by Special:Diff/1817906814. It seems that the Norwegian Wikipedia is identified by both "no" and "nb" but Wikidata expects "nowiki". Tpt (talk) 20:21, 23 January 2023 (UTC)Reply
Thanks for your quick reaction today.
Unfortunately the issue was not completely solved I checked on Q157293 , on Q42678, on Q561213 as well as on Q107031 where the issue continues to appear. Robby (talk) 23:20, 23 January 2023 (UTC)Reply
According to what I noticed it looks as if the error would only apply if there is an article on no-wikipedia. Robby (talk) 07:47, 24 January 2023 (UTC)Reply
I hope it is fixed now. Tpt (talk) 20:30, 25 January 2023 (UTC)Reply
  Fixed much appreciated Robby (talk) 10:25, 26 January 2023 (UTC)Reply
Return to "Gadget-slurpInterwiki.js" page.