Module talk:Lexeme-en
(Redirected from User talk:Okkn/jsonLexeme.js)
Whath's the purpose of this module? --Infovarius (talk) 13:32, 8 December 2020 (UTC)
- @GZWDer, Okkn, Infovarius: minimal documentation for this module would be welcome.
- A variant is Module:Lexeme-ja by User:Okkn, no documentation as well.
- From what I could find, it seems the Modules are converting human friendly wikicode such as {{#invoke:Lexeme-ja|verbForms|勝つ|かつ|ta-go}} into rich JSON with the correct Qid for languages, part-of-speech, and other lexeme-oriented properties. The JSON is then feed to a personal script : User:GZWDer/newentity.js or its fork User:Okkn/jsonLexeme.js. This script creates a Lexeme page if none or edit one if one exists.
- A 2020 discussion in Topic:Uuej6btl02kulxh9 seems to indicate those a new ecosystem has arrived based on Wikidata:Wikidata Lexeme Forms by User:Lucas Werkmeister:
- “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.”
- GZWDer, Okkn, could you review my POV so we start to have a formal explanation for this tool ? Yug (talk) 09:21, 16 December 2021 (UTC)
List of kits[edit]
Language | Wiki2JSON Modules | Module usage | JSON2Lexeme script | Script import into [[User:{UserName}/common.js]] |
---|---|---|---|---|
en | Module:Lexeme-en | User:GZWDer/newentity.js | Add importScript('User:GZWDer/newentity.js');
| |
ja | Module:Lexeme-ja | {{#invoke:Lexeme-ja|verbForms|勝つ|かつ|ta-go}} | User:Okkn/jsonLexeme.js | Add importScript('User:Okkn/jsonLexeme.js');
|
- @Yug, Lucas Werkmeister: The issue of Wikidata:Wikidata Lexeme Forms are
- adding a new template requests intervention by tool developer and
- it does not fill inflected forms automatically.
- Also why this tool is called newentity is it intends to support templates for creating all sorts of entities, not only lexemes.--GZWDer (talk) 12:45, 16 December 2021 (UTC)