User talk:Jitrixis/Archive 1

Latest comment: 9 years ago by Rschen7754 in topic Inactivity
TALKS
Julien GARDETaka. Jitrixis

Welcome to Wikidata, Jitrixis!

Wikidata is a free knowledge base that you can edit! Wikidata is a free knowledge base that can be read and edited by humans and machines alike, and you can help. Go to any item page now and add to this ever-growing database!
Need some help getting started? Here are some pages you can familarise yourself with:

If you have any questions, please ask me on my talk page. If you want to try out editing, you can use the sandbox to try. Once again, welcome, and I hope you quickly feel comfortable here, and become an active editor for Wikidata.

--Emijrp (talk) 15:02, 31 October 2012 (UTC) Reply

New version of SlurpInterwiki edit

Hi. There is a new version of SlurpInterwiki. If you refresh your browser cache (Ctrl + Shift + R in Firefox, see other browsers) you will load it. The main change is that it doesn't flood recent changes. Regards. Emijrp (talk) 22:08, 31 October 2012 (UTC)Reply

that's doesn't work.--Jitrixis (talk) 22:12, 31 October 2012 (UTC)Reply
it's work now. thanks --Jitrixis (talk | support my candidacy) 14:29, 1 November 2012 (UTC)Reply

wbSetEntity edit

Salut Juien,
just one question ... how to do that thing with wbSetEntity ... I'm too stupid to find out how it works. -- 109.48.72.41 22:23, 31 October 2012 (UTC)Reply

Ze réponse hire ^^ : http://www.wikidata.org/wiki/Wikidata:Project_chat#SlurpInterwiki_script --Jitrixis (talk) 22:30, 31 October 2012 (UTC)Reply
ahhhh !!! ....merci bien! -- 109.48.71.195 22:32, 31 October 2012 (UTC)Reply
y'avais un bug dans le lien le logiciel s'appelle SlurpInterwiki http://www.wikidata.org/wiki/Wikidata:Project_chat#SlurpInterwiki_script (avec beaucou d'espace pour pas que ma signature ce transforme en lien ^^) --Jitrixis (talk) 22:34, 31 October 2012 (UTC)Reply

Thanks edit

Merci pour le coups de main et ton acceuil. Bon bah maintenant je vais me mettre un peu plus à l'anglais :) Rome2 (talk) 15:45, 1 November 2012 (UTC)Reply

common.js edit

Mmm.. Thanks for the suggestion, but it doesn't run. I already have this:

importScript("Utente:Raoli/common.js");

but it also doesn't work... -- Yiyi (A tua disposizione!) 16:25, 1 November 2012 (UTC)Reply

Try
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Raoli/common.js&action=raw&ctype=text/javascript');
Reedy (talk) 15:56, 2 November 2012 (UTC)Reply

User:Jitrixis/SI.js edit

Why not just use
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Tpt/slurpInterwiki.js&action=raw&ctype=text/javascript');
in your common.js rather than duplicating a page of code? Reedy (talk) 15:56, 2 November 2012 (UTC)Reply
I want to make a programme and take a similar base but i've got problème with the dialog screen so i test the programme and now i found what i want to do. And if you test the programme it doesn't work because i edit it to make it harmless --Jitrixis (talk | support my candidacy) 16:01, 2 November 2012 (UTC)Reply

Script pour ajouter des descriptions standardisées edit

Bonjour, je pense qu'il serait utile d'avoir un outil pour ajouter de manière (semi-)automatique des descriptions standardisées quand aucune description plus précise n'est disponible (par exemple ajouter "commune de France" - ou "commune du Calvados" etc. en plein de langues à toutes les communes qui n'ont pas encore de description). J'ai commencé Wikidata:Automating descriptions mais je ne sais pas comment m'y prendre sur le plan technique. User:Tpt m'a conseillé du m'adresser à l'inventeur de labelLister.js, donc si tu peux m'aider... --Zolo (talk) 09:39, 6 November 2012 (UTC)Reply

Je veut bien t'aider mais je suis encore en devellopement pour un traitement d'envoie de plusieurs données en même temps (ce qu'exige ton code pour être executer) car pour l'instant le script n'est pas capable de gerer plusieurs envoie en même temps, car le proceder que j'utilise est une requete envoyer par API en envoyant les données suivante pour modifier par exemple un label (format:json,action:wbsetlabel,id:/itemID/,summary:/lerésumé/,language:/lalang/,value:/label/,token:mw.user.tokens.get( 'editToken' )),donc ce "code" modifie que le label il faut donc refaire une requete avec l'action wbsetdescription pour que la description soit envoyer. Il existe bien un moyen d'envoyer plusieur changement à faire en utilisant ce proceder action=wbsetitem (documentation API) mais j'ai pour l'instant j'ai quelque probleme a le faire envoyer (surement a cause de la structure à envoyer qui est particulière : par exemple pour la page Q793 voir la synthaxe sous le format json(fm) RésultatAPI, il faut demander a l'API de supprimer les données inutiles puis envoyer le même format ) dès que j'aurais réussi à controler le problème je pourrais me reservir de cette fonction pour un envoi grouper de description et peut-être si tu le veut l'inserer à mon script. En tous cas je trouver ton idée très intéressante.(Si ça te dérange pas je mais une note après ce message pour ne pas oublier ce que je dois faire lorsque je mettrais en place ton idée :: Pensez à ajouter un input hidden avec la liste des langue dont la description existe pour les supprimer de la liste )--Jitrixis (talk) 16:30, 6 November 2012 (UTC)Reply
Ok merci. Il n'y aurait pas un moyen d'avoir par exemple un bouton "ajouter une description standard", qui ajouterait une description dans toutes les langues possibles ? Au cours d'une même modification, on ne modifierait que les descriptions, ou que les étiquettes mais pas les deux à la fois. Je ne sais pas comment cela se fait techniquement, mais il me semble que c'est ce que fait User:Tpt/slurpInterwiki.js pour les sitelinks. --Zolo (talk) 18:51, 6 November 2012 (UTC)Reply
C'est exactement ce que fait slurpInterwiki et c'est ce que je suis enrain de develloper mais il y a plusieurs valeur qui rentre en compte. --Jitrixis (talk) 19:33, 6 November 2012 (UTC)Reply
C'est bon j'ai fini de coriger le problème je peut maintenant me servir de ce que j'ai fait pour t'aider. Mais pas tous de suite parce que j'ai sommeil et que je vais aller dormir, donc à plus. --Jitrixis (talk) 04:02, 7 November 2012 (UTC)Reply
Oui ça me parait très bien. Je n'avais pas pensé à faire en même temps l'ajout d'étiquettes à partir des interwikis, mais c'est vrai que ce serait utile. --Zolo (talk) 15:16, 7 November 2012 (UTC)Reply
Ok je m'y atèle, --Jitrixis (talk) 15:18, 7 November 2012 (UTC)Reply
Ca a l'air de très bien marcher ! Et merci de m'avoir nommé comme coauteur même si je n'ai pas écrit grand chose ! Un petite chose, je pense que si le nom de l'article se termine par quelque chose entre parenthèses, je pense qu'il ne faudrait pas l'inclure dans l'étiquette. Dans 99% des cas c'est une "désambiguation" (comme pt: (Fórmula 1) dans Q15127), normalement ça devrait faire partie de la description, pas du libellé. Et puis une idée pour la suite ;) ce serait peut-être de proposer de copier le label anglais dans une sélection de langues qui n'ont pas d'interwiki. Ca pourrait être utile pour les noms de personne, qui sont généralement les mêmes en français, anglais, allemand etc.
Tu a fait beaucoup de chose que ça tu à eu l'idée, c'est la chose la plus importante dans la programmation. ok je dévellope ça --Jitrixis (talk) 16:50, 8 November 2012 (UTC)Reply
Ah en fait, je n'arrive pas à ajouter la description dans Q15104 :|...
désambiguïsation supprimer automatiquement ✓ Done --Jitrixis (talk) 16:59, 8 November 2012 (UTC)Reply
Modification de script : n'envoi pas le message envoyer si il y a un bug et affiche le bug --Jitrixis (talk) 17:08, 8 November 2012 (UTC)Reply
{"servedby":"srv290","error":{"code":"not-recognized-language","info":"unknown language: pms "}} il y a un problème pour la code langue 'pms' y aurait-il pas un problème. --Jitrixis (talk) 17:08, 8 November 2012 (UTC)Reply
Trouver c'étais un espace a coter su code. bug liste région ✓ Done--Jitrixis (talk) 17:13, 8 November 2012 (UTC)Reply
Super merci ça marche. Maintenant je pense qu'on pourrait fusionner Slurpinterwiki comme ça on importerait tout en même temps !--Zolo (talk) 17:19, 8 November 2012 (UTC)Reply
Combiné avec User:Zolo/editMyList.js, ça me permet de mettre à jour très rapidement toutes les régions françaises. Juste une petite coquille sommaire += "Descritions (" + inputSelect + ")";: il manque un "p" à description. --Zolo (talk) 18:33, 8 November 2012 (UTC)Reply

