MediaWiki talk:Gadget-RequestDeletion.js

From Wikidata
Jump to navigation Jump to search

This script adds a link at the top of each item with a link for quickly requesting a deletion on Wikidata:Requests for deletion.

How to use

Enable it in your preferences. In the "More" menu in the top-right corner, you will find a link that says "Request deletion".

Bugs[edit]

Here you can report Bugs.

Universe[edit]

Why on the page Q1 has icon "Deletion already requested" although this has not been asked to? --Stryn (talk) 06:51, 5 November 2012 (UTC)[reply]

Fixed. Thank you for reporting! --Bene* (talk) 16:28, 5 November 2012 (UTC)[reply]
Now it no longer appear in any of item that has been proposed for deletion. --Stryn (talk) 06:51, 6 November 2012 (UTC)[reply]
Should work now. --Bene* (talk) 12:10, 6 November 2012 (UTC)[reply]

Script does not work for me[edit]

I enabeld the script via the settings but nothing changed. (Maybe i just do not see the deletion button) --Sk!d (talk) 00:50, 5 January 2013 (UTC)[reply]

Same for me. But I originally thought that since I am admin (thus can delete), it does not appear to me because of that... But obviously it's bug.
Danny B. 00:55, 5 January 2013 (UTC)[reply]
Was a bug because of a missig komma. I also fixed the "check" method so now every page which is requested for deletion will be marked. --Bene* talk 09:25, 5 January 2013 (UTC)[reply]

Still not appearing. Where it should be and is it conflicting with other gadgets? --09:53, 12 May 2013 (UTC), Utar (talk)

Translations[edit]

If you speak any other language, please help to translate.

Dutch translation[edit]

Hi, here the dutch translation of this tool:

		'nl': {
			'title': 'Nomineren voor verwijdering',
			'description': 'Verzoek een verwijdering voor dit item.',
			'reason': 'Geef de reden voor verwijdering:',
			'error-reason': 'Je moet een reden geven!',
			'success': 'Verzoek succesvol ingediend'

--Wiki13 talk 22:13, 2 November 2012 (UTC)[reply]

Thank you very much :-) --Bene* (talk) 22:26, 2 November 2012 (UTC)[reply]

Norwegian translation[edit]

Hi, this is the norwegian translation of this tool:

		'nb': {
			'title': 'Be om sletting',
			'description': 'Be om sletting for dette elementet.',
			'reason': 'Oppgi hvorfor elementet bes slettet:',
			'error-reason': 'Du må oppgi en grunn!',
			'requested': 'Sletting er allerede forespurt',
			'success': 'Forespørsel var vellykket'
		},

		'no': {
			'title': 'Be om sletting',
			'description': 'Be om sletting for dette elementet.',
			'reason': 'Oppgi hvorfor elementet bes slettet:',
			'error-reason': 'Du må oppgi en grunn!',
			'requested': 'Sletting er allerede forespurt',
			'success': 'Forespørsel var vellykket'
		},

—Cocu— t 13:04, 3 November 2012 (UTC)[reply]

Thank you. I will add it immediately. --Bene* (talk) 13:07, 3 November 2012 (UTC)[reply]
Great. I have also added the translation of Deletion already requested above. —Cocu— t 21:01, 3 November 2012 (UTC)[reply]
that's very nice. Thank you :-) --Bene* (talk) 21:53, 3 November 2012 (UTC)[reply]

Finnish translation[edit]

Finnish translation is here:

		'fi': {
			'title': 'Ehdota poistamista',
			'description': 'Ehdota tämän kohteen poistamista.',
			'reason': 'Anna perustelu poistolle:',
			'error-reason': 'Sinun täytyy perustella poistopyyntö!',
			'requested': 'Poistoa on jo pyydetty',
			'success': 'Pyyntö tehty'

--Stryn (talk) 20:43, 3 November 2012 (UTC)[reply]

Thanks a lot. Could you also add the translation for Deletion already requested? --Bene* (talk) 20:49, 3 November 2012 (UTC)[reply]
Done, thanks. :) --Stryn (talk) 20:55, 3 November 2012 (UTC)[reply]
I'll add it. Thank you. :-) --Bene* (talk) 20:58, 3 November 2012 (UTC)[reply]

Russian Translation[edit]

		'ru': {
			'title': 'Запрос на удаление',
			'description': 'Запрос на удаление выбранного объекта.',
			'reason': 'Пожалуйста, укажите причину удаления:',
			'error-reason': 'Вы должны указать причину!',
			'requested': 'Запрос на удаление уже существует',
			'success': 'Запрос сохранён'
		},

--Zanka (talk) 21:54, 3 November 2012 (UTC)[reply]

Thank you very much. --Bene* (talk) 22:00, 3 November 2012 (UTC)[reply]

Italian translation[edit]

(copied from Wikidata:Project chat)

Absolutely:
'it': {
	'title': 'Richiesta di cancellazione',
	'description': 'Richiesta di cancellazione per questo elemento',
	'reason': 'Motivo della cancellazione:',
	'error-reason': 'Devi indicare il motivo!',
	'requested': 'Cancellazione già richiesta',
	'success': 'Richiesta effettuata con successo',
        'close': 'Chiudi'
},

--ValterVB (talk) 21:15, 3 November 2012 (UTC)[reply]

French translation[edit]

For the missing one:

		'fr': {
			'title': 'Demande de suppression',
			'description': 'Demander la suppression de cet élément.',
			'reason': 'Motif de suppression:',
			'error-reason': 'Vous devez indiquer un motif de suppression !',
			'requested': 'Une demande de suppression a déjà été effectuée.',
			'success': 'Demande effectuée avec succès.'
		},

Jean-Frédéric (talk) 00:26, 4 November 2012 (UTC)[reply]

