MediaWiki talk:Gadget-enumItems.js

Latest comment: 2 years ago by Infovarius in topic Lexeme ?

Thank you! edit

It's very useful to accomplish the task forces, but maybe IMHO you could translate the tooltip in several languages. In Italian

  • 't-prev', 'Elemento precedente'
  • 't-next', 'Elemento successivo'

In the translation I removed "Go to the" to shorten the text of the tooltip.   Raoli (talk) 00:44, 7 November 2012 (UTC)Reply

  Done Added. Thank you! — Arkanosis 01:17, 7 November 2012 (UTC)Reply
It may bring up those two tabs on the left side of the top bar (next to the talk label), rather than on the right side? example and.. they could use these images.  ,   no? Raoli (talk) 01:07, 7 November 2012 (UTC)Reply
I like it :) — Arkanosis 01:17, 7 November 2012 (UTC)Reply
Mmh, actually, the standard function to add a tab can only add text, not images :(. I'll have a look at it later. Best regards — Arkanosis 01:42, 7 November 2012 (UTC)Reply
You can see on it.wikisource s:it:MediaWiki:Gadget-puntanoqui.js that makes appear this tab. :) Raoli (talk) 02:02, 7 November 2012 (UTC)Reply
To replace a text with a small icon is easy. This (from a js console) runs for first element:
$("#ca-nstab-main a").html('<img src=http://upload.wikimedia.org/wikipedia/commons/thumb/9/92/Open_book_nae_02.svg/25px-Open_book_nae_02.svg.png>')

--Alex brollo (talk) 07:07, 9 November 2012 (UTC)Reply

Spanish translation (es) edit

  • 't-prev', 'Ir al elemento precedente'
  • 't-next', 'Ir al elemento siguiente'

Thanks for the script. --Dalton2 (talk) 08:48, 7 November 2012 (UTC)Reply

  Done Added. Thank you! — Arkanosis 10:15, 7 November 2012 (UTC)Reply

German translation (de) edit

  • 't-prev', 'Vorheriges Datenfeld'
  • 't-next', 'Nächstes Datenfeld'

Thank you! NNW (talk) 09:10, 7 November 2012 (UTC)Reply

  Done Added. Thank you! — Arkanosis 10:15, 7 November 2012 (UTC)Reply
The developers seem to prefer Datenelement instead of Datenfeld. So I suggest to change it. NNW (talk) 12:15, 8 November 2012 (UTC)Reply
  Done Changed. Best regards — Arkanosis 13:53, 8 November 2012 (UTC)Reply

Russian translation (ru) edit

  • 't-prev', 'Предыдущий объект'
  • 't-next', 'Следующий объект'

Thanks! Zanka (talk) 13:18, 7 November 2012 (UTC)Reply

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

Finnish translation (fi) edit

  • previous: 'Siirry edelliseen nimikkeeseen',
  • next: 'Siirry seuraavaan nimikkeeseen'

Thank you! --Stryn (talk) 12:12, 12 November 2012 (UTC)Reply

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

Gadget edit

You can maintain this tool as a gadget? --Raoli (talk) 19:29, 8 November 2012 (UTC)Reply

Now that I can edit in the MediaWiki: namespace, yes. I'd prefer to be sure people find it useful enough, first. I'll ask.
Best regards — Arkanosis 02:52, 9 November 2012 (UTC)Reply
  Done Best regards — Arkanosis 22:18, 12 November 2012 (UTC)Reply

Some updates edit

Please use mw.util.wikiGetlink('Q' + (itemId + 1)) instead of '/wiki/Q' + (itemId + 1) and add the Portuguese translation:

  • previous: 'Ir para o item anterior'
  • next: 'Ir para o item posterior'

and define l10n['pt-br'] = l10n.pt; (to avoid duplication of translation strings). Helder 17:33, 12 November 2012 (UTC)

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

&action=... edit

Hello, if I am looking at the history (&title=...&action=history), the Page informations (&title=...&action=info), or something else of an Item and I use your Script, I am send to the normal page. Could you please open the new page with the action, the user used before?--CENNOXX (talk) 20:13, 12 November 2012 (UTC)Reply

Hi. Yes, good idea. I'll do that. Best regards — Arkanosis 21:28, 12 November 2012 (UTC)Reply

New translations edit

fa.wiki edit

please add these translation for farsi

			fa: {
				previousQ: 'به آیتم قبلی برو',
				nextQ: 'به آیتم بعدی برو',
				previousP: 'به ویژگی قبلی برو',
				nextP: 'به ویژگی بعدی برو'
			},

Reza1615 (talk) 19:22, 14 February 2013 (UTC)Reply

  Done. --Stryn (talk) 20:58, 15 February 2013 (UTC)Reply

Update Spanish translation edit

{{Edit request}}

			es: {
				previousQ: 'Ir al elemento anterior',
				nextQ: 'Ir al elemento siguiente',
				previousP: 'Ir a la propiedad anterior',
				nextP: 'Ir a la propiedad siguiente'
			},

Please update the Spanish translations, I have added new phrases. --Vivaelcelta (talk) 23:54, 2 March 2013 (UTC)Reply

  Done  Hazard-SJ  ✈  04:35, 3 March 2013 (UTC)Reply

Galician edit

{{Edit request}}

			gl: {
				previousQ: 'Ir ó elemento anterior',
				nextQ: 'Ir ó elemento seguinte',
				previousP: 'Ir á propiedade anterior',
				nextP: 'Ir á propiedade seguinte'
			},

