Hello, you have come here looking for the meaning of the word MediaWiki talk:Gadget-AcceleratedFormCreation.js/2008-19. In DICTIOUS you will not only get to know all the dictionary meanings for the word MediaWiki talk:Gadget-AcceleratedFormCreation.js/2008-19, but we will also tell you about its etymology, its characteristics and you will know how to say MediaWiki talk:Gadget-AcceleratedFormCreation.js/2008-19 in singular and plural. Everything you need to know about the word MediaWiki talk:Gadget-AcceleratedFormCreation.js/2008-19 you have here. The definition of the word MediaWiki talk:Gadget-AcceleratedFormCreation.js/2008-19 will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofMediaWiki talk:Gadget-AcceleratedFormCreation.js/2008-19, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
If you want forms that aren't listed above, then you'll have to edit the script. If you don't want to risk breaking things, just prod me nicely and I'll add support for stuff (assuming I'm still feeling just as nice :p) - same goes for editing templates. Conrad.Irwin00:35, 12 November 2008 (UTC)Reply
Yeah, I'd rather avoid risking my ruining things. Would it be possible for you to add support for:
template:he-noun's {{{pl}}} parameter? It should create a new page at ] that looks like ==Hebrew==/===Noun===/{{infl|he|noun|sc=Hebr|head={{{plwv}}} parameter from singular page, or {{{pl}}} parameter if plwv doesn't exist}}/# {{plural of|]|lang=he|sc=Hebr}}
en-adj and en-noun now work better, you'll need to hard refresh to see any difference. I'll get round to doing he-noun at some point soon, as it will require changes to the javascript too. Conrad.Irwin09:29, 12 November 2008 (UTC)Reply
This script is great! Thanks again for writing it. Now, can I bug you for more implementations? (See what happens when you do something nice? People start expecting things of you. Better to leave well enough alone.) How about {{he-noun}}'s {{{cons}}} parameter? I'm thinking that that would make, s.v. ], ==Hebrew==/===Noun===/{{infl|he|noun form|sc=Hebr|head={{{conswv}}} parameter from original page, or {{{cons}}} parameter if conswv doesn't exist}}/# {{form of|construct form|]|lang=he|sc=Hebr}}{{romanization of Hebrew}}. —msh210℠20:47, 18 November 2008 (UTC)Reply
I've added it to {{de-noun-f}} -m and -n, not to -adv as that isn't used, and not to the verbs, yet. I can add it to the uncountable ones if you would like - or you can probably see how to do that by taking the stuff from around the genitives of the countable ones. Conrad.Irwin00:47, 28 November 2008 (UTC)Reply
Latest comment: 16 years ago4 comments2 people in discussion
When I tried the accelerated creation with a plural Galician noun, the language name was linked in the L2 language header. Can you set up (at least for Galician) the automatic insertion of the dummy parameter 1= so that the language name won't be linked in the language section header? --EncycloPetey01:15, 28 November 2008 (UTC)Reply
Yes I can, however I thought we had a convention to link the names of languages not in the top twenty - or is that just in the translation sections? Conrad.Irwin01:23, 28 November 2008 (UTC)Reply
That issue hasn't been settled that I know of. We do want that kind of linking in the Translations sections, but linking language headers is an unresolved issue. There may be some merit in it, but I think they ought to be linked only for truly obscure languages, and perhaps not even then. --EncycloPetey20:56, 28 November 2008 (UTC)Reply
Spanish nouns
Latest comment: 15 years ago5 comments3 people in discussion
Latest comment: 15 years ago4 comments2 people in discussion
Are always neuter. Can you make sure that gender is preselected? Or tell me how to make sure it is?
Similarly, it doesn't make sense to mention a gender in the plural in Dutch. How do I make the gender not appear there? H. (talk) 13:08, 4 December 2008 (UTC)Reply
Thanks. In addition, the diminutives have a plural themselves, so ideally, you’d have it insert a note for that (see antecedentje), and even better, this plural would be accelerated as well. I think the best thing would be to create {{nl-noun-dim}} and you’d insert that. Better yet, someone else had this idea already. Can you make it use that template? H. (talk) 10:31, 31 July 2009 (UTC)Reply
Latest comment: 15 years ago5 comments2 people in discussion
When the plural form is saved and I click on the lemma link to go back to the lemma entry, it would be nice to go back to the actual language entry on multi-language pages. Is this possible with the plural of template? --Panda1000:00, 11 December 2008 (UTC)Reply
Yes it is, if people are happy with the rather ugly looking {{plural of|]|lang=hu}}. It would also be possible just using {{plural of|word|lang=hu}}, but then it wouldn't "count". Which is preferred? Conrad.Irwin01:18, 14 December 2008 (UTC)Reply
I believe the no-wikilink solution is against the standards. About the first option: Is it ok to add it to all plural entries even if it is not needed? Do you see any other issues besides the "ugly looking" format? --Panda1013:02, 14 December 2008 (UTC)Reply
Well... As with {{es-noun-mf}} it is possible to create the plural forms of masculine and feminine automatically, but creating the other singular form is quite hard - as {{es-adj}} expects to be used on both. I could also write code to make the combined masc&fem plural form point to a combined singular form, but not sure how worth it that is? Conrad.Irwin13:28, 17 December 2008 (UTC)Reply
Thanks. That's great. I also made a comment above in the Spanish noun section which you might not have seen as I made two comments right after each other in different sections. Are those possible too? --Bequw → ¢ • τ20:28, 18 December 2008 (UTC)Reply
Danish Nouns an Verbs
Latest comment: 15 years ago6 comments2 people in discussion
Could you please give me a link to an example noun and verb that have all of the forms, so I can imitate the current Danish standard. Conrad.Irwin17:35, 5 January 2009 (UTC)Reply
The danish templates are not very well-developed as yet, but it would be nice to have the 3 inflections for noun and 4 for verbs. The word blære is both a noun and a verb, and has the inflections that are implemented. Nouns will get 4 genetives, same as Swedish, which simply is a s-postfix in the majority of cases. "Singular indefinite" is the base form for nouns, and infinitive for verbs. – Leo Laursen – (talk · contribs) 19:01, 5 January 2009 (UTC)Reply
Now suddenly I get green links for Danish nouns, but I don't see any related changes that might explain it. Anyway nice :-). Is it possible to change User:Conrad.Irwin/creation.js/basicNoun: "'''{{{pagename-linked}}}'''" to "{{infl|{{{lang}}}|noun form}}", so they get a category? or should we make a new noun-template for that. – Leo Laursen – (talk · contribs) 22:08, 15 January 2009 (UTC)Reply
I've now added support for da-verb. I had no idea quite how varied the different langauges were, so the structure I chose isn't as practical as I thought - however it's great that you've managed to understand enough to tweak it how you like. Please please improve it however you like, it's easy to undo things when they break. Conrad.Irwin00:55, 19 January 2009 (UTC)Reply
Hungarian adverbs
Latest comment: 15 years ago4 comments2 people in discussion
No problem, but this should create an adverb, not an adjective. Please see how I changed csendesebben. Not sure how to use the comparative template, since it puts the word in the adjective category. --Panda1012:59, 10 February 2009 (UTC)Reply
French noun forms. How should the "feminine" form be defined? "feminine of acteur", or "actress" for example - this really should be done by hand. Once the feminine singular form has been created then they should be able to accelerate the feminine plural from there.
What should the definition line be? Can you give me a link to an example which has this form created already so I can copy it?
If you mean an example for Dutch diminutive plurals I don't know of any right now but the definition should simply use whatever format the other Dutch noun forms are using in such a way that it renders " may require a new template, specifically for diminutive plurals, as I do not think they have been tackled yet. See User:PalkiaX50/Sandbox for a temporary example of what needs to be accelerated in {{nl-noun}}. 50 Xylophone Playerstalk22:48, 8 February 2009 (UTC)Reply
Latest comment: 14 years ago5 comments3 people in discussion
Hi Conrad,
Dutch adjectives have an inflected and non-inflected form, but no genitive or other case. So I'd like to be able to do <span class="form-of inflected-superlative-form-of lang-nl">. Can you add this keyword? Cheers, H. (talk) 09:51, 5 February 2009 (UTC)Reply
Do you have an example with a complete set of forms I can look at? (or at least, some of the new kind, so I know what you want displayed). Conrad.Irwin01:44, 7 February 2009 (UTC)Reply
A Dutch adjective can have 8 forms altogether. Apart from the basic uninflected form there is: inflected (-e), partitive (-s), comparative (-er), inflected comparative (-ere), partitive comparative (-ers), superlative (-st), inflected superlative (-ste). See the newly created {{nl-decl-adj}} for more information, or duidelijk for an example. Ideally, each of these would have its own entry pointing back to the headword, using the Dutch form-of templates {{nl-adj-infl-of}}, {{nl-adj-part-of}}, {{nl-adj-comp-of}} and {{nl-adj-sup-of}}. Category:Dutch entry templates contains example entry templates for each of the 7 forms. Any way to make that work? --CodeCat12:21, 1 February 2010 (UTC)Reply
Latest comment: 15 years ago2 comments1 person in discussion
Currently when you click on the accelerated 'f' portion of the {{es-noun-mf| output, the feminine form gets generated with {{infl}} instead of {{es-noun-mf. Could this be modified so that the feminine form gets created with {{es-noun-mf|m=foo}}? Nadando00:31, 8 February 2009 (UTC)Reply
Latest comment: 15 years ago3 comments2 people in discussion
Hi there Conrad.Irwin. Is there any way that you could get this to be able to be used on Safari as well as Internet Explorer? If you can't, then that is fine, but it might help :). Cheers, Razorflame16:45, 10 February 2009 (UTC)Reply
Hmm, it does this so that the gender would appear spaced away from the inflection line. If this is a massive problem I can fix it; but it would require a lot more time than I'll have for the next week or two. Conrad.Irwin01:46, 20 February 2009 (UTC)Reply
Not a massive problem at all AFAICT. It doesn't break anything that I know of (but perhaps one of the bot operators will disagree), and doesn't appear to viewers of the entry.—msh210℠17:59, 23 February 2009 (UTC)Reply
Help needed once again
Latest comment: 15 years ago1 comment1 person in discussion
I tried to accelerate {{nl-adj2}}, but it didn’t work: the comparative and superlative were no longer shown at all, see my reverted changes. I think this has something to do with the switch. Can you have a look at it? H. (talk) 13:06, 26 February 2009 (UTC)Reply
Yes, the switch interprets the "=" sign within the HTML tag as being part of the switch syntax (which is a bug in my opinion, but nevermind). What format do you want for the "inflected-comparative" etc. form's pages?
Catalan
Latest comment: 15 years ago4 comments3 people in discussion
Hey man, when you've got a chance do you think you could make {{ca-adj-mf}} acceleratable? :D avorrit has all its forms added. Then there's {{ca-adj}}, which has jove's form, replet's and caòtic's. I dunno why the hell there are all these templates that do the same thing, but it's whatever. Thanks in advance :) — opiaterein — 02:07, 2 April 2009 (UTC)Reply
{{ca-adj}} and {{ca-adj-mf}} differ in the default forms generated if no parameters are passed. While you can use either to generate what you want, {{ca-adj}} assumes an adjective of one form (i.e. masculine and feminine forms are the same) while {{ca-adj-mf}} assumes a an adjective of two forms. I need to work on those templates some more. They currently use a subtemplate {{ca-sub-pl}} that is also called by the number templates and is intended for eventual use by the noun templates to handle the not too uncommon occurrence of multiple plural forms. So for the moment if you'd hold off on accelerating the adjective templates, I'd appreciate it. — Carolina wrendiscussió05:32, 2 April 2009 (UTC)Reply
I doubt if I'll want to use the default acceleration for the Catalan adjective templates, but while playing around with it, I noticed that for Catalan it was trying to place the entries in ] adjective forms]] instead of ]. You might want to add the l= parameter to wherever it is inserting the language name by substing in the language code template to generate the category name. Certainly would make accelerating templates for which the standard forms are useful easier for those languages where the default is to use a link.— Carolina wrendiscussió04:19, 4 April 2009 (UTC)Reply
Simple Lithooo thing
Latest comment: 15 years ago1 comment1 person in discussion
I added all of the forms for it over at Template:Cyrl, and they look like they should (category stuff as well, as Category:Bulgarian words lacking transliteration is a maintenance category that I'm going to create due to this being accelerated). Template:Cyrl is missing all of the forms, for testing it.
Latest comment: 15 years ago5 comments2 people in discussion
With the addition of Danish genitives, it is a problem that part-of-speech are set to 'Verb' for all Danish words. I'm afraid I don't see an obvious solution. – Leo Laursen – (talk · contribs) 21:34, 30 April 2009 (UTC)Reply
Perhaps I should be more specific. The genitive noun forms now are saved as verb forms. By the way; the sequence of genitive-singular/plural-(in)definite is simply a matter of personal preference, feel free to reorder if that simplifies the code. – Leo Laursen – (talk · contribs) 08:15, 1 May 2009 (UTC)Reply
Latest comment: 15 years ago2 comments2 people in discussion
Hi, could you accelerate {{fr-adj-al}} and {{fr-adj-ne}} when you get a chance? (Despite their potential they are barely used, so much so that I just stumbled upon them a little while ago, even though they were created back in the day of WF.) 50 Xylophone Playerstalk22:44, 4 May 2009 (UTC)Reply
Strongly agree, look at this, quite a few of those are -al adjectives that don't yet use the right template. Thank for pointing that out, Palkia. Mglovesfun22:57, 4 May 2009 (UTC)Reply
Broken Accelerated editing of Spanish adjectives
Latest comment: 15 years ago2 comments2 people in discussion
It seems that your edit 6510832 on "09:18, 1 May 2009" has broken the accelerated creation of Spanish adjective forms. From this version the adjective forms will be erroneously created with "{{infl|es|noun form..." inflection lines. Also, Spanish plural noun forms the "plural" is missing on the inflection line. Matthias Buchmeier09:40, 6 May 2009 (UTC)Reply
Latest comment: 15 years ago4 comments2 people in discussion
This works well, but if you specify a feminine form and or feminine plural of the noun (see détenteur, for example) the masc. pl. comes up in green, and the two feminine forms come up in red. Cheers, Mglovesfun13:35, 15 May 2009 (UTC)Reply
Thanks, only thing is it create gagnante as the plural of gagnant, which it isn't. It's the feminine singular, what's the category for that? I will try and recategorize the ones that need it. Mglovesfun21:03, 20 May 2009 (UTC)Reply
You're closer now, for gagnant you can create gagnants and gagnantes, but not gagnante, which I can do easily by hand with a copy-and-paste template, but in the long run a green link would be better. The exact categorisation needs some thinking about, I suppose, as it's not a "plural". Mglovesfun (talk) 19:12, 13 July 2009 (UTC)Reply
More technical issues
Latest comment: 15 years ago4 comments3 people in discussion
A few thoughts
Is there a way of finding green links, i.e. articles that can be created with one click?
When the word already exist, with another meaning in another language you can't accel-create. I don't think adding a section to an exist article is that hard, the problem is stopping the link being active when the section already exist (such as two Spanish plurals, or three, or four in the same article.) Am I right? Mglovesfun (talk) 21:31, 16 July 2009 (UTC)Reply
At the moment it finds them by using specific HTML classes which are added to the page manually, I don't think it can be done completely automatically - but if you want to improve this script, then feel free - with the simple english Wiktionary script, it just has an attribute on the table. Adding a section isn't that hard, but checking every single blue link is very expensive (we'd have to make a lot of api hits) - maybe we could ask Hippietrail if he can add support for checking such things to his forward and back link script on the toolserver. Conrad.Irwin22:21, 16 July 2009 (UTC)Reply
Just a bit of helpful info: this is slightly irrelevant but anyway, if you want to us accelerated creation to create an entry that has 2 or more possible things it can contain (multilingual or not) here's what I do:
Determine what order the things should be arranged in in the entry.
(presuming you are only dealing with two things) click on the accel link for the second sense and copy the content.
Go back and click on the accel link for the first sense and paste in sense number two.
Yes, I am aware of this, but fixing it would require completely rewriting the javascript, which would almost invariably break it in bizarre ways for a while. Maybe, one day, I'll get the determination to do it, but for now I have other things that are taking up too much of my time. (The creation.js on simple wiktionary does allow multiple entries on the same target page - but there the massive advantage is they have only one language) Conrad.Irwin20:20, 5 August 2009 (UTC)Reply
one more kink to work out for Dutch nouns
Latest comment: 15 years ago3 comments2 people in discussion
{{nl-noun-dim}} used in diminutive singular entries needs to be fixed the accel links it generates create entries in the form of:
That is not fixable, sorry. Creation.js can only create links back to the page which it is on (otherwise it would have to scan through all of the entry to try and work out which page it should link to, which is error prone. You can presumably use the dutch dimminutive plural acceleration from the lemma page instead?. Sorry. Conrad.Irwin20:18, 5 August 2009 (UTC)Reply
Latest comment: 15 years ago3 comments2 people in discussion
I'm trying out the Wiktionary beta and the green links aren't showing up. I have the two lines of code added to my monobook.js file. CyberSkull12:46, 5 September 2009 (UTC)Reply
Latest comment: 15 years ago3 comments2 people in discussion
Could you make Template:es-pp accelerated? It's basically like Template:es-adj, but for past participles used as adjectives. Ultimateria 03:57, 18 Sept
ember 2009 (UTC)
As above, this is not possible at the moment, as creation.js can only create pages linking back to the current page. Given that that's now two requests for it to function otherwise, I'll see if I can hack around with it some more, but I can't promise anything. Conrad.Irwin18:15, 20 September 2009 (UTC)Reply
Dutch comparative and superlative adjective forms
Latest comment: 15 years ago2 comments2 people in discussion
Latest comment: 15 years ago1 comment1 person in discussion
Same things. I'm still doing French feminine forms by hand (see User:Mglovesfun/Templates for what I do) and as for adjective forms, all of which use {{fr-adj}} or {{fr-adj-mf}}, that's totally fine but you can replace adding the category at the bottom by using {{infl|fr|adjective form}} which removes a bit of clutter, especially when merging sections. That is, using ACCEL to create a noun plural and an adjective plural by copying from one window to another. Mglovesfun (talk) 22:48, 21 September 2009 (UTC)Reply
eo-noun and eo-adj
Latest comment: 15 years ago18 comments4 people in discussion
This is finally done so just clear your cache (ctrl+shift+F5). Nice form-of template! (It finally gave me the motivation to fix the code so that it doesn't rely on mediawiki templates which makes it flexible enough to use your templates easily). Let me know of anby problems with ĥoro or ĉarma. Conrad.Irwin00:24, 23 October 2009 (UTC)Reply
This might be only on my computer, but when I click on the green links the edit box is blank even though the URL shows up as though it was working. BTW, ĥoro and ĉarma are formated perfectly, and is this supposed to work with uncountable nouns? I noticed that in the URL for uncountable noun forms there was no mention of |unc=yes. --Yair rand00:57, 23 October 2009 (UTC)Reply
What browser are you using? There seem to be some problems with the most recent versions of Opera when editing anonymously. I don't currently have an Internet Explorer to test with. (Chrome and latest version of Firefox seem fine). 131.111.220.608:41, 23 October 2009 (UTC)Reply
I don't think that's possible as it just uses '{{subst:PAGENAME}}' unless you can point me to a page containing a green link that acts like that in a certain browser?. 131.111.220.608:41, 23 October 2009 (UTC)Reply
I also noticed that the URL includes Conrad.Irwin/creation.js instead of the inflection line even though I'm still trying to get the edit box to work. Flava links to http://en.wiktionary.orghttps://en.wiktionary.org/w/index.php?title=flavaj&action=edit&redlink=1&editintro=User:Conrad.Irwin/creation.js/intro&preloadtext=%3D%3D{{subst:eo}}%3D%3D%0A%0A%3D%3D%3DAdjective%3D%3D%3D%0A'''Conrad.Irwin/creation.js'''%0A%0A%23%20{{eo-form%20of|flav|aj}}%0A%0A{{count%20page|]}}&autosummary=Creating%20definite-plural%20form%20of%20]%20(])&autominor=true but it still shows up blank for me. --Yair rand12:49, 23 October 2009 (UTC)Reply
I just saw the message you sent to the GP. Um, is importing Visviva's preloadText into my monobook.js necessary for this to work? --Yair rand13:41, 23 October 2009 (UTC)Reply
No, it's at the bottom of creation.js as well (importing it to site js would prevent duplication everywhere). I've fixed the problem - which was that I had upt "{{subst:pagename}}" into the javascript, which MediaWiki helpfully subst:d on my behalf (as I include copies hosted from my computer for testing I didn't notice). If you clear your cache (ctrl+shift+F5), it should now be fixed. Conrad.Irwin14:25, 23 October 2009 (UTC)Reply
Hmmm... maybe my computer's just gone nuts. I tried using IE8 and it still shows a blank edit box. Still works for all the other accelerated templates, but these two show up blank. The links are green, the URL says all the stuff it should, but no matter what I do the box is blank. --Yair rand14:53, 23 October 2009 (UTC)Reply
OK, I tried importing Visviva's preloadText into my monobook.js and now it works. I'm not sure whether that's what caused it to work or if my computer is just insane. --Yair rand15:09, 23 October 2009 (UTC)Reply
I just noticed that in some of the forms I did the program didn't add an edit summary or check the minor edit box. Am only I having this problem? --Yair rand16:37, 23 October 2009 (UTC)Reply
I'm having the strangest things happen with this. Now the script sometimes loads everything double: (see http://en.wiktionary.orghttps://en.wiktionary.org/w/index.php?title=sa%C4%9Daj&action=edit&redlink=1&editintro=User:Conrad.Irwin/creation.js/intro&preloadtext=%3D%3D{{subst:eo}}%3D%3D%0A%0A%3D%3D%3DAdjective%3D%3D%3D%0A'''{{subst:PAGENAME}}'''%0A%0A%23%20{{eo-form%20of|sa%C4%9D|aj}}%0A%0A{{count%20page|]}}&preloadsummary=Creating%20definite-plural%20form%20of%20]%20(])&preloadminor=true). --Yair rand05:11, 25 October 2009 (UTC)Reply
This is because the preload stuff is included twice (it does try to prevent that, but it can't be perfect). You can remove it from your monobook.js, I'll try to get it added to common.js today. Conrad.Irwin11:27, 25 October 2009 (UTC)Reply
Hungarian nouns
Latest comment: 15 years ago5 comments2 people in discussion
Hello there. Earlier, I noticed that you now have support for the accusative plural forms of Hungarian nouns, however, it is incorrect. Please see how I changed sisakokot. Could you please fix this?
Secondly, do you think you can include support for the remainder of that declension table? I have the possessives down pat, so those don't need acceleration, but the first declension table is a pain in the ass. Please see how the word magmakamra is formatted (the declensed words for that noun, first table) for an example of how it should be accelerated. Thanks, Razorflame19:10, 24 October 2009 (UTC)Reply
Hi, I think this should be fixed? (well, I removed support for the accusatives per the previous section). I'm reluctant to accelerate an entire table - it should be much easier to do vast quantities by bot (that way you don't have the problem if the page already exists but the section doesn't, etc.). Conrad.Irwin11:30, 25 October 2009 (UTC)Reply
The advantages of having a bot do them are a) they don't show in recent changes b) a bot is run by someone fluent in the language c) multiple forms with the same spelling are trivial using a bot d) a bot can create sections even when the page already exits (and can do the whole lot in one run more easily than filling in the blanks). I don't hugely mind if people want to implement links for entire tables themselves - but I am very reluctant to do this myself. Conrad.Irwin20:30, 29 October 2009 (UTC)Reply
Either way, I am fine with it. I wouldn't mind if you would be willing to creationize them, and I also would not mind if you didn't. If you would rather not creationize them, then I am fine doing it the way that I currently do it. Thanks, Razorflame21:14, 29 October 2009 (UTC)Reply
Turkish noun forms
Latest comment: 15 years ago9 comments3 people in discussion
Please see melek. The two noun forms that I tried adding were incorrectly added. Please remove acceleration for the entire Turkish noun or try to fix it. Thanks, Razorflame19:00, 29 October 2009 (UTC)Reply
Yikes, that's a huge chart (I thought bots did that sort of thing). I think Razorflame is probably talking about all that are left green which all show "{{{3}}} of melek". The two noun forms that Razorflame added were deleted by Mglovesfun half an hour ago. --Yair rand19:40, 29 October 2009 (UTC)Reply
Yes. That is what I am talking about. It would need to either be fixed or be completely removed as it is not functioning correctly. Razorflame19:41, 29 October 2009 (UTC)Reply
- I have no idea what Sinek was trying to do, perhaps one of you could try and work that out. (I managed not to have creation enabled which is why I couldn't see the links the first time, sorry) Conrad.Irwin20:26, 29 October 2009 (UTC)Reply
I probably am not a good candidate for it as a) I don't speak Turkish, and b)I suck at templating. Furthermore, thanks for fixing the problem. Razorflame21:13, 29 October 2009 (UTC)Reply
Conrad, please see the forms that I've made for salak so far. I would like that entire table to be accelerated, and I will make all the forms of salak to give you a baseline as to how they should be accelerated. Thanks, Razorflame19:31, 9 November 2009 (UTC)Reply
I've told you why I will not accelerate entire tables before - by all means do it yourself, or find someone friendly, but, as above, I think these tables are much much better suited to bots (and not just because they are faster, they have the potential to make higher quality edits). Conrad.Irwin19:50, 9 November 2009 (UTC)Reply
Sorry, I wasn't clear enough what I was asking. As it is in the examples I gave, {{eo-proper noun}} is supposed to make {{eo-form of|(base)|on-proper}} or |on-properpl}}/|oj-properpl}}/|ojn-properpl}} if {{{1}}} equals "j", and {{eo-noun-unc}} is supposed to make {{eo-form of|(base)|on|unc=yes}}. Sorry for the confusion. --Yair rand02:53, 15 November 2009 (UTC)Reply
Sorry for being slow witted, I have submitted my latest attempt, let me know if it satisfies requirements yet. May I also suggest following the English template conventions for uncountable nouns. (i.e using {{eo-noun|-}} instead of {{eo-noun|unc=yes}} or {{eo-noun-uncountable}}) - it makes things easier on editors if templates work the same way. If you want a hand implementing it, then I can. Conrad.Irwin13:58, 16 November 2009 (UTC)Reply
If you're slow witted, I don't want to know what I am. Well, those templates would work, but I still want to use {{eo-proper noun}}. I really just need the last parameter of the accelerated form to be "on-proper" as opposed to "on" as it is, so it will be categorized as a proper noun form. Ultimateria23:23, 16 November 2009 (UTC)Reply
Yes, but recently (and this has also happened with Esperanto nouns) when I click on a link it makes a double entry...Can you see what's wrong?
You have "importScript('User:Visviva/pretext.js');" in your monobook.js, I have recently had to use this for this project too, and there's no way to stop them conflicting reliably - the best thing to do is to just delete it from your monobook.js, I will try and move it to Common.js at some point and remove it from here. Conrad.Irwin15:22, 1 December 2009 (UTC)Reply
Also (minor and of little importance) you can tidy up French feminine and feminine plural nouns by changing {{feminine of|word}} to {{feminine of|]}} to avoid add count page, for French adjective there's {{fr-adj-form}} to replace the explicit category, although that would have the disadvantage of not linking the individual words of multi-word terms. Mglovesfun (talk) 09:58, 15 January 2010 (UTC)Reply
{{count page}} was created because we explicitly don't want links like that in these templates; though {{feminine of}} doesn't accept lang= so it can't automatically link to the right language section of the page anyway. fr-adj-form seems reasonable; I'll try to work out how this thingy works again. Conrad.Irwin01:05, 16 January 2010 (UTC)Reply
Ido plural fix
Latest comment: 14 years ago3 comments3 people in discussion
Hi there. When I use acceleration to make an Ido plural entry, it has a wikilink to Ido in the header of the entry. Can you remove the wikilink from the header when they are accelerated please? Thanks, Razorflame22:35, 18 November 2009 (UTC)Reply
Actually, glacio planto should be moved to glacia planto, which I am going to do right now. Razorflame 20:35, 29 December 2009 (UTC) Actually, never mind. I see why I put it as such. Glacia means icy, not ice, so it has to be glacio. Razorflame20:36, 29 December 2009 (UTC)Reply
It can be done, providing there is a simple algorithm for changing the word endings; it looks like it is always "split before the last letter, and add a j", if so, I can do that. Conrad.Irwin23:29, 29 December 2009 (UTC)Reply
Latest comment: 14 years ago2 comments2 people in discussion
There won't be too many of these, of course, so maybe this is a WONTFIX, but ACCEL makes the inflection line (e.g.) ''']-]''' when the singular starts with a hyphen and uses {{en-noun|s}} or {{en-noun}}.—msh210℠17:27, 28 January 2010 (UTC)Reply
Latest comment: 14 years ago1 comment1 person in discussion
For IE compatibility, I added an indexOf() to Array.prototype in Common.js. I think this is a good way and you can use it instead of array_indexOf() if want. The rub that this introduces is that you can't use the in operator for looping over arrays because prototype methods are enumerable (ref). That's what I just fixed in my recent edit here. --Bequw → τ17:36, 2 March 2010 (UTC)Reply
pl-adj
Latest comment: 14 years ago2 comments2 people in discussion
Hello, can this be modified to allow quick creation for Polish comparative and superlative forms? In Polish, these are relatively regularly formed for short adjectives. Longer adjectives often take bardziej (equivalent to more) and najbardziej (equivalent to most), which I will try to incorporate into the template. --Volants14:28, 17 March 2010 (UTC)Reply
For English we don't create pages for "more exciting" etc. as they are sum-of-parts. If there are comparatives and superlatives that are formed as single words, then yes, support for them can be added. Conrad.Irwin01:17, 18 March 2010 (UTC)Reply
Norwegian adjectives
Latest comment: 14 years ago19 comments2 people in discussion
Yes. What I've typically done is to just "invent" new form-ofs as I come across a need for them, obviously by scanning through the source you can find existing ones (though I apologise for the mess) - at the moment "singular-definite" exists, so there's no reason that "superlative-definite" etc. shouldn't. Are you interested in doing this yourself, or shall I do it? Conrad.Irwin11:23, 3 April 2010 (UTC)Reply
I know nada about JS, so I don't know too much about how the program flow goes. I'd really appreciate if you could do it ;-) - then we'll see if I am capable of doing some scripting myself in the future. --Harald KhanՃ11:31, 3 April 2010 (UTC)Reply
I'm understanding more of the syntax now; but I just realised that I cannot edit the user page. Here's something more important than that above: when the language is either nn or nb, a second argument called something like "lang2-xx" should be callable. In the source code somewhere shoud we should have
I am hoping to migrate all of the mess at the top into the style of fr/en/eo at the bottom. I'll give it a go in the next hour or so. Conrad.Irwin20:08, 3 April 2010 (UTC)Reply
Sorry. I'm going to give up for now, a combination of tiredness and trying to wade through half a million norwegian inflection templates. I guess you want something like the following: All this function is trying to do is fill in the definition line. If you want to fix it, please do. Otherwise I'll have another wrestle in the future. Conrad.Irwin22:02, 3 April 2010 (UTC)Reply
// Create a preload function for all brands of norwegian, they are normal entries, using the bolded inflection lines '''{{PAGENAME}}''' {{g}}get_preload_text.no=get_preload_text.nb=get_preload_text.nn=basic_entry(bolded_infl(definition_line(function(form,lang,gender,go,link){// What form of has been requested formof + '-form-of' appears in the class namevarformof=form.replace(/-/g,' ');varextra="";// Get lang2= if the original entry has a different language from the current one.link.className.replace(/lang2-(+)/,function(m,lng){lang=lng;returnm;});// The rest works out what template should appear on the definition line from the form.// This is probably inaccurate and not the best way of doing things, but there are too many norwegian templates for me.if(formof=='positive'){// Needed? formof=gender_form(gender)if(formof=='plural'){return'{'+'{form of|plural|'+wgTitle+'|lang='+lang+'}'+'}';}}else{formof=formof.replace('third person','third-person');formof=formof.replace('simple past and participle','past');}if(formof=="diminutive plural"){formof=formof.replace(" plural","");extra="|plural=1";}elseif(formof=="superlative definite"){extra="|definite=1";formof="superlative";}elseif(formof=="superlative indefinite"){formof="superlative";}return'{'+'{'+formof+' of|'+wgTitle+extra+'|lang='+lang+'}}';})));
Once easter's over, I won't have too much time for Wiktionary for a while, so I suppose it has no haste (there aren't too many other active contributors focusing on Norwegian at the moment). Thank you for your efforts thus far (a bit blinded by the source code above, so no immediate comments on it). --Harald KhanՃ23:01, 3 April 2010 (UTC)Reply
I actually thought what I asked for was going to be pretty simple to implement; so I'll create a list to make sure nothing's lost:
Right now it doesn't look like it is possible have a positive definite singular form of adjectives, nor is positive plural form of adjectives possible.
It does not look like having two "definitions" created at the same time is possibel; i.e. I'd like the script to create the following entry for me (perhaps other templates, not sure what's best, but these work), from ljose:
I imagine the <span>-syntax could be something like <span class="form-of positive-plural-form-of positive-singular-definite-form-of2 lang-nn"> where form-of2 allows for a second "definition" (the syntax here might perhaps not be too compatible with the script as it is written, but you get the idea).
None of this is possible until 1. is solved, though - neither positive-plural-form-of or positive-singular-definite-form-of work at present.
The superlative stuff: once the syntax <span class="form-of superlative-indefinite-form-of lang-nn"> and <span class="form-of superlative-definite-form-of lang-nn"> work (which you introduced), this point should be solved.
Lastly, the lang2 stuff: I imagined that this part was initiated by an if test - if lang2 is given, we create the entry as normal, apart from what the origin is (as I pointed out earlier).
I don't understand what get_preload_text.no = get_preload_text.nb etc. is doing in the code, because all of the above points should work with any language, particularly the first three ones. I also thought that all of the stuff could be solved issue by issue (the second issue only depend on the first point with the given example).
Here's a section from the script where I've implented lang2 in the way I thought it could be. I don't know if the code I've introduced has a coorect syntax.
functionset_origin(given,lang){// Check if lang2 has been provided // CHANGE: a new logical test and a new variable, 'langlink'if(lang2)varlanglink=lang2elsevarlanglink=lang//Remove links from given parameters, and unencode underscores to spacesif(given){given=given.replace(/\])*\|?(]+)\]\]/g,"$2").replace(/_/g,' ');if(lang&&lang!='en')returnvariable('origin',wgTitle+'#{'+'{subst:'+langlink+'|l=}}|'+given);// CHANGE: 'langlink' instead of 'lang'elsereturnvariable('origin',wgTitle+'|'+given);}if(lang&&lang!='en')returnvariable('origin',wgTitle+'#{'+'{subst:'+langlink+'|l=}}|'+wgTitle);// CHANGE: 'langlink' instead of 'lang'elsereturnvariable('origin',wgTitle);}
Where you are going to use the "langlink" variable? I do actually want to split the code up into per-language sections, there's much less between-language duplication than I thought, and the current mess leaves much to be desired. Conrad.Irwin12:41, 9 April 2010 (UTC)Reply
'langlink' is used where the 'origin' variable is defined; see the "// CHANGE:" comments. It just made more sense to me to define a new variable with a new name rather than redifining 'lang', to avoid confusion (if 'lang' is never used later in the script, then I suppose that it wouldn't matter, but I'm still not fond of it). If you feel that you must create a new "section" for Norwegian, could it not look like what I wrote above? It solves the lang2 problem at least, which is what bugs me the most at the moment (despite what the title of this debate reads). --Harald KhanՃ12:55, 9 April 2010 (UTC)Reply
Right, I can see you've defined it (though you actually need to extract it from the class attribute of the span, and you shouldn't not define origin at the same time), but where does it fit into the output templates. The "for all languages" code, once it has set the variables, then loads a template from Special:PrefixIndex/User:Conrad.Irwin/creation.js/ and replaces the variables. I just don't see how to make langlink work with those. Conrad.Irwin13:04, 9 April 2010 (UTC)Reply
Well, you're the JS wiz, extracting lang2 should be a simple process, I reckon :-P. The 'langlink' variable is only used to create the string 'origin', right? How does the name of the variable affect the template - where is the template loaded? --Harald KhanՃ13:22, 9 April 2010 (UTC)Reply
Well... It's all a horrible mess. when you do "return variable('lang2', lang2)" (yes extracting it is easy), it actually returns "s/{{{lang2}}}/Norwegian/" - so it never gets to the bit where it sets origin. The template is then loaded by audoedit when the url is clicked on, and all the find-and-replaces are done then. Conrad.Irwin13:28, 9 April 2010 (UTC)Reply
Oh, all I wanted to was to set the variable 'langlink', not to exit the function. I am actually familiar with the "return" statement from Python, which (apparently) does much of the same job - I just didn't see it. I've changed the source; does it work now? --Harald KhanՃ13:46, 9 April 2010 (UTC)Reply
I think you meant to put this at "editor.js". The short answer is no, the long answer is "yes in the version that i use on my computer, but that is too buggy to let people use and I won't have time to fix it until july". Conrad.Irwin20:55, 11 May 2010 (UTC)Reply
Latest comment: 14 years ago3 comments2 people in discussion
Any way that accel links would only work in the main name space? Currently you can create inflected forms of templates, appendices, user talk pages, anything! Mglovesfun (talk) 22:10, 15 May 2010 (UTC)Reply
Latest comment: 14 years ago3 comments2 people in discussion
When you specify a feminine form of a noun accelerated links aren't given for the feminine singular and plural. It seems that it previously did this, so I'm wondering did you disable this functionality or did an update to the code break it? It's useful for things like Orcadien at least, IMO. 50 Xylophone Playerstalk18:26, 6 June 2010 (UTC)Reply
Latest comment: 14 years ago2 comments2 people in discussion
Hey again, just now when I was creating some noun plurals I noticed that when it creates the line using {{plural of}} there is no "lang=fr" generated so unless this is added manually the entry ends up in the French and the English plurals categories. Can you fix this please? 50 Xylophone Playerstalk21:53, 16 June 2010 (UTC)Reply
Latest comment: 14 years ago7 comments2 people in discussion
I noticed that the script is using a few deprecated templates for Dutch adjective and noun entries, and the format for nouns is also not quite correct. For nouns, the format should follow that of the forms of laken and for adjectives it should follow that of wijd. Currently we also have a bot MewBot to create adjective entries, but the ones created by the accelerated script don't quite match. Do you think it might be better to remove acceleration support for adjectives entirely since we have a bot that does it anyway? —CodeCat08:46, 29 June 2010 (UTC)Reply
Ok, I've removed the acceleration from the adjective templates. But for nouns it's still useful because there is no bot that does nouns (yet). So if you could fix up how the acceleration script generates noun form entries, that would be great. —CodeCat08:45, 30 June 2010 (UTC)Reply
Hmm, it doesn't seem to work. Auto-creating the entries for toetsenbord still uses the generic templates. Also, do you think maybe it's a better idea to use {{infl|xx}} (with just the language parameter, no POS parameter) for all languages? As far as I know, that's preferred to just bolding the word, because some languages use special formatting and different fonts (especially with different scripts and such). —CodeCat17:37, 30 June 2010 (UTC)Reply
Edit: Never mind, I just scrolled up and saw I needed to clear my cache for it to work. So now it works, almost. The template is missing an | between the name and the first parameter. —CodeCat17:47, 30 June 2010 (UTC)Reply
Latest comment: 14 years ago2 comments2 people in discussion
When I visit a page with a green link (possibly only French pages with green links, I haven't checked) I get a pop-up message with the message: "The page at http://en.wiktionary.org/ says:" (title) and then "mfpl-positive" or some such, depending on the page. See pingre for an example. —Internoob (Disc•Cont) 02:28, 1 July 2010 (UTC)Reply
Latest comment: 14 years ago1 comment1 person in discussion
Please can we add ACCEL to Template:pl-decl-noun. At the moment the table has clickable links (neither red nor green) to empty pages. The possible problem is that some Polish noun forms e.g. pianina have more than one meanings. --Volants11:10, 5 July 2010 (UTC)Reply
Latest comment: 14 years ago1 comment1 person in discussion
Would you mind accelerating this template's {{{f}}}, {{{mp}}}, and {{{fp}}} parameters, please? When he-adj is used in ENTRY, the acceleration would create, for {{{f}}}, an entry ] with:
==Hebrew==
===Adjective===
{{he-adj-form|g=f|n=s|
wv={{{fdw|fwv|if that's defined at ENTRY, otherwise leave wv= out}}}|
fp={{{fp|if that's defined at ENTRY, otherwise leave fp= out}}}|
fpwv={{{fpdwv|fwpwv|if one of those and fp are defined at ENTRY, otherwise leave fpwv= out}}
}}
# {{feminine of|ENTRY|
{{{dwv|wv|if one of those is defined at ENTRY, otherwise leave 2= out}}}|
tr={{{tr|if that's defined at ENTRY, otherwise leave tr= out}}}|
sc=Hebr|lang=he}}
For {{{fp}}}, an entry ] with:
==Hebrew==
===Adjective===
{{he-adj-form|g=f|n=p|
wv={{{fpdwv|fpwv|if one of those is defined at ENTRY, otherwise leave wv= out}}}|
fs={{{f|if that's defined at ENTRY, otherwise leave fs= out}}}|
fswv={{{fdwv|fwv|if one of those and fs are defined at ENTRY, otherwise leave fswv= out}}
}}
# {{feminine plural of|ENTRY|
{{{dwv|wv|if one of those is defined at ENTRY, otherwise leave 2= out}}}|
tr={{{tr|if that's defined at ENTRY, otherwise leave tr= out}}}|
sc=Hebr|lang=he}}
And for {{{mp}}}, an entry ] with:
==Hebrew==
===Adjective===
{{he-adj-form|g=m|n=p|
wv={{{fpdwv|fpwv|if one of those is defined at ENTRY, otherwise leave wv= out}}}
}}
# {{plural of|nocat=1|ENTRY|
tr={{{tr|if that's defined at ENTRY, otherwise leave tr= out}}}|
{{{dwv|wv|if one of those is defined at ENTRY, otherwise leave 2= out}}}|
sc=Hebr|lang=he}}
Latest comment: 13 years ago1 comment1 person in discussion
Could this template be made accelerated-compatible? {{eo-noun}} is, but not the verb version. Shouldn't be difficult as Esperanto is a very regular language. Thanks. Tempodivalse20:16, 26 February 2011 (UTC)Reply
Latest comment: 13 years ago3 comments2 people in discussion
Would you be able to add this template to the list? A lot of plurals are regular with the ending -en, so the template does that by default unless a different plural is specified. An example of a word that's been done is Aarm/Äerm, one that hasn't is Apel/Äppel. Cheers, BigDom (t • c) 21:04, 7 September 2011 (UTC)Reply
Latest comment: 13 years ago1 comment1 person in discussion
Should be simple, but too complex for my brain. Basically, I need for the feminine plural in {{sq-part}} to be accelerated, but the format will be a bit more involved than a regular adjective in, say, Spanish.
Could all cases of bolded_headword be replaced with {{head}} as well? For all languages? I believe using bolded headwords is deprecated in favour of using headword-line templates, even for form-of entries. —CodeCat01:02, 5 January 2012 (UTC)Reply
"?"
Latest comment: 12 years ago1 comment1 person in discussion
Latest comment: 12 years ago5 comments2 people in discussion
I don't really understand how this all works, so forgive my ignorance (or, alternatively, explain it if you have the immense willpower necessary to do so). Is it possible to add the following templates, so that they populate like English standard plurals do now (with a single click for each)?
Inflectin table templates aren't typically accelerated. You would probably be best off using a bot to generate these forms, instead. --Yair rand (talk) 09:09, 25 March 2012 (UTC)Reply
I considered that and realized that it was so far beyond my technical capabilities that I would end up needing so much help from other users that it would be an insane drag on them. However, is there some bot creation guide out there that I might be able to use? --Μετάknowledgediscuss/deeds15:16, 25 March 2012 (UTC)Reply
Latest comment: 11 years ago1 comment1 person in discussion
If you look at my contributions, you will find a long list of link repair corrections like this one, removing a space. What they all have in common is that they were all generated by something called "Accelerated" which links to this page, and they are all Spanish plurals. Also see the comment on my talk page. There are probably a lot more examples of this problem, and is this software still generating more of them? 67.160.69.10502:05, 6 August 2013 (UTC)Reply
Feminine plurals of French entries
Latest comment: 11 years ago3 comments2 people in discussion
The feminine plural of French entries is created as "plural of (masculine form)". That should be "feminine plural of ...". If I understand the code correctly, in get_preload_text.fr(), the variable template does not contain the correct string. — Xavier, 22:36, 29 September 2013 (UTC)Reply
Can someone take care of this request, please? I can fix this myself if someone is willing to unprotect this script. — Xavier, 22:43, 13 October 2013 (UTC)Reply
And? If you mean that this RFDO has passed its expiration date and is no longer valid, then undelete the category. Else either fix this script or let me fix it. — Xavier, 00:33, 14 October 2013 (UTC)Reply
CodeCat, this category failed RFDO; even if you think that decision should be reversed, you obviously shouldn't be telling people to recreate it without discussion. Even if we ultimately reverse the RFDO decision, in the meantime the script is clearly broken. (BTW, the RFD discussion was never archived to the talk-page, because Mglovesfun was going through one of his phases of "archiving" old discussions without actually copying them anywhere; see Wiktionary:Requests_for_deletion/Others?diff=8040442&diffonly=1. I've copied it there now.) —RuakhTALK05:50, 14 October 2013 (UTC)Reply
By the way, I've fixed the script now. Thanks, Xavier; what you described was not quite the correct fix, but even so, it was very helpful. —RuakhTALK06:00, 14 October 2013 (UTC)Reply
Latest comment: 7 years ago1 comment1 person in discussion
Hey Conrad.Irwin! It's me, Khu'hamgaba Kitap, and I have a question to ask of you. You don't have to do this. Though, my coding skills aren't nearly as good as yours are. It would be absolutely great if you maybe could create a template that would create noun classes automatically in Kamba. You were the first person I thought of that I could ask (,but if you aren't up for something like this, please relay this message to someone that you know that would be). Just send me a message if you have any questions about this, just leave me a message on my talk page. In the template, could you include the ability to add tones onto the header for the word (the page for chifuwa is a great example of this). The actual template would have to have similar functionality to the template ny-noun. If you could do this, it would be a great help. Thanks!
"AccForm" suggests "accusative form" to me. I would prefer it be spelled out: "Gadget-AcceleratedFormCreation.js". — Eru·tuon20:07, 20 August 2017 (UTC)Reply
I have removed the invocation of mess with popup because it did not work and was not easy to understand what it did and how to get it working again. Dixtosa (talk) 20:46, 20 August 2017 (UTC)Reply
Well, whether there's a class or not, the error messages should be able to display rather than being masked by another error message. — Eru·tuon23:31, 21 November 2017 (UTC)Reply
I agree, but I have no idea how it would actually be fixed. Perhaps if the class were placed at the top of the main script? —Rua (mew) 23:32, 21 November 2017 (UTC)Reply
But PreloadTextError is required as the creation rule functions contain it. Either it must be replaced with a generic error, or it must be defined in that script, or in another script that is somehow loaded in the creation rules script. — Eru·tuon21:57, 23 November 2017 (UTC)Reply
No, I misunderstood. You mean declaring the variable higher up. No, that won't change anything. JavaScript has variable hoisting: var and functionfuncname(){} both result in the variable being defined throughout the whole scope (in this case, the whole of MediaWiki:Gadget-AcceleratedFormCreation.js). — Eru·tuon22:31, 23 November 2017 (UTC)Reply
My impression is the following, though I might get some terminology wrong. Variables defined in the lowest scope of a script are similar to local variables in Lua (aside from hoisting). They are accessible only to functions defined in that script, not functions defined in other scripts. (That is, they do not add members to window. I don't know how this is implemented: scripts loaded with <script> are able to define variables that are available to other scripts.) Since the function generate_entry and the creation_rules functions are defined in User:Conrad.Irwin/creationrules.js, they do not have access to any of the variables in MediaWiki:Gadget-AcceleratedFormCreation.js except those supplied to the function as arguments. Hence, PreloadTextError is undefined, since it is not present in in User:Conrad.Irwin/creationrules.js, and this caused an error when one of the creation_rules functions attempted to call it. — Eru·tuon23:03, 23 November 2017 (UTC)Reply
The thing is though, the class used to work, before I made my changes. In the old version, the class was available in the creation rules despite being defined in another script. So something about your script-scope reasoning isn't right. I think it's an order of definition problem. —Rua (mew) 23:08, 23 November 2017 (UTC)Reply
@Dixtosa: I see that error message, but I also see a red error message "ReferenceError: PreloadTextError is not defined" above it. (I got the header of this thread wrong.) Oh, it's because I have the acceleration gadget installed. Duh. Removing the gadget removes the error. So we do have a solution. Sorry for the confusion. — Eru·tuon19:20, 26 November 2017 (UTC)Reply
@Rua: According to this article, functions can be declared in any order and both their declaration and definition are hoisted to the top of the scope, provided the syntax functionfunctionname(){}, not varfunctionname=functionoptionalname(){}, is used. So PreloadTextError can be defined at the bottom of creationrules.js and still be accessible to the creation rule functions above it. I guess the same happens in Lua if you declare a variable at the top of a module and then define it lower down in the module than where it is first used. Not totally sure why that works. — Eru·tuon19:43, 26 November 2017 (UTC)Reply
About inflections of Classical and Modern Greek, Lithuanian, Japanese, Arabic and Sanscrit
Latest comment: 6 years ago1 comment1 person in discussion
I know you're busy, but could you add them? That would be greatly appreciated.
And I'm awfully sorry that I can't do them on my own.--Yoshiciv (talk) 12:48, 6 September 2018 (UTC)Reply
Finnish noun forms
Latest comment: 5 years ago2 comments2 people in discussion
Hey, I was wondering if the script could be modified so that the accel. links for nominative/accusative plural forms create entries that have both definitions? I have confirmed by asking Surjection that nom. plural and acc. plural forms are always identical (with the exception of some pronouns). At the moment the links only create an entry that gives nom. plural as the definition. User: The Ice Magetalk to meh20:59, 15 February 2019 (UTC)Reply
Can you give an example? I clicked an accelerated link from a random Finnish adjective entry, äänenpitävä, and did not see "adjctive" anywhere on the page. I also didn't see "adjctive" anywhere in Module:fi-nominals, which handles the acceleration parameters. This might happen, though, if the entry that you are clicking a link from has the header "Adjctive", as was true with julkisoikeudellinen linking to julkisoikeudelliset. — Eru·tuon21:07, 17 February 2019 (UTC)Reply
Latest comment: 5 years ago15 comments2 people in discussion
@Erutuon At the moment, if the lemma contains display-only diacritics, then you have to specify the lemma in the acceleration tags. At the same time, the display form of the lemma already is on the page containing the accelerated links. It's in the headword of the POS section, after all, and it's tagged with the class headword by Module:headword. I'm thinking, what if, instead of requiring the lemma to be specified with the acceleration tags, the script could simply search backwards from the link until it finds the "headword" class? Then the origin- tag wouldn't be needed at all anymore.
The same could perhaps be done with origin-transliteration- as well, since they are classed as headword-tr. However, there is a possibility for multiple headwords and multiple transliterations, and pairing them is not trivial. Another problem is embedded links in the headword line, like those for multi-word terms. We shouldn't care about the link, but the lemma should be plain text, so any links and other tags still have to be stripped before we get the lemma. —Rua (mew) 14:09, 30 March 2019 (UTC)Reply
@Rua: I don't see how it can work to remove the origin parameter and look at the nearest headword for words with two displayed forms, like Ancient Greek or Latin words with a variable-length vowel. I don't have a good example, but if we had a table for both versions of καλός(kalós), κᾰλός and κᾱλός, then the script would arbitrarily choose one of them to use as the origin parameter (whichever was last), and it would not necessarily match the length of the form in the table. So I think logically the origin parameter is sometimes needed, though practically I'm not sure how often this situation will arise. — Eru·tuon17:59, 3 April 2019 (UTC)Reply
The origin parameter could be reintroduced but as an override to the default. Also, I'm not sure what you mean on καλός(kalós), I only see one headword and inflection there. —Rua (mew) 18:02, 3 April 2019 (UTC)Reply
I don't really have a good solution for this, and it's frustrating me. How would you propose solving it without having to put "origin" on every link? —Rua (mew) 18:14, 3 April 2019 (UTC)Reply
Well, perhaps there could be a wrapping element that contains the origin parameter. For instance, in Ancient Greek declension tables it could be stuck in data-accel-origin="..." in the table element, and the table element could have some class to signal that the acceleration should find it and process all accelerated children of it, giving the origin parameter to each of them. That would require reworking the accelerated link gathering part of the script a bit. — Eru·tuon18:20, 3 April 2019 (UTC)Reply
That seems less bad a solution. But what about accelerated links in headword lines? There doesn't seem to be a wrapping element there. —Rua (mew) 18:21, 3 April 2019 (UTC)Reply
Probably there should be an element wrapping the headword line in which the origin parameter can be placed. But it's not always true that every form in the headword has the same origin parameter, for instance if the headword of καλός(kalós) displayed all of κᾰλή κᾱλή κᾰλόν κᾱλόν. I guess dealing with forms in the headword that have different origin parameters would require manually inputting the origin parameter for each, which might not be worth the trouble. (Fortunately for me, Ancient Greek headwords don't have acceleration at the moment.) I wonder if the script could figure out if there are multiple possible origin parameters in the headword line. — Eru·tuon18:36, 3 April 2019 (UTC)Reply
Thinking about this more, it seems that the fundamental problem with καλός(kalós) is that there are really two terms, not just one. One is κᾰλός(kalós) and the other is κᾱλός(kālós). They have different pronunciations, inflections and also usage context (since the latter is Ionic and the former is Attic). They happen to end up on the same page because we happen to consider breves and macrons not part of the orthography of Ancient Greek. However, the entire problem would be solved if we did treat them each as separate terms, giving each its own POS section and headword. Then it would be clear which inflection goes with which headword, but also which pronunciation goes with which headword. It wouldn't just be clear to automated scripts, but to human users as well. How would other dictionaries deal with this situation?
Consider also the related situation of Latin, where we have both the lemma puella and its ablative singular form puellā on the same page. We currently entirely ignore the latter, its pronunciation is missing from the entry and so is its headword. If we wanted to include it, how would we do so? —Rua (mew) 18:44, 3 April 2019 (UTC)Reply
Well, yes, I suppose that the two vowel lengths of καλός(kalós) could be considered different terms, but they share endings and meanings, and are even used interchangeably in some works or genres according to the LSJ entry, so it's convenient to treat them in the same entry. Even when that isn't the case, the script has to account for entry layouts that exist. As for puellā and similar cases, I think a few entries give them a separate POS section or treat them in a definition line in the POS section for its lemma.
Perhaps in cases of ambiguity the script could grab all potentially applicable origin forms and ask the user to decide which ones should be used in the entry. At minimum, it could show them above the textbox and expect the user to insert them into the proper places, or if someone wants to do a lot of coding (unlikely), there could be some sort of UI that lets you choose and then figures out how to generate the correct wikitext. — Eru·tuon19:00, 3 April 2019 (UTC)Reply
I don't think it's even worth bothering trying to "fix" this when the thing that's broken isn't our scripts, but our whole set of assumptions of what words and lemmas are. Our problem is that we tie lemmas to words, whereas lemmas by their nature contain many words. On one hand, we have the concept of a "lemma form", but this whole discussion arises from the fact that there are multiple possible lemma forms and we can't seem to decide on one. I say that καλός(kalós) should be the lemma, with no diacritics at all, and only the inflections should list possible alternatives. This is much more in line with the Wikidata approach, where lemmas aren't even considered words and have no such thing as a pronunciation, only forms have that prerogative. It makes a lot more sense. Then we could say that the lemma καλός(kalós) has two possible masculine nominative singular forms, κᾰλός(kalós) and κᾱλός(kālós). It would also solve the puella situation: you'd have the lemma on one hand, and then on the same page there would be entries for the forms, with pronunciations for each. One for the form puella and one for the form puellā. —Rua (mew) 19:40, 3 April 2019 (UTC)Reply
That model sounds like it would have benefits, but I am not sure how it could be applied to Wiktionary. We have to show one or more versions of the lemma form; we don't have IDs for lemmas. I think the script should do its best to accommodate Wiktionary's model, as annoying as it may be in some cases. — Eru·tuon20:32, 3 April 2019 (UTC)Reply
I've made a post at WT:BP regarding the matter. It's really more of an essay and an invitation for people to think about it more deeply, than a real proposal. —Rua (mew) 20:40, 3 April 2019 (UTC)Reply
The main problem I see is that most people just want acceleration to work, and don't think about these details. A lot of templates that might need origin currently don't have it. This is a way to make them work anyway. —Rua (mew) 18:06, 3 April 2019 (UTC)Reply