Thank you :-) --Bene* (talk) 07:44, 4 November 2012 (UTC)[reply]

Esperanta traduko[edit]

		'eo': {
			'title': 'Forigpeto',
			'description': 'Peti forigon de ĉi tiu ero.',
			'reason': 'Forigkialo:',
			'error-reason': 'Vi devas mencii iun forigkialon !',
			'requested': 'Forigo jam estis petita.',
			'success': 'Sukcesa forigpeto.'
		},

--ArnoLagrange (talk) 10:28, 4 November 2012 (UTC)[reply]

Thanks --Bene* (talk) 11:15, 4 November 2012 (UTC)[reply]

Spanish translation[edit]

		'es': {
			'title': 'Petición de borrado',
			'description': 'Solicitar el borrado de este elemento.',
			'reason': 'Motivo de borrado:',
			'error-reason': '¡Debe especificar un motivo!',
			'requested': 'Este borrado ya ha sido solicitado',
			'success': 'Petición realizada'
		},

--Dalton2 (talk) 16:27, 6 November 2012 (UTC)[reply]

Very thanks! --Bene* (talk) 16:45, 6 November 2012 (UTC)[reply]
A correction:
			'requested': 'Este elemento ya ha sido propuesto para borrado',
The reason for the correction is that the old message doesn't fit well with the warning icon at the top right corner of the page. The old message says, literally, 'this deletion has already been requested', and, in the context of the icon, I think it's not a deletion what the system is talking about, but the item itself. The new message says, 'this item has already been proposed for deletion'. Am I right? Sorry and thanks. --Dalton2 (talk) 17:44, 6 November 2012 (UTC)[reply]
Yes, you're right. That's no problem. I'm glad you helping me translate this script :-) --Bene* (talk) 18:45, 6 November 2012 (UTC)[reply]
Thanks to you. --Dalton2 (talk) 21:08, 6 November 2012 (UTC)[reply]

Farsi Translation[edit]

		'fa': {
			'title': 'درخواست حذف',
			'description': 'درخواست حذف برای این مورد.',
			'reason': 'لطفا علت درخواست را بیان نمائید:',
			'error-reason': 'شما باید علت درخواست را بیان نمائید!',
			'requested': 'درخواست حذف انجام شد',
			'success': 'درخواست با موفقیت انجام شد'
		},

Photograpers (talk) 20:03, 6 November 2012 (UTC)[reply]

Added, thanks. Vogone (talk) 16:20, 7 February 2013 (UTC)[reply]

Japanese translation[edit]

		'ja': {
			'title': '削除依頼',
			'description': 'この項目を削除依頼に出す。',
			'reason': '削除の理由を指定してください:',
			'error-reason': '削除理由が必要です!',
			'requested': '既に削除依頼済み',
			'success': '削除依頼完了'
		},

Thanks. --fryed-peach (talk) 00:34, 22 February 2013 (UTC)[reply]

Done, thanks --Bene* talk 16:02, 22 February 2013 (UTC)[reply]
Sorry, not 'en' but 'ja'. Thanks for your correction. --fryed-peach (talk) 06:16, 23 February 2013 (UTC)[reply]

Minangkabau & Indonesia translation[edit]

		'id': {
			'title': 'Permintaan penghapusan',
			'description': 'Permintaan penghapusan untuk item ini.',
			'reason': 'Berikan alasan penghapusan:',
			'error-reason': 'Anda harus memberikan alasan!',
			'requested': 'Penghapusan sudah diminta',
			'success': 'Permintaan berhasil'
		},
		'min': {
			'title': 'Mintak dihapuih',
			'description': 'Tolong hapuih item ko.',
			'reason': 'Agiah alasan pangapuihan:',
			'error-reason': 'Harus ado alasan!',
			'requested': 'Alah dimintak',
			'success': 'Sukses'
		},

Please add the translation. Kind regards,  Ę-oиė  >>> 02:48, 23 February 2013 (UTC)[reply]

✓ Done, thanks Iwan. Vogone talk 12:01, 23 February 2013 (UTC)[reply]
You're welcome, Sir. :)  Ę-oиė  >>> 07:56, 24 February 2013 (UTC)[reply]

Galician[edit]

		'gl': {
			'title': 'Petición de borrado',
			'description': 'Solicitar o borrado deste elemento.',
			'reason': 'Motivo do borrado:',
			'error-reason': 'Debes especificar un motivo!',
			'requested': 'Este elemento xa foi proposto para ser borrado',
			'success': 'Petición realizada'
                },

Please add this translation --Vivaelcelta (talk) 01:51, 3 March 2013 (UTC)[reply]

✓ Done-- DangSunM (T · C) 01:55, 3 March 2013 (UTC)[reply]

Korean Translation[edit]

		'Ko': {
			'title': '삭제 요청',
			'description': '이 항목을 삭제 신청합니다.',
			'reason': '이유를 제시해 주세요:',
			'error-reason': '반드시 이유를 제시해 주셔야 합니다!',
			'requested': '이미 요청이 올라와 있습니다.',
			'success': '요청이 성공적으로 등록되었습니다'
		},

I already add it, If you find some errors please call me.- DangSunM (T · C) 02:02, 3 March 2013 (UTC)[reply]

Hebrew translation[edit]

		'he': {
			'title': 'בקשת מחיקה',
			'description': 'בקשת מחיקה עבור פריט זה',
			'reason': 'אנא הזן סיבה עבור המחיקה:',
			'error-reason': 'אתה מוכרח להזין סיבה!',
			'requested': 'המחיקה כבר נתבקשה',
			'success': 'בקשתך התקבלה'
		},

Thanks חיים 7 (talk) 22:16, 3 March 2013 (UTC)[reply]

✓ Done --Bene* talk 18:17, 4 March 2013 (UTC)[reply]

