User talk:Bene*/userwarn.js

From Wikidata
Jump to navigation Jump to search

suggestion[edit]

please add an option to have also customized templates (guiding or helping templates) like Template:راهنمای کاربر which helps Farsi users to be familiar with wikidata environment. ▬ Reza1615 / T 22:59, 9 March 2013 (UTC)[reply]

Translations for id & min[edit]

{{Edit request}} Please add this translatians.

id[edit]

	case 'id':
		mw.messages.set( {
			'userwarn':		'Peringatkan pengguna ini',
			'close':		'Tutup',
			'intro':		'Ini akan menambah salah satu templat berikut ke bagian bawah halaman pembicaraan pengguna ini.',
			'warning':		'Peringatan',
			'selectwarning':	'Silakan pilih templat',
			'success':		'Pesan berhasil dikirimkan.',
			'options':		'Lihat pilihan lain',
			'furtherarguments':	'Berikan keterangan tambahan (pisahkan dengan <code>|</code>) yg akan ditambahkan pada templat:',
			'signature':		'Otomatis cantumkan tanda tangan setelah templat',
			'error-nowarning':	'Anda harus memilih templat.',
			'doc-none':		'', // DO NOT TRANSLATE
			'doc-Uw-link-removal1':	'This template is used to politely inform a new user that they have removed a sitelink without adding it to another item.', // DO NOT TRANSLATE
			'doc-Uw-link-removal2':	'doc-link-removal2', // DO NOT TRANSLATE
			'doc-Uw-link-removal3':	'doc-link-removal3', // DO NOT TRANSLATE
			'doc-Uw-link-removal4':	'doc-link-removal4', // DO NOT TRANSLATE
			'doc-Uw-vandalism1':	'doc-vandalism1', // DO NOT TRANSLATE
			'doc-Uw-vandalism2':	'doc-vandalism2', // DO NOT TRANSLATE
			'doc-Uw-vandalism3':	'doc-vandalism3', // DO NOT TRANSLATE
			'doc-Uw-vandalism4':	'doc-vandalism4', // DO NOT TRANSLATE
			'doc-welcome':		'Adds the welcome template to the user\'s talk page.' // DO NOT TRANSLATE
		} );

min[edit]

	case 'min':
		mw.messages.set( {
			'userwarn':		'Ingekkan pangguno ko',
			'close':		'Tutuik',
			'intro':		'Iko akan manambah salah satu templat barikuik ka bagian bawah laman rundiang pangguno ko.',
			'warning':		'Paringatan',
			'selectwarning':	'Silakan piliah templat',
			'success':		'Pasan bahasil dikirim.',
			'options':		'Lihek piliahan lain',
			'furtherarguments':	'Agiah katarangan tambahan (pisahan jo tando <code>|</code>) nan ka ditambahan pado templat:',
			'signature':		'Otomatih malatakkan tando tangan sasudah templat',
			'error-nowarning':	'Sanak haruih mamiliah templat.',
			'doc-none':		'', // DO NOT TRANSLATE
			'doc-Uw-link-removal1':	'This template is used to politely inform a new user that they have removed a sitelink without adding it to another item.', // DO NOT TRANSLATE
			'doc-Uw-link-removal2':	'doc-link-removal2', // DO NOT TRANSLATE
			'doc-Uw-link-removal3':	'doc-link-removal3', // DO NOT TRANSLATE
			'doc-Uw-link-removal4':	'doc-link-removal4', // DO NOT TRANSLATE
			'doc-Uw-vandalism1':	'doc-vandalism1', // DO NOT TRANSLATE
			'doc-Uw-vandalism2':	'doc-vandalism2', // DO NOT TRANSLATE
			'doc-Uw-vandalism3':	'doc-vandalism3', // DO NOT TRANSLATE
			'doc-Uw-vandalism4':	'doc-vandalism4', // DO NOT TRANSLATE
			'doc-welcome':		'Adds the welcome template to the user\'s talk page.' // DO NOT TRANSLATE
		} );

Thanks in advance,  Ę-oиė  >>> 05:58, 20 July 2013 (UTC)[reply]

✓ Done. --Stryn (talk) 10:43, 20 July 2013 (UTC)[reply]

Watch pages[edit]

Is there anything against the tool automatically adding the user's (talk) page to my watchlist, even if I have unchecked the according option in my preferences? I did so because I don't want to watch all these items I create. But I do want to watch the talk pages where I put these warnings on, in case the user replies there. Now I always have to watch out to not forget watching the page when I use the warning tool. In case you don't want this to happen by default, at least an option would be good, so the tool basically reminds me on its own. Thanks for considering. --YMS (talk) 11:25, 11 January 2014 (UTC)[reply]

 Support Matěj Suchánek (talk) 10:37, 6 April 2014 (UTC)[reply]

