User talk:NicoV

From Wikipedia, the free encyclopedia
Jump to: navigation, search


A barnstar for you![edit]

Original Barnstar Hires.png The Original Barnstar
Thanks for your work "WPCleaner". Zheek (talk) 13:02, 30 March 2013 (UTC)

CSS for TemplateDataEditor[edit]



Could you replace

  • importStylesheet('User:NicoV/TemplateDataEditor.css')


  • mw.loader.load( '//', 'text/css' );

on User:NicoV/TemplateDataEditor.js so I can import the same script on other wikis? Helder 12:38, 20 July 2013 (UTC)

Sure, done. --NicoV (Talk on frwiki) 13:55, 20 July 2013 (UTC)

Greetings from itwp[edit]


Hi, I am struggling a bit with the TD script (thanks, BTW!). Here is a technical explanation I was provided with in order to explain what does not look right. Thanks for your time: The rows

console.log(params[name]); console.log(Object.keys(params));

act on the variable params, which seems a string, and they work for single parameters (if you just put one parameter in the visual interface, it is correclty translate into json). When you add more than one parameter at time, the first of the two lines returns "Undefined" and the second throws an error, because params is not an object (i.e. an array or dictionary), and the JSON is not generated. --Elitre (WMF) (talk) 15:41, 20 July 2013 (UTC)

Hi. I'm not sure that I understood the problem... I've commented out the 2 lines, because they don't seem useful at all. --NicoV (Talk on frwiki) 23:49, 20 July 2013 (UTC)
The problem was that, importing your script, it happened a few times that only one parameter could be added to a template, but not a second one. However, I am not sure how - I was later not able to reproduce the problem anymore, and already added TD to a few templates. Thanks for it :) --Elitre (WMF) (talk) 05:12, 21 July 2013 (UTC)
Ok, tell me is you have this problem again. --NicoV (Talk on frwiki) 06:08, 21 July 2013 (UTC)




Could you also make this update to the script? Helder 13:29, 21 July 2013 (UTC)

Done. --NicoV (Talk on frwiki) 16:12, 21 July 2013 (UTC)

Descriptions in more than one language[edit]

It seems the script doesn't support more descriptions and labels in more than one language. Here is an example of what it does when there are multiple languages for a parameter. Helder 14:31, 21 July 2013 (UTC)

Yes, it seems so. That probably requires quite some work to make it work with multiple languages, I probably won't have time to make this modification this week. --NicoV (Talk on frwiki) 16:16, 21 July 2013 (UTC)



Hallo again

I'm still struggling with TemplateData - not specifically the editor, just that my first attempt to add it, to {{EW charity}}, seems to have gone wrong. See Wikipedia_talk:VisualEditor/TemplateData_tutorial#Had_a_go_-_feedback. Thanks for any help you can offer! PamD 22:35, 21 July 2013 (UTC)

TemplateData regex[edit]


Could you replace

        tagRegExp = /<templatedata[^>]*>([^]*)<\/templatedata>|<templatedata(?:)[^>]*\/>/;


        tagRegExp = /<templatedata[^>]*>([\s\S]*)<\/templatedata>|<templatedata(?:)[^>]*\/>/;

on User:NicoV/TemplateDataEditor.js? The current regex has an error and doesn't work on Template:Cite_web/doc.

Also, I'm not sure what that (?:) was supposed to do... Helder 11:58, 23 July 2013 (UTC)

Thanks, Ltrlg fixed this on frwiki, I copied his modifications. --NicoV (Talk on frwiki) 22:01, 23 July 2013 (UTC)

A barnstar for you![edit]

Vitruvian Barnstar Hires.png The Technical Barnstar
TemplateDataEditor is a REALLY AWESOME USER SCRIPT. I don't know where I would be without it. Thank you for your hard work on it. APerson (talk!) 03:16, 24 July 2013 (UTC)

A barnstar for you![edit]

Vitruvian Barnstar Hires.png The Technical Barnstar
For your great work with TemplateData :). Okeyes (WMF) (talk) 18:33, 1 August 2013 (UTC)

Thanks for the moral support[edit]

Your comment on my talk page is greatly appreciated. WMF simply doesn't even want to acknowledge that 'agile programming' may have been the wrong approach to introducing a visual editor. In fact, I don't think they even deemed it necessary to ask Wikipedians whether it was desirable and took it upon themselves to assume it would be a clever tactic for enticing new editors/contributors. Hmm... --Iryna Harpy (talk) 10:26, 15 August 2013 (UTC)


Hi, are you able to reproduce [1]? I'm not sure if it's still a bug. Thanks, --Elitre (WMF) (talk) 14:58, 25 September 2013 (UTC)

Hi Elitre (WMF), I don't know how it was done, and I haven't been able to reproduce it then or now. --NicoV (Talk on frwiki) 14:24, 29 September 2013 (UTC)

Helo - bots on frwiki[edit]

Hello NicoV,

Since you are active on, I thought I would ask you. How does request for bots work on frwiki? Is it like on enwiki where you has to request for every kind of edit the bot will do, or is it like on svwiki where you only need a flag to do what you want?

I would like to make Josvebot active on frwiki fixing CHECKWIKI-errors and update disambiguation warnings.

If you could please help ( is a more accurate word...) me, that would be highly appreciated! (tJosve05a (c) 19:03, 27 February 2014 (UTC)

Hi! Requesting the bot flag in frwiki is done through the procedure described at fr:Wikipédia:Bot/Statut. Usually, you request it for some kinds of tasks, but once you have it, you can do other tasks provided you don't go too far. Scoopbot made a request recently for the bot flag for very similar tasks (or Gratus in the last archive). There are already 2 (or maybe more) bots updating disambiguation warnings (I don't run mine often lately, but I think Orikrin is running it regularly). For CW errors, you have to be careful because several errors are considered really minor (they don't change the appearance of the article), and bots are not too welcome on frwiki when they only do this kind of modifications in one edit. --NicoV (Talk on frwiki) 21:22, 27 February 2014 (UTC)
German Wikipedia is exactly the same, fear for small errors. Thanks, I will look it over and think about...stuff. (tJosve05a (c) 23:12, 27 February 2014 (UTC)