Topic on Wikidata talk:Wikidata Lexeme Forms

New feature: automatically generating forms

5
Lucas Werkmeister (talkcontribs)

I just added a feature to the Wikidata Lexeme Forms tool which allows it to be used as part of a solution to automatically generate forms for a lexeme: some tool, user script, or other code generates a URL that contains the form representations, sends the user there, and then the tool lets them create the lexeme with a single click or button press. See the documentation for more information.

This basically fulfills the role that is currently served by User:Okkn/jsonLexeme.js or User:GZWDer/newentity.js – Lua modules like Module:Lexeme-en could be updated to send the user to an appropriate URL instead of emitting lexeme JSON, and then the user would not need any special user scripts installed. (This could also simplify the module code to some degree, I assume – basically, it can focus on its core competence, generating forms, and leave the rest of the creation process to Wikidata Lexeme Forms.)

Pinging KaMan, Rua, and Theklan, who requested something like this in the past, and also GZWDer and Okkn, who have been working on Lua modules to generate forms according to Wikidata:Tools/Lexicographical data. Feel free to tag anyone else I forgot.

So9q (talkcontribs)
Lucas Werkmeister (talkcontribs)

Hm, it worked for me after I was logged in, but not when I first had to log in. So there’s probably something wrong with the “restoring” after a login.

Lucas Werkmeister (talkcontribs)

Alright, I think I managed to fix that now.

So9q (talkcontribs)

Now it works :)

Reply to "New feature: automatically generating forms"