Ah encore une chose à laquelle je n'ai pas fait attention : "Église du Saint-Esprit", c'est plutôt un titre qu'un description~(comme dans Q17288, je ne sais pas trop comment il faudrait gérer ça.Zolo (talk) 21:26, 8 November 2012 (UTC)Reply

Il faudrais donc remplacer par église c'est tous
Oui mais ce serait encore mieux si on pouvrait aussi changer le titre (parce que dans des cas comme celui-ci on ne peut pas s'aider des interwikis, et "Kostel svatého Ducha", c'est pas franchement transparent)Zolo (talk) 21:31, 8 November 2012 (UTC)Reply
Ouais , ben je sais pas, c'est vrai qu'il ne faudrait pas mettre eglise en descrition vue que c'est inutile. peut-être devrais-t-on le supprimer de la liste . Je sais pas. en tous cas j'ai aussi rajouter la liste (date) de dalton2
Bonoour, désolé je n'arrive pas à customiser User:Zolo/autoEditLists.js--Zolo (talk) 14:46, 9 November 2012 (UTC)Reply
Merci, mais ça ne marche toujours pas :|--Zolo (talk) 14:57, 9 November 2012 (UTC)Reply
Oups désolé.., mais ça ne marche pas mieux.Zolo (talk) 15:10, 9 November 2012 (UTC)Reply
A tu penser à faire Controle maj R sur firefox :

Note : après avoir enregistré vos préférences, vous devrez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : Maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac) ;
  • Google Chrome : Appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac) ;
  • Internet Explorer : Maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ;
  • Opera : Videz le cache dans Outils → Préférences.

--Jitrixis (talk) 15:12, 9 November 2012 (UTC)Reply

Oui j'ai essayé mais ça n'a pas l'air d'y changer grand chose... Pourtant c'est sans doute bien un problème de cache : en passant de Chrome à Firefox, ça marche.

Au fait, je viens de me rendre compte d'un petit problème. C'est très bien que les utilisateurs françophones voient "artiste hongrois" plutôt que "Hungarian artist". Mais du coup ça veut dire que les anglophones voient "Hungarian artist" à la fois pour les hommes et pour les femmes et ne peuvent donc pas faire la différence entre les deux. --Zolo (talk) 15:26, 9 November 2012 (UTC)Reply

Ok Je vais y marquer pour me TODO --Jitrixis (talk) 15:28, 9 November 2012 (UTC)Reply
✓ Done--Jitrixis (talk) 15:41, 9 November 2012 (UTC)Reply
Super merci. <pinaillage>Ce serait encore mieux si le texte était caché quand le texte est = à la clé, pour éviter aux angalis "French commune (French commune)"</>--Zolo (talk) 16:37, 9 November 2012 (UTC)Reply
 Not done J'ai essayer de le faire mais impossible a cause des casse et des accents désoler c'étais un bonne idée --Jitrixis (talk) 17:18, 9 November 2012 (UTC)Reply
Hi. Wouldn't it be possible to add a page purge in the code after the labels have been added? Regards. --Dalton2 (talk) 19:29, 9 November 2012 (UTC)Reply
Yes, please! Thank you! --Dalton2 (talk) 19:51, 9 November 2012 (UTC)Reply
A customized script for me! So much honor! Thank you very much indeed for your effort. --Dalton2 (talk) 20:18, 9 November 2012 (UTC)Reply
I'm afraid I didn't understand you well. You mean that I must add the code you show me in the common.js for other accounts if I have them, right? --Dalton2 (talk) 20:26, 9 November 2012 (UTC)Reply
But it's working for me right now. You mean that you changed the code, or that you are going to change it as soon as I add what you gave me to my common.js? Sorry to be a pain. --Dalton2 (talk) 20:38, 9 November 2012 (UTC)Reply
I doesn't work now. Can you check if I added the code right?: User:Dalton2/common.js (at the bottom of the page). Regards. --Dalton2 (talk) 20:46, 9 November 2012 (UTC)Reply
Perfect! Thank you very much! --Dalton2 (talk) 21:01, 9 November 2012 (UTC)Reply
I already voted for you. Regards. --Dalton2 (talk) 23:30, 9 November 2012 (UTC)Reply
Yes I see it. After sending the message I remember that you've already support. Sometime I'm fergeting with all my Todo --Jitrixis (talk) 23:35, 9 November 2012 (UTC)Reply
"auto check labels update" is "automarcar la actualización de etiquetas" in Spanish. Just in case it's translatable. Best regards. --Dalton2 (talk) 02:34, 10 November 2012 (UTC)Reply

The script doesn't work for me with many items, like Q9997, Q11715, Q12000, Q12165 or Q15002. It works with Q6814. --Dalton2 (talk) 14:16, 12 November 2012 (UTC)Reply

Work perfectly on these item, I don't see the problem. Think to reload you're script with ctrl-shift-R (on Firefox). And add this gagdget by the preference, maybe it will work better. --Jitrixis (talk) 20:53, 12 November 2012 (UTC)Reply

Pour info, en fait j'ai la liste de User:Zolo/autoEditLists.js dans Firefox mais pas dans Chrome. Une mesure de sécurité du navigateur ?--Zolo (talk) 18:41, 2 December 2012 (UTC)Reply

Testing edit

Hi Jitrix. If you want to do more tests you can use the sandbox instead of using a public page as Wikidata:Requests for deletions. --Frigotoni ...i'm here; 14:18, 9 November 2012 (UTC)Reply

Sory but it's about a deletion request script test so I don't have choice --Jitrixis (talk) 14:19, 9 November 2012 (UTC)Reply

Auto edit to help English varients edit

Hi, I was wondering if perhaps Auto edit labelling could be used to solve the problem I've brought up here about English varients being blank despite the English name being the same 95% of the time. Thanks! Delsion23 (talk) 11:40, 10 November 2012 (UTC)Reply

Is it possible for the auto edit to add the name of the English Wikipedia article to the different English language varients' label spaces? Such as, en-gb (British English) and en-ca (Canadian English)? Thanks Delsion23 (talk) 15:47, 10 November 2012 (UTC)Reply
Yes it's on my ToDo List --Jitrixis (talk) 15:48, 10 November 2012 (UTC)Reply
Thanks very much for your help. It is a great application that you have created! Much appreciated Delsion23 (talk) 15:49, 10 November 2012 (UTC)Reply
Thank you very much ^^ --Jitrixis (talk) 15:50, 10 November 2012 (UTC)Reply

These should be considered the same as en.

  • British English = en-gb ✓ Done
  • Canadian English = en-ca ✓ Done

These should be considered the same as zh.

  • China Chinese = zh-cn ✓ Done
  • Taiwan Chinese = zh-tw ✓ Done
  • Singapore Chinese = zh-sg ✓ Done
  • Mongolian Chinese = zh-mo ✓ Done
  • Simplified Chinese = zh-hans ✓ Done
  • Traditional Chinese = zh-hant ✓ Done
  • Hong Kong Chinese = zh-hk ✓ Done
  • Malaysia Chinese = zh-my ✓ Done

Perhaps also the different versions of Portuguese and German should be added?

  • Portuguese = pt ✓ Done
  • Brazilian Portuguese = pt-br ✓ Done
  • German = de ✓ Done
  • Formal German = de-formal ✓ Done

Delsion23 (talk) 00:46, 11 November 2012 (UTC) Thanks so much for sorting out the English varients btw! If only there were barnstars on Wikidata you'd have definitely earned one! ★ Delsion23 (talk) 00:57, 11 November 2012 (UTC)Reply

✓ Done--Jitrixis (talk) 12:58, 11 November 2012 (UTC)Reply

could you please create edit

MediaWiki:Gadget-slurpInterwiki/de with

''slurpInterwiki'': Importiert Interwiki-Links von Wikipedia.

MediaWiki:Gadget-labelLister/de with

''labelLister'': Zeigt eine Liste aller Bezeichnungen, Beschreibungen und Alias in den Sprachen, die bei dem gewählten Item bereits existieren und ermöglicht sie zu bearbeiten.

MediaWiki:Gadget-autoEdit/de with