@YMS, Matěj Suchánek: I've now implemented the feature. Do you like it this way? -- Bene* talk 13:07, 6 April 2014 (UTC)[reply]

@Bene*: Unfortunately, if my setting 'Watch created pages' is true, created pages are still added to my watchlist. Matěj Suchánek (talk) 13:13, 6 April 2014 (UTC)[reply]
Hmm? So why did you support YMS's proposal? You want the opposite of what he wants. ;-) Perhaps a dropdown menu with values "preferences", "watch" and "not watch" would be the best... -- Bene* talk 13:15, 6 April 2014 (UTC)[reply]
@Matěj Suchánek: However, are you sure it is good not to watch the talk page of the user you just have warned? -- Bene* talk 13:20, 6 April 2014 (UTC)[reply]
@Bene*: Probably not well read by me. :-( I will rethink the system of my watchlist. Follow YMS' suggestions, then. Matěj Suchánek (talk) 13:47, 6 April 2014 (UTC)[reply]
I did not really test it now, but it looks good. Thanks! --YMS (talk) 18:33, 6 April 2014 (UTC)[reply]

Lang as desc[edit]

Could {{Uw-lang as desc}} be added? Matěj Suchánek (talk) 10:37, 6 April 2014 (UTC)[reply]

✓ Done -- Bene* talk 12:53, 6 April 2014 (UTC)[reply]

Adding other templates[edit]

I think it'd be a good idea to add other uw- templates (e.g. {{Uw-test1}} and the rest) to the tool; they can prove useful. Ahmadtalk 06:36, 3 May 2020 (UTC)[reply]

@Ahmad252: For now, I've saved a version with more warning templates at User:1234qwer1234qwer4/userwarn.js. @Stryn: You have responded to other edit requests above, so maybe you could add the other warning templates (see the linked subpage in my userspace), too. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 11:59, 27 December 2020 (UTC)[reply]
Done. Stryn (talk) 18:06, 27 December 2020 (UTC)[reply]
@Stryn: Thank you, but "* forked 2020-12-27 with more warning templates" is probably not needed on this page. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 18:11, 27 December 2020 (UTC)[reply]

Persian translation[edit]

Please add the Persian (Farsi) translation:

case 'fa':
		mw.messages.set( {
			'userwarn':		'تذکر به این کاربر',
			'close':		'بستن',
			'intro':		'این ابزار یکی از الگوهای زیر را پایین صفحه بحث این کاربر اضافه می‌کند.',
			'warning':		'تذکر',
			'selectwarning':	'لطفاً یک الگو را انتخاب کنید',
			'success':		'هشدار با موفقیت ارسال شد.',
			'options':		'نمایش گزینه‌های بیشتر',
			'furtherarguments':	'سایر پارامترهای موردنیاز برای الگو را وارد کنید (از <code>|</code> برای جدا کردن پارامترها استفاده کنید):',
			'signature':		'به‌طور خودکار امضا کن',
			'watch':			'افزودن صفحه بحث کاربر به فهرست پیگیری',
			'error-nowarning':	'باید یک هشدار را انتخاب کنید.'
		} );
		break;

Thanks. Ahmadtalk 06:43, 3 May 2020 (UTC)[reply]

Done. Stryn (talk) 18:06, 27 December 2020 (UTC)[reply]

fix german translation[edit]

The german translation violates the convention to use infinite verb forms in menu entries. Please change line 49 to

			'userwarn':		'Diesen Benutzer warnen',

-- Dr.üsenfieber (talk) 02:57, 20 February 2021 (UTC)[reply]

✓ Done --Matěj Suchánek (talk) 09:46, 2 March 2021 (UTC)[reply]

Add uw-notability[edit]

{{Edit request}} Can someone add this new warning template? Thanks! Bovlb (talk) 16:25, 26 July 2022 (UTC)[reply]

Done. Stang 23:23, 26 July 2022 (UTC)[reply]

uw-empty and uw-blanking[edit]

{{Edit request}} Can someone please add these two templates? Thanks! Bovlb (talk) 04:23, 21 July 2023 (UTC)[reply]

✓ Done --Matěj Suchánek (talk) 07:10, 21 July 2023 (UTC)[reply]

Auto-subscribe[edit]

I have the "Automatically subscribe to topics" option set in my preferences. When I add a new topic using this gadget, I an not automatically subscribed. This would be useful, as people who are warned often have follow-up questions, and new users can end up shouting into the void. Bovlb (talk) 02:46, 30 November 2023 (UTC)[reply]