Swedish translation[edit]

		'sv': {
			'title': 'Ansök om radering',
			'description': 'Begär radering för denna artikel.',
			'reason': 'Ange anledning för borttagning:',
			'error-reason': 'Du måste ge en anledning!',
			'success': 'Begäran har skickats'

-Josve05a (talk) 13:38, 23 April 2013 (UTC)[reply]

Portuguese translations[edit]

Please, add this translations (pt and pt-br):

'pt': {
'title': 'Pedir eliminação',
'description': 'Pedir eliminação para este item.',
'reason': 'Por favor, dê o motivo para a eliminação:',
'error-reason': 'Você deve especificar um motivo!',
'requested': 'Este item já foi proposto para eliminação',
'success': 'Pedido realizado com sucesso'
},

and

'pt-br': {
'title': 'Pedir eliminação',
'description': 'Pedir eliminação para este item.',
'reason': 'Por favor, dê o motivo para a eliminação:',
'error-reason': 'Você deve especificar um motivo!',
'requested': 'Este item já foi proposto para eliminação',
'success': 'Pedido realizado com sucesso'
},

Thanks, Lucasdj98talk 13:22, 6 March 2013 (UTC)[reply]

✓ Done --CENNOXX (talk) 22:23, 6 March 2013 (UTC)[reply]

Latvian translation[edit]

'lv': {
'title': 'Pieprasīt dzēšanu',
'description': 'Pieprasīt šī ieraksta dzēšanu.',
'reason': 'Dzēšanas iemesls:',
'error-reason': 'Tev ir jāsniedz dzēšanas iemesls!',
'requested': 'Dzēšana jau ir tikusi pieprasīta',
'success': 'Pieprasījums ir veiksmīgs'
'close': 'Aizvērt'
},

--Edgars2007 (talk) 16:30, 24 March 2013 (UTC)[reply]

✓ Done. --Stryn (talk) 16:34, 24 March 2013 (UTC)[reply]

Chinese translation[edit]

{{Editprotected}}

'zh','zh-hans','zh-cn','zh-sg','zh-my': {
'title': '提请删除',
'description': '提请删除此数据项',
'reason': '理由:',
'error-reason': '请给出理由。',
'requested': '已有提删请求',
'success': '请求成功'
'close': '关闭'
},

--GZWDer (talk) 15:13, 14 June 2013 (UTC)[reply]

✓ Done Thanks for the translation! The Anonymouse (talk) 16:46, 14 June 2013 (UTC)[reply]

Vietnamese translation[edit]

		 'vi': {
			'title': 'Đề nghị xóa',
			'description': 'Đề nghị xóa mục này.',
			'reason': 'Xin đưa ra lý do để xóa:',
			'error-reason': 'Bạn cần phải đưa ra lý do!',
			'error-requested': 'Xóa theo đề nghị',
			'error-api': 'Đã xảy ra lỗi trong khi đề nghị xóa: $1',
			'success': 'Đề nghị thành công',
			'close': 'Đóng'
		},

--Namnguyenvn (talk) 17:47, 9 February 2014 (UTC)[reply]

✓ Done (diff) --Fomafix (talk) 21:09, 9 February 2014 (UTC)[reply]

Luxembourgish translation[edit]

		 'lb': {
			'title': 'Ufro fir ze läschen',
			'description': 'Stellt eng Ufro fir ze Läsche fir dës Säit.',
			'reason': 'Gitt w.e.g. e Grond fir dës Ufro un:',
			'error-reason': 'Dir musst e Grond uginn!',
			'error-requested': 'Ufro fir ze Läsche gouf scho gestallt',
			'error-api': 'Bei der Ufro fir ze Läschen ass e Feeler geschitt: $1',
			'success': 'Ufro fir ze Läsche gouf gestallt.',
			'close': 'Zoumaachen'
		},

--Robby (talk) 18:14, 18 May 2014 (UTC)[reply]

Ukrainian translation[edit]

{{Edit request}}

		'uk': {
			'title': 'Запит на вилучення',
			'description': 'Подати запит на вилучення цього елемента.',
			'reason': 'Будь ласка, вкажіть причину вилучення:',
			'error-reason': 'Ви повинні вказати причину!',
			'error-requested': 'Запит на вилучення вже подано',
			'error-api': 'Сталася помилка при створенні запиту на вилучення: $1',
			'success': 'Запит успішно подано',
			'close': 'Закрити',
			'notice': 'Увага: елементи-дублікати тепер необхідно об\'єднати; будь ласка, ознайомтесь із Help:Merge/uk.'
		},

I'm not sure if I did it right with that apostrophe in the middle of the "notice" message. If it should be written in some other way, correct it please. The word should be об'єднати --Piramidion (talk) 15:07, 5 March 2016 (UTC)[reply]

✓ Done Matěj Suchánek (talk) 16:38, 5 March 2016 (UTC)[reply]
Thanks!--Piramidion (talk) 17:24, 5 March 2016 (UTC)[reply]

Serbian translation[edit]

HI! Please add Serbian translation in Gadget. Thanks!

		'sr': {
			'title': 'Захтев за брисање',
			'description': 'Захтев за брисање ове ставке.',
			'reason': 'Молимо Вас да наведете разлог брисања:',
			'error-reason': 'Морате да наведете разлог!',
			'error-requested': 'Већ је поднешен захтев за брисање',
			'error-api': 'Дошло је до грешке приликом подношења захтева: $1',
			'success': 'Захтевање је успело',
			'close': 'Затвори',
			'notice': 'Пажња: дупле ставке морају да се спајају, молимо да видите Help:Merge.'
		},

Zoranzoki21 (talk) 17:28, 29 March 2017 (UTC)[reply]

✓ Done --Matěj Suchánek (talk) 11:27, 2 February 2020 (UTC)[reply]

Polish[edit]

Hi! I added Polish translation!

		'pl': {
			'title': 'Zgłoszenie do usunięcia',
			'description': 'Zgłoś ten element do usunięcia.',
			'reason': 'Podaj powód usunięcia:',
			'error-reason': 'Musisz podać powód!',
			'error-requested': 'Inny użytkownik zgłosił już ten element do usunięcia.',
			'error-api': 'Wystąpił błąd podczas realizacji zgłoszenia: $1',
			'success': 'Zgłoszenie przyjęte.',
                        'close': 'Zamknij'
			'notice': 'Uwaga: w celu połączenia duplikatów zobacz Help:Merge.'
		},

Nadzik (talk) 19:39, 11 January 2020 (UTC)[reply]

The gadget is already translated into Polish. Do you propose updating the translation? --Matěj Suchánek (talk) 11:28, 2 February 2020 (UTC)[reply]
Matěj Suchánek, yes I would. The last version also does not have all of the components translated. Thanks! Nadzik (talk) 10:32, 19 February 2020 (UTC)[reply]
✓ Done --Matěj Suchánek (talk) 17:34, 19 February 2020 (UTC)[reply]

Log[edit]

03/11/2012
  • +Icon if already requested
02/11/2012
  • created

Better regex[edit]

Does this correspond to item numbers? If so you may want to replace the regex by /Q[0-9]+/ because we already have items whose ID has more than 4 digits (Q10000). Helder 16:05, 8 November 2012 (UTC)

Thanks for the improvement. I will work at the regex so is just the first idea. --Bene* (talk) 16:09, 8 November 2012 (UTC)[reply]

Property[edit]

This gadget can be adapted for Property namespace? Thanks a lot! --Beta16 (talk) 19:18, 5 February 2013 (UTC)[reply]

Section link[edit]

Since WD:RFD can be a long page at times, I think it would be helpful to include a section link to the report for the convenience of users stalking the page on their watchlists, just like with the standard "add topic" button. I believe that this could be accomplished with:

'summary': '[[Wikidata:Requests for deletions#Q' + item + '|→‎]] added [[Q' + item + ']] ([[MediaWiki talk:Gadget-RequestDeletion.js|DR]])',

— PinkAmpers&(Je vous invite à me parler) 01:54, 18 February 2013 (UTC)[reply]

✓ Done --Bene* talk 20:17, 18 February 2013 (UTC)[reply]

default reasons[edit]

Please add some default reasons like (Duplicate or empty or merged) in a combobox which user can select it by his language but the result in wd:RFD should be in English▬ Reza1615 / T 15:29, 10 March 2013 (UTC)[reply]

Updated translations[edit]

Spanish[edit]

		'es': {
			'title': 'Solicitar el borrado',
			'description': 'Solicitar el borrado de este elemento.',
			'reason': 'Motivo de borrado:',
			'error-reason': '¡Debe especificar un motivo!',
			'error-requested': 'Este elemento ya ha sido propuesto para borrado',
			'success': 'Petición realizada',
			'close': 'Cerrar'

Please change the translate with this --Vivaelcelta (talk) 09:04, 11 March 2013 (UTC)[reply]

✓ DoneReza1615 / T 09:30, 11 March 2013 (UTC)[reply]

Galician[edit]

		'gl': {
			'title': 'Solicitar o borrado',
			'description': 'Solicitar o borrado deste elemento.',
			'reason': 'Motivo do borrado:',
			'error-reason': 'Debes especificar un motivo!',
			'error-requested': 'Este elemento xa foi proposto para ser borrado',
			'success': 'Petición realizada',
			'close': 'Pechar'

Please change the translate with this. --Vivaelcelta (talk) 09:04, 11 March 2013 (UTC)[reply]

✓ DoneReza1615 / T 09:30, 11 March 2013 (UTC)[reply]

French[edit]

For the missing one:

		'fr': {
			'title': 'Demande de suppression',
			'description': 'Demander la suppression de cet élément.',
			'reason': 'Motif de suppression:',
			'error-reason': 'Vous devez indiquer un motif de suppression !',
			'requested': 'Une demande de suppression a déjà été effectuée.',
			'success': 'Demande effectuée avec succès.',
			'close': 'Fermer'
		},

Jean-Frédéric (talk) 09:55, 11 March 2013 (UTC)[reply]

✓ Done. --Stryn (talk) 09:59, 11 March 2013 (UTC)[reply]

Update Norwegian[edit]

Hi, this is the updated Norwegian translation of this tool:

		'nb': {
			'title': 'Be om sletting',
			'description': 'Be om sletting for dette elementet.',
			'reason': 'Oppgi hvorfor elementet bes slettet:',
			'error-reason': 'Du må oppgi en grunn!',
			'requested': 'Sletting er allerede forespurt',
			'success': 'Forespørsel var vellykket',
			'close': 'Lukk'
		},

		'no': {
			'title': 'Be om sletting',
			'description': 'Be om sletting for dette elementet.',
			'reason': 'Oppgi hvorfor elementet bes slettet:',
			'error-reason': 'Du må oppgi en grunn!',
			'requested': 'Sletting er allerede forespurt',
			'success': 'Forespørsel var vellykket',
			'close': 'Lukk'
		},

—Cocu— t 10:23, 11 March 2013 (UTC)[reply]

✓ Done. --Stryn (talk) 10:27, 11 March 2013 (UTC)[reply]

Japanese[edit]

		'ja': {
			'title': '削除依頼',
			'description': 'この項目を削除依頼に出す。',
			'reason': '削除の理由を記入してください:',
			'error-reason': '削除理由が必要です!',
			'error-requested': '既に削除依頼済み',
			'success': '削除依頼完了',
 			'close': '中止' 
		},

Thanks. --fryed-peach (talk) 10:26, 11 March 2013 (UTC)[reply]

✓ Done. --Stryn (talk) 10:57, 11 March 2013 (UTC)[reply]

italian[edit]

{{Edit request}}

'it': {
        'title': 'Richiesta di cancellazione',
        'description': 'Richiesta di cancellazione per questo elemento',
        'reason': 'Motivo della cancellazione:',
        'error-reason': 'Devi indicare il motivo!',
        'error-requested': 'Cancellazione già richiesta',
        'error-api': 'Si è verificato un errore durante la richiesta di cancellazione: $1',
        'requested': 'Cancellazione già richiesta',
        'success': 'Richiesta effettuata con successo',
        'close': 'Chiudi',
        'notice': 'Attenzione: gli elementi duplicati ora devono essere uniti, vedi Help:Merge.'
},

--Viscontino talk 10:27, 11 March 2013 (UTC)[reply]

✓ Done. --Stryn (talk) 10:57, 11 March 2013 (UTC)[reply]
Don't forget delimiter comma at end. --fryed-peach (talk) 12:46, 11 March 2013 (UTC)[reply]

Please update italian translation with the above code. Thanks! --β16 - (talk) 09:44, 6 October 2015 (UTC)[reply]

✓ Done Matěj Suchánek (talk) 14:34, 8 October 2015 (UTC)[reply]

Indonesian & Minangkabau[edit]

		'id': {
			'title': 'Permintaan penghapusan',
			'description': 'Permintaan penghapusan untuk item ini.',
			'reason': 'Berikan alasan penghapusan:',
			'error-reason': 'Anda harus memberikan alasan!',
			'requested': 'Penghapusan sudah diminta',
			'success': 'Permintaan berhasil',
			'close': 'Tutup'
		},
		'min': {
			'title': 'Mintak dihapuih',
			'description': 'Tolong hapuih item ko.',
			'reason': 'Agiah alasan pangapuihan:',
			'error-reason': 'Harus ado alasan!',
			'requested': 'Alah dimintak',
			'success': 'Sukses',
			'close': 'Tutuik'
		},

Thanks in advance.  Ę-oиė  >>> 15:53, 11 March 2013 (UTC)[reply]

Thanks, Iwan. Greetings, Vogone talk 15:56, 11 March 2013 (UTC)[reply]
You're welcome Vogone. Kind regards,  Ę-oиė  >>> 18:54, 11 March 2013 (UTC)[reply]

Portuguese[edit]

Please update the portuguese translations ('pt' and 'pt-br'):

		'pt': {
			'title': 'Pedir eliminação',
			'description': 'Pedir eliminação para este item.',
			'reason': 'Por favor, dê o motivo para a eliminação:',
			'error-reason': 'Você deve especificar um motivo!',
			'error-requested': 'Este item já foi proposto para eliminação',
			'success': 'Pedido realizado com sucesso',
			'close': 'Fechar'
		},

Also, consider reducing the code size by just setting "i18nData['pt-br'] = i18nData.pt;" and "i18nData.no = i18nData.nb;" after the object i18nData is defined. Helder 17:35, 11 March 2013 (UTC) Helder 17:35, 11 March 2013 (UTC)

✓ Done --Bene* talk 18:02, 11 March 2013 (UTC)[reply]

Russian[edit]

		'ru': {
			'title': 'Запрос на удаление',
			'description': 'Запрос на удаление выбранного объекта.',
			'reason': 'Пожалуйста, укажите причину удаления:',
			'error-reason': 'Вы должны указать причину!',
			'requested': 'Запрос на удаление уже существует',
			'success': 'Запрос сохранён',
			'close': 'Выход'
		},

--Zanka (talk) 02:40, 13 March 2013 (UTC)[reply]

✓ Done by Vogone. --Vivaelcelta (talk) 17:09, 30 March 2013 (UTC)[reply]

Bengali[edit]

Please, add this

'bn': {
	'title': 'অপসারণের অনুরোধ',
	'description': 'এই উপাদানটির জন্য অপসারণের অনুরোধ',
	'reason': 'অপসারণের কারণ:',
	'error-reason': 'কারণ নির্দেশ করতে হবে!',
	'requested': 'অপসারণের অনুরোধ ইতিমধ্যে করা হয়েছে',
	'success': 'অনুরোধ সফলভাবে সম্পন্ন',
        'close': 'বন্ধ'
},

--Leemontalk 13:43, 13 March 2013 (UTC)[reply]

✓ Done by Vogone. --Vivaelcelta (talk) 17:09, 30 March 2013 (UTC)[reply]

Polish[edit]

Please update this translation:

'pl': {
			'title': 'Zgłoszenie do usunięcia',
			'description': 'Zgłoś usunięcie tego elementu.',
			'reason': 'Podaj powód usunięcia:',
			'error-reason': 'Musisz podać powód!',
			'error-requested': 'Element został już zgłoszony do usunięcia.',
			'success': 'Zgłoszenie zakończone powodzeniem.',
                        'close': 'Zamknij'
		},

Mateuszek045 (talk) 17:00, 13 March 2013 (UTC)[reply]

✓ Done --ValterVB (talk) 19:04, 30 March 2013 (UTC)[reply]

Macedonian translation[edit]

Could someone please add this Macedonian (mk) translation:

		'mk': {
			'title': 'Побарај бришење',
			'description': 'Поднесува барање за бришење на овој предмет.',
			'reason': 'Наведете причина за бришење:',
			'error-reason': 'Мора да наведете причина!',
			'error-requested': 'Бришењето е веќе побарано',
			'error-api': 'Се појави грешка при поднесувањето на барањето: $1',
			'success': 'Барањето е успешно поднесено',
			'close': 'Затвори'
		},


Thank you --B. Jankuloski (talk) 21:36, 23 April 2013 (UTC)[reply]

✓ Done Javad|Talk (4 Ordibehesht 1392) 19:14, 24 April 2013 (UTC)[reply]

Update for id & min[edit]

		'id': {
			'error-api': 'Kesalahan terjadi saat meminta penghapusan: $1',
		},
		'min': {
			'error-api': 'Kasalahan tajadi sangkek mamintak pangapuihan: $1',
		},

Please update the translation. Kind regards,  Ę-oиė  >>> 00:42, 13 May 2013 (UTC)[reply]

✓ Done.--CENNOXX (talk) 12:10, 13 May 2013 (UTC)[reply]
Thank you, Sir.  Ę-oиė  >>> 17:56, 13 May 2013 (UTC)[reply]

Kazakh[edit]

		'kk': {
			'title': 'Жоюға сұраныс',
			'description': 'Таңдалған нысанды жоюға сұраныс.',
			'reason': 'Жою себебін көрсетіңіз:',
			'error-reason': 'Себебеін көрсетуіңіз керек!',
			'requested': 'Жоюға сұраныс бұрыннан бар',
			'success': 'Сұраныс сақталды',
			'close': 'Жабу'
		},

Please add kazakh translation. --Arystanbek (talk) 03:43, 12 August 2016 (UTC)[reply]

✓ Done (diff) --Fomafix (talk) 08:38, 12 August 2016 (UTC)[reply]

Suggestion[edit]

{{editprotected}}

Would it be possible to update the script not to append your user signature if your custom deletion reason already ends in "~~~~"? It Is Me Here t / c 15:05, 29 March 2013 (UTC)[reply]

And the same suggestion, mutatis mutandis, for full stops. It Is Me Here t / c 17:15, 3 April 2013 (UTC)[reply]
No objection, but I've no idea how to code such a feature. Courcelles (talk) 02:58, 14 April 2013 (UTC)[reply]
OK, I've contacted User:Dragons flight at w: for help, due to his experience with removing double full stops from Wikipedia templates like Cite journal. It Is Me Here t / c 12:11, 14 April 2013 (UTC)[reply]
I put {{Editprotected}} in nowiki tags until anyone knows what to actually edit. Jon Harald Søby (talk) 22:15, 18 April 2013 (UTC)[reply]
Hi, I've made some changes to {{Request for deletion}} so it should work now. -- Bene* talk 14:10, 19 April 2013 (UTC)[reply]

Suggestion[edit]

On the form, would you be able to state to NOT wikilink Qnnnnnnn as that is automatically done. When one does wikilink, they are converted to textual redlinks. Might also be worth giving an example.  — billinghurst sDrewth 01:24, 30 March 2013 (UTC)[reply]

Tool no longer available[edit]

Also asked here.

Hello,

Any reason why the gadget disappeared this morning? The "Request deletion" link is no longer available in the interface. It worked just fine only 12 hours ago. Place Clichy (talk) 10:22, 11 April 2013 (UTC)[reply]

It is now corrected, thanks to quick action ([1]) by Stryn. Place Clichy (talk) 11:22, 11 April 2013 (UTC)[reply]

action=edit&section=new[edit]

Can this gadget be changed to use action=edit&section=new to work around bugzilla:34580? Liangent (talk) 17:24, 13 June 2013 (UTC)[reply]

Chinese[edit]

After I fixed an issue related to the Chinese translations, I was wondering if something similar to MediaWiki:Gadget-Merge.js could be developed so that all variants of Simplified Chinese could be included. For example, that script does something like this:

translations.no = translations.nb;
    if (languageNameParts[1] === 'hans'
        || languageNameParts[1] === 'cn'
        || languageNameParts[1] === 'sg'
        || languageNameParts[1] === 'my') {
      lang = 'zh-hans';
    } else if (languageNameParts[1] === 'hant'
        || languageNameParts[1] === 'hk'
        || languageNameParts[1] === 'tw'
        || languageNameParts[1] === 'mo') {
      lang = 'zh-hant';
    } else if (translations[languageNameParts[0]]) {
      lang = languageNameParts[0];
    } else {
      lang = 'en';
    }

The Anonymouse (talk) 18:16, 14 June 2013 (UTC)[reply]

watchlist=nochange[edit]

Like in MediaWiki:Gadget-Merge.js I’d like to have 'watchlist': 'nochange' for Wikidata:Requests for deletions. --Fomafix (talk) 15:09, 23 September 2013 (UTC)[reply]

this is ✓ Done --Bene* talk 04:27, 25 September 2013 (UTC)[reply]

The first 'watchlist': 'nochange', is not necessary because for action=query the watchlist is not changed. --Fomafix (talk) 11:39, 25 September 2013 (UTC)[reply]

Add to Macedonian (mk)[edit]

{{Editprotected}} Hello. Could someone add this to the bottom at mk: Thanks a lot. --B. Jankuloski (talk) 19:31, 18 July 2016 (UTC)[reply]

'notice': 'Внимание: дуплираните предмети отсега мора да се спојуваат, погл. Help:Merge.'

✓ Done Matěj Suchánek (talk) 14:49, 7 August 2016 (UTC)[reply]

Would this script work for other project?[edit]

Hello, and hello @Bene*: We've found that marking translation units for deletion at Meta is a bit of a problem. Apparently fixing the software for this is unlikely to happen so I remembered that a script was used here to request deletions. My question is if it'd be possible that this script could work on Meta for pages in the Translations: namespace. Best regards, — MarcoAurelio (talk) 20:13, 27 December 2016 (UTC)[reply]

HR translation[edit]

{{Edit protected}} Please, add translation in Croatian:

'hr': {
			'title': 'Zahtjev za brisanjem',
			'description': 'Zahtjev za brisanjem ove stavke.',
			'reason': 'Molimo navedite razlog brisanja:',
			'error-reason': 'Morate navesti razlog!',
			'error-requested': 'Zahtjev za brisanjem već postoji',
			'error-api': 'Pogrješka prilikom zahtjeva za brisanjem: $1',
			'success': 'Zahtjev uspješan',
			'close': 'Zatvori',
			'notice': 'Pažnja: duple stavke trebaju biti spojene, molimo pogledajte Help:Merge.'
		}

Thanks.--MaGa 13:04, 8 April 2017 (UTC)[reply]

✓ Done Matěj Suchánek (talk) 14:31, 8 April 2017 (UTC)[reply]

Feature request: Notify creator that their item(s) have been requested for deletion[edit]

Could someone do this? PokestarFan • Drink some tea and talk with me • Stalk my edits • I'm not shouting, I just like this font! 14:11, 20 May 2017 (UTC)[reply]

+ Special:Diff/703786809. Matěj Suchánek (talk) 06:29, 29 June 2018 (UTC)[reply]
✓ Done Users are pinged via edit summary. Matěj Suchánek (talk) 09:58, 9 August 2018 (UTC)[reply]
@Matěj Suchánek: When I nominate item created by myself for deletion, the second editor after me gets notified as if the item's creator. Is that expected behavior? eg. Q66051992 + this summary. Cheers, Vojtěch Dostál (talk) 13:26, 15 August 2020 (UTC)[reply]
Fixed. Definitely not. --Matěj Suchánek (talk) 14:26, 15 August 2020 (UTC)[reply]

Malayalam (മലയാളം)[edit]

		'ml': {
			'title': 'നീക്കംചെയ്യാൻ ആവശ്യപ്പെടുക’,
			'description': ഈ ഇനം നീക്കംചെയ്യാൻ നാമനിർദ്ദേശം ചെയ്യുക',
			'reason': 'ഇല്ലാതാക്കുന്നതിനുള്ള കാരണം നൽകുക.',
			'error-reason': 'കാരണം നൽകേണ്ടതാണ്.',
			'error-requested': 'നീക്കം ചെയ്യാനുള്ള അഭ്യർഥന ഇതിനകം നിലവിലുണ്ട്',
			'success': 'അഭ്യർത്ഥന വിജയകരമായി സമർപ്പിച്ചു.',
		},

Adding of Malalayam translation.--Jinoytommanjaly (talk) 09:31, 18 July 2018 (UTC)[reply]

✓ Done Please use {{Edit request}} next time. Matěj Suchánek (talk) 09:58, 9 August 2018 (UTC)[reply]

Update merge notice[edit]

{{Edit request}}

The notice duplicate items need to be merged now (emphasis added) was added over three years ago; I don’t remember how accurate it was back then (did we not merge items before 2015? Help:Merge has history going back to 2013), but surely by now we can get rid of the word “now” and just say that “duplicate items should be merged”?

Pinging Sjoerddebruin, who added the notice, for discussion. But once the discussion is done, this will need to be updated by an interface administrator – do we have some kind of interface administrator’s noticeboard already? —Galaktos (talk) 12:22, 28 August 2018 (UTC)[reply]

I just noticed the same issue. Adding {{Edit request}} in the hope that someone can take care of this. (Suggested edit: “duplicate items need to be merged”, or “duplicate items need to be merged, not deleted”.) --Lucas Werkmeister (talk) 14:23, 2 June 2021 (UTC)[reply]
✓ Done Updated the English (and Czech) text. But there are still 11 languages to be updated. (Should I comment them out, given that there are already languages which didn't have this string translated?) --Matěj Suchánek (talk) 12:23, 3 June 2021 (UTC)[reply]
I don’t think commenting out the others should be necessary, they might not need updating at all. (For instance, Google Translate seems to indicate that the Finnish translation is fine as it is.) Lucas Werkmeister (talk) 18:15, 3 June 2021 (UTC)[reply]

Arabic[edit]

{{Edit protected}} Please, add translation in Arabic:

'ar': {
			'title': 'طلب حذف',
			'description': 'اطلب حذف العنصر.',
			'reason': 'يُرجى توضيح سبب الحذف:',
			'error-reason': 'يجب أن تذكر سببًا!',
			'error-requested': 'الحذف جرى طلبه بالفعل',
			'error-api': 'حدث خطأ أثناء طلب الحذف: $1',
			'success': 'طلب ناجح',
			'close': 'إغلاق',
			'notice': 'تنبيه:العناصر المكررة يجدُر دمجها الآن، فضلَا طالع Help:Merge.'
		},

Thanks.--Mohanad Kh Talk 14:16, 11 November 2020 (UTC)[reply]

✓ Done --Matěj Suchánek (talk) 15:36, 11 November 2020 (UTC)[reply]

Add translation for Chinese[edit]

{{Edit request}}

'zh': {
			'title': '删除请求',
			'description': '请求删除该项目。',
			'reason': '请提供删除的理由:',
			'error-reason': '您必须提供理由!',
			'error-requested': '已有请求删除',
			'error-api': '请求删除时出错:$1',
			'success': '请求成功',
			'close': '关闭',
			'notice': '注意:重复的项目应该合并而不是删除,参阅Help:Merge。'
		},

Tks. (`・ω・´) (talk) 00:03, 2 July 2021 (UTC)[reply]

✓ Done --Matěj Suchánek (talk) 08:05, 2 July 2021 (UTC)[reply]
@Matěj Suchánek: Please chage title from 删除请求 to 请求删除. (^・ェ・^) (talk) 09:49, 5 July 2021 (UTC)[reply]
✓ Done --Matěj Suchánek (talk) 09:51, 8 July 2021 (UTC)[reply]

sv translation[edit]

{{Editrequest}}

		'sv': {
			'title': 'Begär radering',
			'description': 'Begär att det här objektet raderas.',
			'reason': 'Ange orsak till radering:',
			'error-reason': 'Du måste ange en orsak!',
			'error-requested': 'Objektet har redan begärts för radering',
			'error-api': 'Ett fel uppstod när begäran skulle skickas in: $1',
			'success': 'Begäran slutförd',
			'close': 'Stäng',
			'notice': 'Obs: Dubbletter behöver sammanfogas, inte raderas. Läs Help:Merge/sv.'
		},

--Sabelöga (talk) 01:36, 24 July 2021 (UTC)[reply]

✓ Done --Matěj Suchánek (talk) 10:44, 24 July 2021 (UTC)[reply]

Quick check using links API[edit]

{{Editrequest}} Currently, this gadget loads the full Wikidata:Requests for deletions page source each time a user who has the gadget enabled loads an item, to check whether the item has had a deletion requested. (Nitpick: it also requests rvslots: '*' despite only needing the main slot.) I suggest to avoid this by first checking whether RfD links to the item (action=query, titles=RfD, prop=links, pltitles=Q1234); if the link exists, then that doesn’t guarantee that the item has a deletion request (it could just be mentioned in the discussion, so the gadget should still load and check RfD), but if the link doesn’t exist, then the item definitely doesn’t have a deletion request, and the network cost of loading RfD can be skipped. Lucas Werkmeister (talk) 09:20, 24 September 2021 (UTC)[reply]

See Special:Diff/1520752532/1520756365 for the edits I’m suggesting. (MediaWiki is diffing the majority of the change, where I only added an indentation level, rather annoyingly, I’m afraid.) --Lucas Werkmeister (talk) 18:25, 1 November 2021 (UTC)[reply]
✓ Done --Matěj Suchánek (talk) 16:36, 7 November 2021 (UTC)[reply]

Please add translation for Portuguese and Brazilian Portuguese[edit]

@Matěj Suchánek Hello. Can you add these translations, please? Thank you!

'pt': {
			'title': 'Nomear para eliminação',
			'description': 'Solicitar a eliminação deste item.',
			'reason': 'Por favor, informe o motivo da eliminação:',
			'error-reason': 'Você deve informar o motivo!',
			'error-requested': 'A eliminação já foi solicitada',
			'error-api': 'Ocorreu um erro ao solicitar a eliminação: $1',
			'success': 'Solicitação bem-sucedida',
			'close': 'Fechar',
			'notice': 'Atenção: Itens duplicados precisam ser mesclados, não excluídos. Consulte Help:Merge.'
		},
'pt-br': {
			'title': 'Nomear para eliminação',
			'description': 'Solicitar a eliminação deste item.',
			'reason': 'Por favor, informe o motivo da eliminação:',
			'error-reason': 'Você deve informar o motivo!',
			'error-requested': 'A eliminação já foi solicitada',
			'error-api': 'Ocorreu um erro ao solicitar a eliminação: $1',
			'success': 'Solicitação bem-sucedida',
			'close': 'Fechar',
			'notice': 'Atenção: Itens duplicados precisam ser mesclados, não excluídos. Consulte Help:Merge.'
		},

Ederporto (talk) 19:04, 12 August 2022 (UTC)[reply]

✓ Done --Matěj Suchánek (talk) 07:46, 13 August 2022 (UTC)[reply]
@Matěj Suchánek for some reason, I can't see the button when using Brazilian portuguese. Can you check this, please? EPorto (WMB) (talk) 19:24, 25 October 2022 (UTC)[reply]
Apparently there was a very weird piece of code that nobody had noticed. Is it better now? --Matěj Suchánek (talk) 09:00, 27 October 2022 (UTC)[reply]

Catalan translation[edit]

Hey, @Matěj Suchánek! Do you think you'd be able to implement the Catalan translation for the tool? It would look like this:

'ca': {

'title': 'Sol·licitar-ne l'esborrament',

'description': 'Sol·licitar l'esborrament d'aquest element.',

'reason': 'Motiu de l'esborrament:',

'error-reason': 'Cal especificar-ne el motiu!',

'error-requested': 'Aquest element ja ha estat proposat per a ser esborrat',

'success': 'Sol·licitud realitzada',

'close': 'Tancar'

--~~~~ Brunnaiz (talk) 18:34, 4 February 2023 (UTC)[reply]

✓ Done Of course! --Matěj Suchánek (talk) 18:36, 4 February 2023 (UTC)[reply]

created by User:Thomas Haselwanter (RD)[edit]

I find this misleading as the request was not done by the author of the software. Can't you put RD into a tag? That would be less confusing and still give you appropriate credit. Matthias M. (talk) 11:48, 31 August 2023 (UTC)[reply]

German translation[edit]

'de': { 
                    'title': 'Löschantrag',
                    'description': 'Löschantrag für dieses Datenobjekt stellen',
                    'reason': 'Begründung:', 
                    'error-reason': 'Es muss ein Grund angegeben werden.', 
                    'requested': 'Löschung wurde bereits beantragt',
                    'success': 'Löschantrag erfolgreich gestellt',
                    'close': 'Schließen' 
                   },

Hi Matěj Suchánek, can you add the german translation, please? Thanks --Wüstenspringmaus talk 12:58, 16 April 2024 (UTC)[reply]

✓ Done --Matěj Suchánek (talk) 17:39, 16 April 2024 (UTC)[reply]
Hi Matěj Suchánek, thanks a lot. I have seen another mistake in the german translation:
"error-api": "Ein Fehler ist beim stellen des Löschantrags aufgetreten: $1"
to:
"error-api": "Fehler beim Stellen des Löschantrags: $1"
Thanks --Wüstenspringmaus talk 18:40, 16 April 2024 (UTC)[reply]
✓ Done --Matěj Suchánek (talk) 18:47, 16 April 2024 (UTC)[reply]