''autoEdit'': Fügt automatisch alle Bezeichnungen mithilfe der Interwiki-Links hinzu, die Beschreibungen können mithilfe anpassbarer Listen hinzugefügt werden.

Thanks. Greets, CENNOXX (talk) 20:39, 10 November 2012 (UTC)Reply

Yes I add this to my todo --Jitrixis (talk) 20:40, 10 November 2012 (UTC)Reply
✓ Done--Jitrixis (talk) 01:01, 11 November 2012 (UTC)Reply

next thing... edit

Could you please change the line with the german description in User:Jitrixis/autoEdit.js and MediaWiki:Gadget-autoEdit.js,
'de': 'italienischen gemeinde',
to
'de': 'italienische Gemeinde',
thats important, because every minute there comes the next Query with a wrong german description. thanks, Greets CENNOXX (talk) 21:54, 10 November 2012 (UTC)Reply
Sorry I probably forget to save ! I belevie that i already do this excuse me ✓ Done --Jitrixis (talk) 00:50, 11 November 2012 (UTC)Reply
No big deal. Thanks --CENNOXX (talk) 14:08, 11 November 2012 (UTC)Reply

Admin edit

(Sorry for the late posting. You may already know) - Hi. Your RfA has been closed and I've promoted you to administrator. Congratulations. Best regards. — MarcoAurelio (talk) 01:16, 11 November 2012 (UTC)Reply

Thank you --Jitrixis (talk) 01:22, 11 November 2012 (UTC)Reply

Chinese variants edit

I notice that autoEdit will add zh, zh-cn, zh-hans, zh-hant labels using zhwiki interwiki. This will cause problems because there are two different writing systems in Chinese. Only zh label should be added automatically.

On the other hand, is it possible for labelLister to add function like this: When one variant is added manually, other variants will be added automatically in case they are blank.

The relationship between writing systems and variants are:

  • Simplified Chinese: zh-hans, zh-cn, zh-sg, zh-my
  • Traditional Chinese: zh-hant, zh-tw, zh-hk, zh-mo

For example, if zh-hans is added, then add zh-cn, zh-sg, zh-my automatically (same as zh-hans). Besides, zh can be added using either simplified or traditional Chinese.

Best regards. --Stevenliuyi (talk) 09:56, 11 November 2012 (UTC)Reply

I see what you mean, but there is no zh-hanswiki zh-hantwiki and etc in the world of wikipedias :

                           aawiki, abwiki, acewiki, afwiki, akwiki, alswiki, amwiki, anwiki, angwiki, arwiki, arcwiki, arzwiki,
                           aswiki, astwiki, avwiki, aywiki, azwiki, bawiki, barwiki, bat_smgwiki, bclwiki, bewiki,
                           be_x_oldwiki, bgwiki, bhwiki, biwiki, bjnwiki, bmwiki, bnwiki, bowiki, bpywiki, brwiki, bswiki,
                           bugwiki, bxrwiki, cawiki, cbk_zamwiki, cdowiki, cewiki, cebwiki, chwiki, chowiki, chrwiki, chywiki,
                           ckbwiki, cowiki, crwiki, crhwiki, cswiki, csbwiki, cuwiki, cvwiki, cywiki, dawiki, dewiki, diqwiki,
                           dsbwiki, dvwiki, dzwiki, eewiki, elwiki, emlwiki, enwiki, eowiki, eswiki, etwiki, euwiki, extwiki,
                           fawiki, ffwiki, fiwiki, fiu_vrowiki, fjwiki, fowiki, frwiki, frpwiki, frrwiki, furwiki, fywiki,
                           gawiki, gagwiki, ganwiki, gdwiki, glwiki, glkwiki, gnwiki, gotwiki, guwiki, gvwiki, hawiki, hakwiki,
                           hawwiki, hewiki, hiwiki, hifwiki, howiki, hrwiki, hsbwiki, htwiki, huwiki, hywiki, hzwiki, iawiki,
                           idwiki, iewiki, igwiki, iiwiki, ikwiki, ilowiki, iowiki, iswiki, itwiki, iuwiki, jawiki, jbowiki,
                           jvwiki, kawiki, kaawiki, kabwiki, kbdwiki, kgwiki, kiwiki, kjwiki, kkwiki, klwiki, kmwiki, knwiki,
                           kowiki, koiwiki, krwiki, krcwiki, kswiki, kshwiki, kuwiki, kvwiki, kwwiki, kywiki, lawiki, ladwiki,
                           lbwiki, lbewiki, lezwiki, lgwiki, liwiki, lijwiki, lmowiki, lnwiki, lowiki, ltwiki, ltgwiki, lvwiki,
                           map_bmswiki, mdfwiki, mgwiki, mhwiki, mhrwiki, miwiki, mkwiki, mlwiki, mnwiki, mowiki, mrwiki,
                           mrjwiki, mswiki, mtwiki, muswiki, mwlwiki, mywiki, myvwiki, mznwiki, nawiki, nahwiki, napwiki,
                           ndswiki, nds_nlwiki, newiki, newwiki, ngwiki, nlwiki, nnwiki, nowiki, novwiki, nrmwiki, nsowiki,
                           nvwiki, nywiki, ocwiki, omwiki, orwiki, oswiki, pawiki, pagwiki, pamwiki, papwiki, pcdwiki, pdcwiki,
                           pflwiki, piwiki, pihwiki, plwiki, pmswiki, pnbwiki, pntwiki, pswiki, ptwiki, quwiki, rmwiki,
                           rmywiki, rnwiki, rowiki, roa_rupwiki, roa_tarawiki, ruwiki, ruewiki, rwwiki, sawiki, sahwiki,
                           scwiki, scnwiki, scowiki, sdwiki, sewiki, sgwiki, shwiki, siwiki, simplewiki, skwiki, slwiki,
                           smwiki, snwiki, sowiki, sqwiki, srwiki, srnwiki, sswiki, stwiki, stqwiki, suwiki, svwiki, swwiki,
                           szlwiki, tawiki, tewiki, tetwiki, tgwiki, thwiki, tiwiki, tkwiki, tlwiki, tnwiki, towiki, tpiwiki,
                           trwiki, tswiki, ttwiki, tumwiki, twwiki, tywiki, udmwiki, ugwiki, ukwiki, urwiki, uzwiki, vewiki,
                           vecwiki, vepwiki, viwiki, vlswiki, vowiki, wawiki, warwiki, wowiki, wuuwiki, xalwiki, xhwiki,
                           xmfwiki, yiwiki, yowiki, zawiki, zeawiki, zhwiki, zh_classicalwiki, zh_min_nanwiki, zh_yuewiki,
                           zuwiki

--Jitrixis (talk) 14:30, 11 November 2012 (UTC)Reply


I'm sorry if my explanation sucked. I know that there are no zh-hanswiki, zh-hantwiki, etc. Let me explain my two points in detail:

First - autoEdit.js problem

zh-hans, zh-hant and others are all in zhwiki. The problem is that article titles of zhwiki could use either Simplified Chinese (zh-hans) or Traditional Chinese (zh-hant). Take Q23114 as an example, the title in zhwiki is "鲁迅"(which is zh-hans). When I use autoEdit to add labels, it should only add zh-hans, zh-cn, zh-sg, zh-my labels (because these variants are Simplified Chinese). However, now autoEdit also wrongly add zh-hant, zh-hk, zh-tw, zh-mo labels at the same time (these are Traditional Chinese, which should be "魯迅" other than "鲁迅").

Because it may be difficult for machine to identify which titles are zh-hans and which titles are zh-hant, I suggest autoEdit only automatically add zh labels. In other words, code below in MediaWiki:Gadget-autoEdit.js should be removed.

else if(id == "zhwiki"){
						iwiki['zh-cn'] = data.items[itemId].sitelinks[id].title.replace(/\(.*\)/g,"");
						iwiki['zh-tw'] = data.items[itemId].sitelinks[id].title.replace(/\(.*\)/g,"");
						iwiki['zh-sg'] = data.items[itemId].sitelinks[id].title.replace(/\(.*\)/g,"");
						iwiki['zh-mo'] = data.items[itemId].sitelinks[id].title.replace(/\(.*\)/g,"");
						iwiki['zh-hans'] = data.items[itemId].sitelinks[id].title.replace(/\(.*\)/g,"");
						iwiki['zh-hant'] = data.items[itemId].sitelinks[id].title.replace(/\(.*\)/g,"");
						iwiki['zh-hk'] = data.items[itemId].sitelinks[id].title.replace(/\(.*\)/g,"");
						iwiki['zh-my'] = data.items[itemId].sitelinks[id].title.replace(/\(.*\)/g,"");
					}