Please add this translation. --Vivaelcelta (talk) 23:54, 2 March 2013 (UTC)Reply

  Done  Hazard-SJ  ✈  04:35, 3 March 2013 (UTC)Reply

Portuguese edit

{{Edit request}} Here are the missing translations:

			pt: {
				previousQ: 'Ir para o item anterior',
				nextQ: 'Ir para o item posterior',
				previousP: 'Ir para a propriedade anterior',
				nextP: 'Ir para a propriedade posterior'
			},

Best regards, Helder 00:23, 3 March 2013 (UTC)

  Done  Hazard-SJ  ✈  04:35, 3 March 2013 (UTC)Reply

Italian edit

it: {
       previousQ: 'Elemento precedente',
       nextQ: 'Elemento successivo',
       previousP: 'Proprietà precedente',
       nextP: 'Proprietà successiva'
 },

--ValterVB (talk) 07:57, 3 March 2013 (UTC)Reply

  Done Thank you! — Arkanosis 12:26, 3 March 2013 (UTC)Reply

Syntax error edit

In this change in line 70 a comma is missing. --Fomafix (talk) 12:26, 3 March 2013 (UTC)Reply

  Done diff --Fomafix (talk) 13:38, 3 March 2013 (UTC)Reply

Norwegian edit

			no: {
				previousQ: 'Gå til forrige datasett',
				nextQ: 'Gå til neste datasett',
				previousP: 'Gå til forrige egenskap',
				nextP: 'Gå til neste egenskap'
			},

Can you add this translation? I'm not sure if you need the "no" though.. "nb" is for norwegian bokmål which is this translation, so you might have to do "nb" instead of "no". I'm not sure. --Kristian Vangen 12:51, 10 March 2013 (UTC)Reply

  Done for interwikis nb is redirected to no so we only add no ▬ Reza1615 / T 14:45, 10 March 2013 (UTC)Reply
Thank you very much indeed. :) --Kristian Vangen 16:46, 10 March 2013 (UTC)Reply
Hi again! When my language is set to norwegian bokmål (nb) the previous and next arrows shows the english text instead of the norwegian. Maybe you still have to do it with nb? Also, the gadget doesn't seem to work in monobook. --Kristian Vangen 04:56, 13 March 2013 (UTC)Reply
Hi :)
  Done Now, the no translation is used for nb as well. Is it the right way to proceed?
I'll have a look later at monobook, but indeed, it can't work the way it's written yet.
Best regards — Arkanosis 18:16, 13 March 2013 (UTC)Reply

Indonesian & Minangkabau translations edit

Please add Indonesian & Minangkabau translations.

			id: {
				previousQ: 'Ke item sebelumnya',
				nextQ: 'Ke item selanjutnya',
				previousP: 'Ke properti sebelumnya',
				nextP: 'Ke properti selanjutnya'
			},
			min: {
				previousQ: 'Ka item sabalumnyo',
				nextQ: 'Ka item salanjuiknyo',
				previousP: 'Ka properti sabalumnyo',
				nextP: 'Ka properti salanjuiknyo'
			},

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

  Done--CENNOXX (talk) 01:47, 20 March 2013 (UTC)Reply

Macedonian translation edit

Could I have the following Macedonian (mk) translation added.

			mk: {
				previousQ: 'Претходен предмет',
				nextQ: 'Следен предмет',
				previousP: 'Претходно својство',
				nextP: 'Следно својство'
			},

Cheers --B. Jankuloski (talk) 21:04, 23 April 2013 (UTC)Reply

  Done Javad|Talk (4 Ordibehesht 1392) 18:48, 24 April 2013 (UTC)Reply

Bug edit

Buttons do not appear in Opera browser. Infovarius (talk) 08:58, 8 October 2013 (UTC)Reply

Zh translation edit

zh-hans: {
	previousQ: '至前一项',
	nextQ: '至下一项',
	previousP: '至前一属性',
	nextP: '至下一属性'
},
zh-hant: {
	previousQ: '至前一項',
	nextQ: '至下一項',
	previousP: '至前一屬性',
	nextP: '至下一屬性'
},

--Liuxinyu970226 (talk) 10:08, 8 January 2014 (UTC)Reply

  Done (diff) --Fomafix (talk) 21:42, 8 January 2014 (UTC)Reply

lt translation edit

lt: {
	previousQ: 'Ankstesnis elementas',
	nextQ: 'Sekantis elementas',
	previousP: 'Ankstesnė savybė',
	nextP: 'Sekanti savybė'
},

Please add Lithuanian (lt) translation.--Zygimantus (talk) 06:34, 2 March 2016 (UTC)Reply

  Done (diff) --Fomafix (talk) 16:02, 2 March 2016 (UTC)Reply

sv translation edit

{{Editrequest}}

			sv: {
				previousQ: 'Gå till föregående objekt',
				nextQ: 'Gå till nästa objekt',
				previousP: 'Gå till föregående egenskap',
				nextP: 'Gå till nästa egenskap'
			},

--Sabelöga (talk) 02:02, 24 July 2021 (UTC)Reply

  DoneMisterSynergy (talk) 09:33, 15 October 2021 (UTC)Reply

Lexeme ? edit

Hello, I don't know if it was mentioned: could we not make this gadget also work on lexemes? Cordially. —Eihel (talk) 09:53, 13 January 2022 (UTC)Reply

@Eihel: seems not working. --Infovarius (talk) 19:26, 15 January 2022 (UTC)Reply
Return to "Gadget-enumItems.js" page.