Italian irregular verbs

Jump to navigation Jump to search

Italian irregular verbs

Hi, Code Cat! Could you help me filling a category for Italian irregular verbs? I think it is quite simple: The Module:it-conj has 54 variables (e.g. prem1s) which are only used by irregular verbs like leggere. I cannot write well in Lua, but I think if you add some line like

local categories = {"category name"}

the correspondenting articles should get categorized. Thank you for your help, Greetings

Bigbossfarin (talk)15:19, 29 April 2014

I'm struggling to understand how that module is written, at least at first glance. I would need more time to look at it, and it might not be so bad to rewrite most of it anyway. Unless you can tell me what to change.

CodeCat15:38, 29 April 2014

<Butting in>I would say that an Italian irregular verb could be defined as :- Any verb that uses {{it-conj}} directly, or that uses any of the other it-conj-... templates with one or more overrides specified (i.e. other than the 1st (stem) or 2nd (helper verb) parameters.

SemperBlotto (talk)15:44, 29 April 2014

Would you object to me rewriting some of it anyway?

CodeCat15:58, 29 April 2014

I don't own it. It was one of the very first Lua modules written and is probably not very efficient. (Though I doubt that I will be able to understand it after you have modified it!) Just as long as all the it-conj-... templates continue to work, I would have no objection (I assume it will be properly tested).

SemperBlotto (talk)16:05, 29 April 2014

I've started working on it a bit. I'll try to keep the errors to a minimum, and I'll be monitoring the script error category to make sure. Please let me know if you spot any mistakes in the tables.

I have a question, though. The "over", "wiki" and "alts" functions that you wrote are exported, but are they actually used in any other modules, or only in this one? If they're only used in this one it should be safe to un-export them.

CodeCat21:21, 29 April 2014