✓ Done--Jitrixis (talk) 15:45, 11 November 2012 (UTC)Reply
Second - labelLister.js proposal

Now when I use labelLister to add labels and descriptions of an item, I have to manually add labels and descriptions of many different variants. Take a look at the revision history of Q23114, you could see I added descriptions of zh-hans, zh-hant, zh-cn, zh-hk, zh-tw, zh-sg, zh-mo, zh-my respectively. It's surely wasteful duplication of work, because there are only two different descriptions (one in Simplified Chinese, the other in Traditional Chinese).

So, I would like to know if it is possible that I just need to add two variants (zh-hans and zh-hant), and let labelLister do remain works. That is to say, if I add zh-hans label and description of an item, then labelLister automatically add zh-cn, zh-sg, zh-my labels and descriptions. And if I add zh-hant label and description, then labelLister add zh-hk, zh-tw, zh-mo labels and descriptions for me. In this way, I will only need to add two variants instead of eight.

I hope the explanation is more clear than before. Sorry for disturbing you again. Regards.--Stevenliuyi (talk) 15:38, 11 November 2012 (UTC)Reply

Ok I add this to my todo --Jitrixis (talk) 15:45, 11 November 2012 (UTC)Reply
Thank you very much.--Stevenliuyi (talk) 16:02, 11 November 2012 (UTC)Reply

There should soon be a "fallback" mechanism so that when the "zh" text in provided but not "zh-hant", a "zh-hant" user will see the "zh" text. Since adding the same text for both all Chinese variants often results in faulty spelling, I think it would be better to only add the "zh" text with autoEdit. Beside, it might be possible to implement automatic conversion on Wikidata (just like on Wikipedia), or at least to have have bots make the conversion. --Zolo (talk) 14:30, 13 November 2012 (UTC)Reply

suggestion for AutoEdit edit

Salut Jitrixis, (je t'écris en français, puisque tu le comprends visiblement)

Super boulot que tu as fait, déjà, ça gagne un temps précieux...

Deux idées en passant :

  • serait-il possible que l'outil ne s'affiche dans la liste de gauche QUE s'il y a des libellés vides ? (s'ils sont tous pleins, on n'en a pas besoin…)
  • serait-il possible de mettre un bouton pour le lancer dans le tableau affiché par labelLister ?

Merci encore pour ce superbe travail --Hsarrazin (talk) 14:21, 11 November 2012 (UTC)Reply

  • Le premier bonne idée mais du point de vue technique le script serais executer directement sns l'avis de l'utilisateur et entrainerais donc des latence de chargement de page mais aussi des bug si l'utilisateur change trop vite de page. Il y a peut-être une solution je regarderais ça.
  • J'ai déjà pensez à ça mais comme les deux script sont isoler l'un ne peut pas modifier l'autre et inversement désoler--Jitrixis (talk) 14:28, 11 November 2012 (UTC)Reply

AbuseFilter edit

Salut ,

J'ai vu que tu avais créé un filtre pour détecter les ajouts du modèle {{Delete}}. Sachant que l'on peut déjà savoir quelles pages incluent un modèle donné, a-t-on vraiment besoin de ce filtre ?

Je demande cela parce qu'il existe une limite maximale au nombre de conditions que l'on peut utiliser en cumulé dans tous les filtres. Aujourd'hui, ça ne gêne pas parce qu'il n'y a aucun filtre, mais le jour où on voudra détecter des erreurs et des vandalismes, il va falloir que l'on se contorsionne pour éviter cette limite ; et si d'ici là les gens se sont habitués à utiliser ton filtre, on risque d'avoir du mal à le sacrifier pour des filtres qui, eux, n'ont pas d'équivalent comme les pages liées.

Amicalement — Arkanosis 17:05, 11 November 2012 (UTC)Reply

A ce moment là il est inactif, car j'ai fait une demande pour savoir ce que la communauter pense de ce filtre, s'il il faut le maintenir en place ou le supprimer http://www.wikidata.org/wiki/Wikidata:Project_chat#Abuse_Filter_request --Jitrixis (talk) 17:14, 11 November 2012 (UTC)Reply
Merci, j'ai commenté là-bas. Bien à toi — Arkanosis 18:00, 11 November 2012 (UTC)Reply

Suggestion for AutoEdit lists edit

Hi

This page User:Raoli/autoEditLists.js doesn't work in AutoEdit script. Could you add in MediaWiki:Gadget-autoEdit.js these lists: Calciatore italiano and the following, please ? I need them because I'm working in "Wikidata:Years Task Force" and I would like add items about the Italian football players. --Raoli (talk) 17:28, 14 November 2012 (UTC)Reply

Year
               'year': {
                                   'it': 'anno',
                                   'en': 'year',
                                   'es': 'año',
                                   'fr': 'année',
                                   'de': 'Jahr',
                                   'ca': 'any',
                                   'cs': 'rok',
                                   'eo': 'jaro',
                                   'fi': 'vuosi',
                                   'ia': 'anno',
                                   'is': 'ár',
                                   'la': 'annus',
                                   'da': 'år',
                                   'nl': 'jaar',
                                   'nn': 'år',
                                   'no': 'år',
                                   'pl': 'rok',
                                   'pt': 'ano',
                                   'ru': 'год',
                                   'sv': 'år',
                                   'tr': 'yıl',
                                   'zh': '年',
                                   'ja': '年',
                                   'af': 'jaar',
                                   'als': 'joor',
                                   'an': 'anyo',
                                   'ar': 'سنة',
                                   'bs': 'godina',
                                   'el': 'έτος',
                                   'et': 'Aasta',
                                   'eu': 'Urte',
                                   'fa': 'سال',
                                   'ast': 'añu',
                                   'sq': 'Viti',
                                   'sr': 'Година',
                                   'srn': 'Yari',
                                   'uk': 'Рік',
                                   'ur': 'سال',
                                   'nam': 'Năm',
                                   'war': 'Tuig',
                                   'zh-min-nan': 'Nî',
                                   'zh-yue': '年',
                                   'ro': 'An',
                                   'sh': 'Godina',
                                   'sk': 'Rok',
                                   'sl': 'Leto',
                                   'ms': 'Tahun',
                                   'fy': 'Jier',
                                   'gl': 'Ano',
                                   'he': 'שנה',
                                   'hr': 'Godina',
                                   'hu': 'Év',
                                   'ht': 'Lane',
                                   'ilo': 'Tawen',
                                   'id': 'Tahun',
                                   'ka': 'წელი',
                                   'ku': 'Sal',
                                   'lt': 'Metai',
                                   'mhr': 'Идалык'
                },

Raoli (talk) 17:28, 14 November 2012 (UTC)Reply

✓ Done--Jitrixis (talk) 17:31, 14 November 2012 (UTC)Reply
Thank you Raoli (talk) 17:37, 14 November 2012 (UTC)Reply
Since I'm working on, I added the other languages ​​above. Please update. --Raoli (talk) 18:03, 14 November 2012 (UTC)Reply
✓ Done I've done that.--CENNOXX (talk) 18:04, 1 December 2012 (UTC)Reply

Suggestion for AutoEdit edit

Bonjour Jitrixis!

Would you be so kind and implement de-formal to your gadget like en-ca and en-gb? de-formal has always the same label/description as normal de. Actually the situation is, that you don't have any labels/descriptions if you switch your language in your preferences to de-formal, because quite nobody adds de-formal to the items.

Thanks, --Vogone (talk) 22:57, 22 November 2012 (UTC)Reply

✓ Done--Jitrixis (talk) 20:35, 23 November 2012 (UTC)Reply
de-formal is never needed as label. It will fallback to de after new wikidata version is live. It is an unnecessary and redundant information. de-formal is also not valid language code. It is only a different form of address to readers. Merlissimo (talk) 11:49, 27 November 2012 (UTC)Reply
And when will the new wikidata version be live? I'm using de-formal and all labels are blank, except those which were automatically created by this gadget. I hope this will change soon. Regards, Vogone (talk) 14:59, 27 November 2012 (UTC)Reply
wmde internal plan is next week. The question is: Does wmf updates the already released version 1.21wmf5 or waits until 1.21wmf6 (which will be enabled on wikidata.org on dec 10th). Merlissimo (talk) 16:00, 27 November 2012 (UTC)Reply

AutoEdit feature edit

When the tool "AutoEdit" adds the label of interwiki should do a little preliminary check. In fact, there are Spanish and Portuguese Wikipedias that have many articles in the namespace "Anexo" and Czech Wikipedia that has also itself several articles in the namespace "Příloha." The tool should not add the namespace in the label but only the simple name of the article (without namespace). Example: (Anexo:Gran Premio de Canadá de 1998) Thank you Raoli (talk) 16:19, 27 November 2012 (UTC)Reply

✓ Done Thanks for your help. --Jitrixis (talk) 19:45, 27 November 2012 (UTC)Reply
Merci beaucoup Julien! Raoli (talk) 20:37, 27 November 2012 (UTC)Reply
De rien Raoli :D --Jitrixis (talk) 16:31, 28 November 2012 (UTC)Reply

Suggestion for AutoEdit edit

Hi,

After labelling quite a bunch of items, I think adding an automatic description (multilingual) for "disambiguation pages" would be nice. I would allow to add the description in all languages at one time, instead of every contributor doing his own language :) - Thanx if you can --Hsarrazin (talk) 14:50, 6 January 2013 (UTC)Reply

Yes it's a good idea . I will ask the translation to skid . Thanks --Jitrixis (talk) 14:58, 6 January 2013 (UTC)Reply

Admin confirmations edit

Hello! We are currently in the process of confirming all of the early admins, and you are scheduled to be confirmed between 2 - 6 February 2013. Please create an entry at Wikidata:Administrators/Confirm 2013/3, and see Wikidata:Administrators/Confirm 2013 for more details. Merci et bonne journée! Ajraddatz (Talk) 03:13, 27 January 2013 (UTC)Reply

AutoEdit and Norwegian edit

Hi. Norwegian (no) consists of two "sub-languages": "nb" and "nn". In Wikipedia "no" and "nn" are used. In Wikidata it's "nb" and "nn". (Long story.) So the "no" labels are relatively usless AFAIU, while the "no" interlanguage links can be used to generate "nb" labels, and the descriptions should also be "nb" instead of "no". - Soulkeeper (talk) 16:43, 11 February 2013 (UTC)Reply

✓ Done --Jitrixis (talk) 17:18, 13 February 2013 (UTC)Reply

Re: Admin confirmations edit

Thank you for reminding me, I added my statement. But please, please, never try to use Google Translate to an unknown language, because the result makes me suffer. Honest English is better. :-) Bináris (talk) 22:27, 13 February 2013 (UTC)Reply

Google fordítás nem jó a fordítás ... Ho vagyok kiábrándító. XD (Google translation isn't great for translation... Ho, I'm disappointing. XD ). Hum so I will stop fooling around with Google Translation. So, you're welcome and sorry for this translation ^^ --Jitrixis (talk) 22:37, 13 February 2013 (UTC)Reply

Dutch translation of your userpage edit

Bonjour Jitrixis, I noticed your userpage. If you'd like a Dutch translation: "Mijn naam is Julien en ik ben hier om dit revolutionaire idee te testen". Have a nice day! ;) Mathonius (talk) 01:44, 24 February 2013 (UTC)Reply

thanks --Jitrixis (talk) 07:37, 24 February 2013 (UTC)Reply

Gadget-labelLister.js edit

Hello, there is some problems with "bn" translation (last line). Take a look at MediaWiki_talk:Gadget-labelLister.js#Bengali_translation. Regards, --Stryn (talk) 18:21, 16 March 2013 (UTC)Reply

Works fine now, my mistake. --Stryn (talk) 18:47, 16 March 2013 (UTC)Reply

DeletionHelper edit

Could you please explain me a summary of all changes that you have made to my original script? (I don't understand it anymore)

Thanks.

PS: and why did you use all those base64 images? --Ricordisamoa 09:42, 24 March 2013 (UTC)Reply


		$("li").not(":has(a.new)")// items not already deleted
		.each(function(i,e){
			if(/[Qq](\d*) \(delete \| history \| links \| log\)/.test($(e).text()) === true){
				var entityId=$(e).text().replace(/(.*) \(delete \| history \| links \| log\)/,"$1");
				$.getJSON(
					mw.util.wikiScript("api"),
					{
						format:"json",
						action:"wbgetentities",
						ids:entityId
					},
					function(data){
						if(data.success&&data.entities[Object.keys(data.entities)[0]]){
							var entity=data.entities[Object.keys(data.entities)[0]];
							var length=0;
							if(typeof(entity.sitelinks)=="object") length=Object.keys(entity.sitelinks).length;
							if(length===0) $(e).children("a").first().css("color","teal");
							$("<span>")
							.html("  ("+(length>0?length+" <i>sitelink"+(length>1?"s":""):"empty")+"</i>)")
							.css("font-size","70%")
							.css("vertical-align","middle")
							.appendTo(e);
						}
					}
				);
			}
		});

This add the number of item in bulk

		$("h2>span.editsection").each(function(i,e){
			var index=parseInt($(e).children("a").first().attr("href").replace(/^.+[\?&]section=([0-9]+)$/,"$1"));
			$(e).parent().attr("id","section"+index);
			work[index] = false; 
			$.get(
				mw.util.wikiScript(),
				{title:wgPageName,action:"raw",section:index}
			)
			.done(function(d){
				if(/\{\{([Nn]ot )?[Dd](eleted|one)(\|admin=[^\{\}]+)?\}\}/.test(d)===false){

Not a lot change

					$("<a>")
					.html(" Yes ")
					.attr("title","Mark as deleted")
					.attr("style",'background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAMAAAA2GAaYAAAAQlBMVEUpflI7tXYxl2MujVwqgFQ1omk2pWwoeU8vkF4sh1gwlGA5rnI7s3Uzm2U3qG4oe1A0n2c4q3AtilovfVUrg1Y6sXPiEyGEAAAAKElEQVR4XgXAhQ2AMAAAsM4Ft/9fJYLVZ3HZVcVpE01dchteGYfm+QEULwDomj1/qwAAAABJRU5ErkJggg==") repeat-x scroll 50% 100% #3365BA !important; color: white; float: right; font-size: 0.7em; padding: 1px; position: relative; bottom: 12px; border-radius: 0px 0px 0px 6px;border-bottom:1px solid black;border-left:1px solid black')
					.click(function(event){
						location.hash = "#" + $(e).siblings(".mw-headline").first().attr("id");
						event.preventDefault();
						send(wgPageName,index,e,d,"","d");
					})
					.insertAfter($(e).parent())
					.tipsy({
            					gravity: 'ne',
            					fade: true
       					 });

this add a link "yes" with a green gradiant background and a tipsy is display when hover and on click it change the hash of the url and execute the send function

					$("<a>")
					.html(" No ")
					.attr("title","Mark as not deleted")
					.attr("style",'Background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAMAAAA2GAaYAAAAQlBMVEWUAACeAACIAADIAACQAACKAACaAADDAAC8AACxAACFAADFAADAAACuAACXAACqAACmAAC5AACiAACNAADKAAC1AAB6LXXpAAAAKElEQVR4XgXAhQ2AMAAAsM4Ft/9fJV7Joll1l8+wOZxuQbUjexTR/AEV+QDoUwTrkQAAAABJRU5ErkJggg==") repeat-x scroll 50% 100% #CB0000 !important; color: white; float: right; font-size: 0.7em; padding: 1px; position: relative; bottom: 12px;border-bottom:1px solid black')
					.click(function(event){
						if(/^.*#.*$/.test(document.location) === false){ document.location = document.location + "#" + $(e).siblings(".mw-headline").first().attr("id");}
						location.hash = "#" + $(e).siblings(".mw-headline").first().attr("id");
						event.preventDefault();
						send(wgPageName,index,e,d,"","n");
					})
					.insertAfter($(e).parent())
					.tipsy({
            					gravity: 'ne',
            					fade: true
       					 });

this add a link "no" with a red gradiant background and a tipsy is display when hover and on click it change the hash of the url and execute the send function

					$("<a>")
					.html(" # ")
					.attr("title","Write a comment")
					.attr("style",'background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAMAAAA2GAaYAAAAQlBMVEUuXKkmS4ozZbkkSIQtW6YiRHwrV58hQ3owYLAxY7UnTY0jRoEqVZsyZLcvXq0oT5EqU5gxYbMsWaMlSocjRX8pUZU8hDFrAAAAKElEQVR4XgXAhQ2AMAAAsM4Ft/9fJaLNcOl2ZLdqdfocpuCRLF5F+wETiQDocXjMfwAAAABJRU5ErkJggg==") repeat-x scroll 50% 100% #3365BA !important; color: white; float: right; font-size: 0.7em; padding: 1px; position: relative; bottom: 12px; border-radius: 0px 0px 6px 0px;border-bottom:1px solid black;border-right:1px solid black')
					.click(function(event){
						if(/^.*#.*$/.test(document.location) === false){ document.location = document.location + "#" + $(e).siblings(".mw-headline").first().attr("id");}
						location.hash = "#" + $(e).siblings(".mw-headline").first().attr("id");
						event.preventDefault();
						send(wgPageName,index,e,d,prompt("Type the text to send to this request:\n\n* If you want to set a template\n   TEMPLATE|option1|option2#My Text\n\n* If you want to incremente the text, add a colon at the beginning of the text\n   :TEMPLATE#My Text          :My Text\n\n* If you leave the template option blank, it will set the default template (deleted or not deleted)\n   #My Text                            :#My Text"),"c");
					})
					.insertAfter($(e).parent())
					.tipsy({
            					gravity: 'ne',
            					fade: true
       					 });

this add a link "#" with a red gradiant background and a tipsy is display when hover and on click it change the hash of the url and display a prompt to send a comment then its execute the send function

				}else{
					$("<a>")
					.html(" # ")
					.attr("title","Write a comment")
					.attr("style",'background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAMAAAA2GAaYAAAAQlBMVEUuXKkmS4ozZbkkSIQtW6YiRHwrV58hQ3owYLAxY7UnTY0jRoEqVZsyZLcvXq0oT5EqU5gxYbMsWaMlSocjRX8pUZU8hDFrAAAAKElEQVR4XgXAhQ2AMAAAsM4Ft/9fJaLNcOl2ZLdqdfocpuCRLF5F+wETiQDocXjMfwAAAABJRU5ErkJggg==") repeat-x scroll 50% 100% #3365BA !important; color: white; float: right; font-size: 0.7em; padding: 1px; position: relative; bottom: 12px; border-radius: 0px 0px 6px 6px;border-bottom:1px solid black;border-right:1px solid black;border-left:1px solid black')
					.click(function(event){
						if(/^.*#.*$/.test(document.location) === false){ document.location = document.location + "#" + $(e).siblings(".mw-headline").first().attr("id");}
						location.hash = "#" + $(e).siblings(".mw-headline").first().attr("id");
						event.preventDefault();
						send(wgPageName,index,e,d,prompt("Type the text to send to this request:\n\n* If you want to set a template\n   TEMPLATE|option1|option2#My Text\n\n* If you want to incremente the text, add a colon at the beginning of the text\n   :TEMPLATE#My Text          :My Text\n\n* If you leave the template option blank, it will set the default template (deleted or not deleted)\n   #My Text                            :#My Text"),"c");
					})
					.insertAfter($(e).parent())
					.tipsy({
            					gravity: 'ne',
            					fade: true
       					 });

if a template already exist only the comment link is display

				}
			});
		});

The Send Function edit

		function send(wgPageName,index,e,d,c,m){
			//CREATE SPINNER
			var spinner = '<pre id="rfdSpinner' + index + '">
'; var nextindex = index+1;

if(document.getElementById("section"+nextindex) == null){ $("#mw-content-text").append(spinner); }else{ $("#section"+nextindex).before(spinner); } $.createSpinner( { size: 'small', id: 'rfdSpinner'+index } ).appendTo( "#rfdSpinner"+index ); //CREATE SPINNER

create at the end of the section a code tag with the spinner

			work[index] = true;

indicate that the function is still working

			if( /==\s*\[\[(.*)\]\]\s*==/.test(d) === true ){

detect if the title has a link

				var title = d.match(/==.*==/)[0].replace(/^==\s*\[\[(.*)\]\]\s*==/,"$1");

get the title

				if(m == "d"){var template = "Deleted";var resume = "deleted";}
				if(m == "n"){var template = "Not deleted";var resume = "not deleted";}
				$.ajax({
					url: mw.util.wikiScript( 'api' ),
					async: false,
					type: 'GET',
					dataType: 'json',
					data: {
						action: 'query',
						format: 'json',
						list: 'logevents',
						leprop: 'type|user',
						letitle: title,
						lelimit: '1'
					},

see the log to know what is happen on this page

					success: function ( data ) {
						if(data.query.logevents.hasOwnProperty(0)){
							if(data.query.logevents[0].action == "delete"){

if the page has been deleted

								if(m == "d"){

if the person has click on yes

									if(data.query.logevents[0].user != mw.config.get( 'wgUserName' )){
										template = "deleted|admin=" + data.query.logevents[0].user;
										resume = "deleted by " + data.query.logevents[0].user;
									}

edit the template if the deletion has been made by another person

								}else if(m == "n"){
									if(!confirm("This page has been deleted ! Are you sur to mark this request as not deleted ?")){
										m="c";c="";
									}

if the person has click on no it will say that the page has been deleted and request a confirm action N.B. : m="c";c=""; will aborte the function

								}else{
									if(data.query.logevents[0].user == mw.config.get( 'wgUserName' )){
										template = "deleted";
										resume = "deleted";
									}else{
										template = "deleted|admin=" + data.query.logevents[0].user;
										resume = "deleted by " + data.query.logevents[0].user;
									}	
 
								}

template by default in case of a comment

							}else{

if the page has not been deleted

								if(m == "d"){
									if(!confirm("This page hasn't been deleted ! Are you sur to mark this request as deleted ?")){
										m="c";c="";
									}

say to the user that the page hasn't been deleted and request a confirm N.B. : m="c";c=""; will aborte the function

								}else{
									template = "not deleted";
									resume = "not deleted";	
								}
							}
						}
					}
				});
			}else{
				if(m == "d"){var template = "Done";var resume = "done";}
				if(m == "n"){var template = "Not done";var resume = "not done";}
				if(m == "c"){var template = "Done";var resume = "done";}

the template to display if it's not a link.

			}
			if(c == null){c = "";}
			if(m == "c" && c == ""){
				$( "#mw-spinner-rfdSpinner"+index ).append('<img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a2/X_mark.svg/20px-X_mark.svg.png" style="">');
				$("#rfdSpinner"+index).append('<span style="color:red;float:right"><strong>Aborted</strong></span>');
				work[index] = false;
				setTimeout(function(){$("#rfdSpinner"+index).remove()},3000);
				return;
			}

abort the script

			if( /:*(.*)#(.*)/.test(c) === true ){
				if(c.replace(/^:*(.*)#(.*)$/,"$1") != ""){
					var template = c.replace(/^:*(.*)#(.*)$/,"$1");
					var resume = template;
				}

extract the template in the comment

			}else if(c != ""){
				template="";
				resume = "commented";

if there's no template requested

			}
			point = c.replace(/^(:*).*$/,"$1")

extract the colon of a comment

			c = c.replace(/^:*(.*#)?(.*)$/,"$2");

extract the text of a comment

			var n = d.match(/^:+/gm);

extract each consecutive colon in the beginning of each line

			if(point == "" && n != null){
				point = n[n.length-1];

extract the colon of the last line

				if(point.length >= 10){
					var size = point.length - 1;
					point = "{{od|" + size + "}}";
				}

if colon are more than 10 add { { od } }

			}
			point = ":" + point;

increment the colon

			template = "{{" + template + "}}";

add { and } to a template

			if(template == "{{}}"){template = "";}

if there's no template disable the display

			//CREATE SPINNER
			var spinner = "  " + point + " " + template + "  " + c + " ~~~~"
			$("#rfdSpinner"+index).append(spinner);
			//CREATE SPINNER

add the text which will be send in the code tag

			$.post(
				mw.util.wikiScript("api"),
				{
					action:"edit",
					appendtext: "\n" + point + " " + template + " " + c + " ~~~~",
					title:wgPageName,
					section:index,
					summary:"/* "+$(e).siblings(".mw-headline").first().attr("id")+" */ tagging as '" + resume + "' ([[MediaWiki:Gadget-DeletionHelper|DH]])",
					token:mw.user.tokens.get("editToken")
				}
			)
			.done(function(data){
				if(/error/.test(data) === true){
					$( "#mw-spinner-rfdSpinner"+index ).append('<img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a2/X_mark.svg/20px-X_mark.svg.png" style="">');
					$("#rfdSpinner"+index).append('<span style="color:red;float:right"><strong>Edit conflict detected</strong></span>');
				}else{
					$("#rfdSpinner"+index).append('<span style="color:green;float:right"><strong>Corectly sent</strong></span>');
					$( "#mw-spinner-rfdSpinner"+index ).append('<img style="margin-left:1px" src="//upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Yes_check.svg/20px-Yes_check.svg.png">');
				}
				work[index] = false;
				setTimeout(function(){rld();},2500);
			})
			.fail(function(){
				$( "#mw-spinner-rfdSpinner"+index ).append('<img src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a2/X_mark.svg/20px-X_mark.svg.png" style="">');
				$("#rfdSpinner"+index).append('<span style="color:green;float:right"><strong>The ajax request failed.</strong></span>');
				work[index] = false;
				setTimeout(function(){rld();},2500);
			});
		}

then post the element

rld function edit

		function rld(){
			var reload = true;
			for(var nb in work){
				if(work[nb] === true){
					reload = false;
				}
			}
			if(reload === true){
				document.location.reload(true);
			}
		}

if a function is always working it will not reload the page until it's not finish

Regards and sorry for my bad english I write it to much faster and I don't reread my text but I hope this is understandable --Jitrixis (talk) 11:18, 24 March 2013 (UTC)Reply

Thanks for your explanation, I'll read it soon.
But please, do not pullute the code with base64 images: take them directly from the Commons! --Ricordisamoa 14:18, 24 March 2013 (UTC)Reply
the four base64 images are only a gradiant background they can't be coprighted --Jitrixis (talk) 14:23, 24 March 2013 (UTC)Reply
take a look at CSS gradients! (Check also this useful tool). --Ricordisamoa 14:31, 24 March 2013 (UTC)Reply

Fix in AutoEdit edit

In MediaWiki:Gadget-autoEdit.js all code are between apostrophes ('en'), but in the phrase "Wikipedia disambiguation page" they are between quotation marks ("en"). And I suggest you that order the codes by alphabetic order, because there are more languages and someone can add a code twice. --Vivaelcelta (talk) 22:35, 28 March 2013 (UTC)Reply

✓ Done---- Jitrixis (talk) 13:49, 30 March 2013 (UTC)Reply

Deletion helper edit

Hi Jitrixis!

Could you have a look on this section, please? Thanks in advance, Vogone talk 14:21, 29 March 2013 (UTC)Reply

MediaWiki:Gadget-autoEdit.js edit

Updating labels of item with Wikipedia category pages,parameters word "Category" in all languages. E. g. --Vivaelcelta (talk) 00:55, 7 April 2013 (UTC)Reply

Same with me. Word before " : " from "Category:XXX" and "Template:XXX"" are not include if I press [X]labels button.  Ę-oиė  >>> 02:02, 15 April 2013 (UTC)Reply
Ok, I think there's no automaticaly issue. I will put a button to keep or not the prefixe. Regards, --Jitrixis (talk) 02:41, 15 April 2013 (UTC)Reply
✓ Done --Jitrixis (talk) 03:04, 15 April 2013 (UTC)Reply
Still not work for my costumed list "Wikipedia templates". The word "Templat:", "Citakan:" and "Cithakan:" from id, bjn, jv and ms not shown when I pressed [X]labels button.  Ę-oиė  >>> 03:54, 15 April 2013 (UTC)Reply
don't forget ti refresh the script (by pressing ctrl+shift+R) and there is a checkbox in paramete askibg you if you want to keep the prefix or not. Regards, --Jitrixis (talk) 04:02, 15 April 2013 (UTC)Reply
✓ Done Thanks Sir. Got to check all prefix. :)  Ę-oиė  >>> 07:54, 15 April 2013 (UTC)Reply

Hi, thanks for a great tool! I noticed sometimes categories and templates are still missing the prefix in the label ([[1]] is an example, but I've seen it before and for other languages, too). Regards Littledogboy (talk) 14:49, 18 July 2013 (UTC)Reply

Hi, if you want to keep all prefixe in label you must turn the "keep prefix in label" option to on, when this option is checked all new labels added by the script will keep the prefixe but if a label isn't empty the script will keep the previous label so if en/ca is already set without prefixe the script isn't allowed to reset it with the prefix. --Jitrixis (talk) 16:11, 18 July 2013 (UTC)Reply
D'oh! I didn't see the "keep the prefix" checkbox. Oh dear. Thanks! Littledogboy (talk) 01:32, 19 July 2013 (UTC)Reply
You're Welcome ! --Jitrixis (talk) 15:31, 19 July 2013 (UTC)Reply

Utilisateur enregistré edit

Malheureusement, MediaWiki donne cette traduction. Il ne faut pas à mon avis donner des intitulés différents à une seule chose. diff. — Ltrl G, 12:33, 10 April 2013 (UTC)Reply

Script edit

Bonjour,

Je me permets de te contacter car tu as écrit le gadget autoEdit, qui permet notamment d'ajouter plusieurs descriptions en même temps. Serait-il possible d'en obtenir une variante (a priori à mon seul usage, mais qui pourrait être utile à d'autres), qui permette d'effectuer en un seul clic ce que j'ai fait ici ? J'aurais besoin d'un programme qui ajoute un libellé de mon choix dans une série de langues déterminée à l'avance, au lieu d'une seule langue à la fois. Est-ce réalisable ? Ljubinka (discussion) 19:47, 18 May 2013 (UTC)Reply

Oui ça doit être possible, je suis pas sur d'avoir le temps ce soir car je suis sur un autre projet, je ne pourrais que te fournir une version released qu'à partir de demain si tous va bien.
Mais pour cela j'aurai quelque question. Si j'ai bien compris du veut un script qui entre un même libeller identique pour plusieurs langue? Veux-tu un bouton (tous cocher) ?
+-------------------------------------+
|  nameGuzzler                        |
+-------------------------------------+
|    texte : _______________          |
|    langue :                         |
|  [] fr [] en [] de ...              |
|                       (tous cocher) |
+-------------------------------------+
Voici un croquis du script. cela-t-irais ? --Jitrixis (talk) 20:11, 18 May 2013 (UTC)Reply
Merci de ta réponse rapide. Il n'y a aucune urgence ! En effet je voudrais ajouter le même libellé en plusieurs langues. Ton croquis me va très bien. Si c'est possible, j'aimerais pouvoir définir à l'avance la liste des langues que je veux ajouter (ce sera les mêmes la plupart du temps), pour éviter de passer mon temps à cocher et décocher des cases. Peut-être en faisant en sorte que les langues que j'ai indiquées dans ma "liste perso" soient cochées par défaut ? Ljubinka (discussion) 20:27, 18 May 2013 (UTC)Reply
Ok je vais voir ce que je peut faire. Ça n'a pas l'air d'être compliqué à faire. --Jitrixis (talk) 20:30, 18 May 2013 (UTC)Reply

Bonjour, je viens aux nouvelles :) Est-ce que le projet de script est toujours d'actualité ? Ljubinka (discussion) 08:10, 25 May 2013 (UTC)Reply

Le script nameGuzzler développer par Jitrixis. Version en développement.
Oui cela avance très bien. J'ai eu un peu de retard mais j'ai déjà bien travailler, J'ai une fenêtre mais il faut que je fasses quelque modification d'esthétique et faire les fonction d'enrengistrement. Voici un screenshot du script indev →. --Jitrixis (talk) 09:00, 25 May 2013 (UTC)Reply
Super ! Ljubinka (discussion) 09:06, 25 May 2013 (UTC)Reply
nameGuzzler.js (VIP labels)
This script allows you to add the same label in different language.
Developed by Jitrixis, an idea from Ljubinka. More information on the talk page How to custom : Go on Special:MyPage/nameGuzzlerOption.js then add this code : var nameGuzzler = ["en","de","fr","it", "es", "..."];$(document).myPlugin(nameGuzzler);

--Jitrixis (talk) 17:18, 25 May 2013 (UTC)Reply

Merci, mais... il y a quelque chose à changer. Est-ce possible que le script ne modifie pas le libellé lorsqu'il y en a déjà un ? Ljubinka (discussion) 17:33, 25 May 2013 (UTC)Reply

Oui c'est possible --Jitrixis (talk) 17:44, 25 May 2013 (UTC)Reply
✓ Done--Jitrixis (talk) 18:35, 25 May 2013 (UTC)Reply
Merci beaucoup ! Tout a l'air de fonctionner. Est-ce normal que la case Libellé contienne le texte "Jean-Baptiste Pocquelin" grisé ? Ljubinka (discussion) 20:43, 25 May 2013 (UTC)Reply
Oui c'est un exemple de nom. Il change en fonction de la langue. --Jitrixis (talk) 20:45, 25 May 2013 (UTC)Reply

Notification de traduction : Template:Recentchanges/text edit

Bonjour Jitrixis,

Vous recevez cette notification parce que vous êtes inscrit comme traducteur de français et allemand sur Wikidata. La page Template:Recentchanges/text est disponible pour la traduction. Vous pouvez la traduire ici:

La priorité de cette page est moyenne. La date limite pour traduire cette page est 2013-06-30.

Votre aide est grandement appréciée. Des traducteurs comme vous aident Wikidata à fonctionner comme une communauté réellement multilingue.

Merci !

Les coordinateurs de la traduction de Wikidata‎, 21:37, 8 June 2013 (UTC)

Je

autoEdit edit

Bonjour,

Peux-tu s'il te plaît ajouter « modèle de Wikipédia » pour la description en français des modèles ? Merci.

Ljubinka (discussion) 15:06, 30 July 2013 (UTC)Reply

Il faudrait faire une demande ici MediaWiki_talk:Gadget-autoEdit.js car je ne connais pas la liste de toutes les langues pour ce mot et comme ceci il serra maintenu par la communauté. Regards --Jitrixis (talk) 09:19, 31 July 2013 (UTC)Reply
Je pige rien à cette page, et je pense que les excès de bureaucratie de Wikidata sont néfastes (je ne dis pas ça pour toi !). Dans le texte du script, il y a un gros bloc qui commence par
'Wikipedia template': {
'ab':'aшаблон Авикипедиа',
'ace':'pola Wikipèdia',
'af':'sjabloon Wikipedia',
'ak':'şablon Wikipidia',
'als':'Wikipediavorlage',
'am':'መለጠፊያ ውክፔዲያ',
'an':'plantilla Biquipedia',
Je voudrais y ajouter une ligne en français, puisqu'il n'y en a pas. Si tu n'es autorisé à le faire, tant pis et merci quand même pour ta réponse ! Ljubinka (discussion) 09:37, 2 August 2013 (UTC)Reply
PS : Le script que tu as écrit à ma demande à un nouveau client (User:Nightwish62) et il/elle est très content(e) =)
Ok. I've just set the french translation on this thanks --Jitrixis (talk) 08:41, 3 August 2013 (UTC)Reply

Bulk deletion request edit

you have deleted all those items but you must first check them since many can and must be correct, before continuing please check the pages that remove, label description are lose in many page Rippitippi (talk) 01:08, 23 August 2013 (UTC)Reply

I check if all item has no link and statement. Tnak you. Regards --Jitrixis (talk) 01:17, 23 August 2013 (UTC)Reply
this user had simply copy/past this page [2] so dont is important lose label and description or see if the item are empty by vandal? I'm asking since I'm new otherwise wasted so much time to check all the items Rippitippi (talk) 01:21, 23 August 2013 (UTC)Reply
Yep I know that, I'm not a noob of that. I also made and improve script about deleting and listing label and desc of items. and that's the same issue for bot when there's update after they're publishing. I know that were're obliged to check if item are really empty and sometime it's not. And before deleting I check every page and see if there's a link or a statement. You just see that I deleting many item in few minutes but I see in bulk all the 75 pages then I delete the 75 item. So you can notice that there's big wait beetween bulk. I know that vandalism can be a fact but it's very difficult to know this because sometime there's only one item deleted. Regards --Jitrixis (talk) 01:28, 23 August 2013 (UTC)Reply
I ask then, why do we lose time with cancellations if a bot can ceck if there are links or statament and delete item? Rippitippi (talk) 01:38, 23 August 2013 (UTC)Reply
I don't think that bot can do this... if there's bug --Jitrixis (talk) 01:43, 23 August 2013 (UTC)Reply
Generally it's something like that : [3] bot merging item and delete it because the link has been deleted. --Jitrixis (talk) 01:45, 23 August 2013 (UTC)Reply

AutoEdit.js edit

autoEdit.js makes error when there is langlink with commons. I have to delete commons langlink when I use autoEdit.js. Can you fix it? Best regards, --by ReviTalkCMG at 12:05, 9 November 2013 (UTC)Reply

ok it goes on my todo for this afternoon. Thanks for reporting the bug --80.10.159.117 13:55, 9 November 2013 (UTC)Reply
sorry. Forget to be connected on my cellphone XD --Jitrixis (talk) 14:02, 9 November 2013 (UTC)Reply
✓ Done --Jitrixis (talk) 10:19, 10 November 2013 (UTC)Reply

Items with wikivoyage links also have the same problem. I implemented a solution in User:Fomafix/MediaWiki:Gadget-autoEdit.js and noticed this already in MediaWiki talk:Gadget-autoEdit.js#Bug 2. --Fomafix (talk) 10:14, 12 November 2013 (UTC)Reply

labellister question edit

Is there any way for the labellister gadget to be a bit more like the normal interface? It's really painful when I need to edit multiple languages to go through the three or four step process to edit each language's labels/descriptions. --Izno (talk) 22:06, 10 December 2013 (UTC)Reply

Ok, I'll see for that. I answer you when I find a way to develop that. --Jitrixis (talk) 22:19, 10 December 2013 (UTC)Reply
Ok, I may be know how to do, I'll see for this holliday after the 22 december --Jitrixis (talk) 07:54, 13 December 2013 (UTC)Reply

VIP's labels edit

Hey. I just saw that with VIP's labels it is possible to add labels in languages which do not exist on Wikidata, e.g. als, no, be-x-old. See for more details User:Ladsgroup/Labels --Pasleim (talk) 19:13, 5 April 2014 (UTC)Reply

✓ Done --Jitrixis (talk) 00:19, 7 April 2014 (UTC)Reply

Autoedit edit

Hi Jitrixis,

I tried to add lists at User:Jura1/autoEditLists.js, but they don't appear as options under "Parameters" "lists". What's wrong? --- Jura 20:24, 24 June 2014 (UTC)Reply

Notification de traduction : Wikidata:News edit

Bonjour Jitrixis,

Vous recevez cette notification parce que vous êtes inscrit comme traducteur de français et allemand sur Wikidata. La page Wikidata:News est disponible pour la traduction. Vous pouvez la traduire ici :

La priorité de cette page est moyenne.


Votre aide est grandement appréciée. Des traducteurs comme vous aident Wikidata à fonctionner comme une communauté réellement multilingue.

Merci !

Les coordinateurs de la traduction de Wikidata‎, 07:02, 27 July 2014 (UTC)

Notification de traduction : Wikidata:Translators' noticeboard/Header/text edit

Bonjour Jitrixis,

Vous recevez cette notification parce que vous êtes inscrit comme traducteur de français et allemand sur Wikidata. La page Wikidata:Translators' noticeboard/Header/text est disponible pour la traduction. Vous pouvez la traduire ici :

La priorité de cette page est basse.


Votre aide est grandement appréciée. Des traducteurs comme vous aident Wikidata à fonctionner comme une communauté réellement multilingue.

Merci !

Les coordinateurs de la traduction de Wikidata‎, 17:21, 31 August 2014 (UTC)

Nameguzzler not working edit

Hello Jitrixis

For some reason, I can't get it to work anymore since 1 or 2 days. --- Jura 18:48, 16 September 2014 (UTC)Reply

Hello, for me its also not working. all looks normal first, but i can wait for more than 10 minutes and nothing happens. Only the label screen stays in front and it tells "nameGuzzler.js : Sending…" forever. Now that it doesn't work i know how much i got used to this great function! I really miss your tool, Jitrixis. Holger1959 (talk) 09:46, 20 September 2014 (UTC)Reply
@Jura1, Holger1959: I've fixed the script, see here. Hope you don't mind, Jitrixis. Sjoerd de Bruin (talk) 17:40, 25 September 2014 (UTC)Reply
Sorry, I actually work hard this month and didn’t have time for me at all. --2.3.240.59 20:37, 29 September 2014 (UTC)Reply

Nameguzzler not working (Dec 2014) edit

Somehow the "Autoselect" option stopped working. --- Jura 15:57, 20 December 2014 (UTC)Reply

It's still working at my side. Sjoerd de Bruin (talk) 20:10, 20 December 2014 (UTC)Reply

Notification de traduction : Help:Merge edit

Bonjour Jitrixis,

Vous recevez cette notification parce que vous êtes inscrit comme traducteur de français et allemand sur Wikidata. La page Help:Merge est disponible pour la traduction. Vous pouvez la traduire ici :



>> On December 3rd, the RfC about creating redirects was closed, thus we need you to update this important help page which is supposed to learn newbies how items in Wikidata are merged. <<

Votre aide est grandement appréciée. Des traducteurs comme vous aident Wikidata à fonctionner comme une communauté réellement multilingue.

Merci !

Les coordinateurs de la traduction de Wikidata‎, 11:24, 30 December 2014 (UTC)

Inactivity edit

Hello. In accordance with WD:A, your administrator permissions were removed by another steward today because you had not made 10 admin actions over the last 6 months. Thank you for your service to Wikidata! --Rschen7754 01:01, 1 March 2015 (UTC)Reply

Return to the user page of "Jitrixis/Archive 1".