Help
Difference between revisions of "Create a new generator/en"
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
# Refresh the [[Special:RecordWizard|RecordWizard]] and test your new generator. | # Refresh the [[Special:RecordWizard|RecordWizard]] and test your new generator. | ||
− | Once your code is ready and if you think it can be usefull to other people, you can ask an admin (on the [[Special:MyLanguage/LinguaLibre:Chat room|Chat room]]) to move it to a gadget (available for those who activate it from the preference menu) or directly inside the RecordWizard (available for everyone). | + | Note: currently, only users with administrator right can do it. In the future, it will be possible to test new generators for everyone. |
+ | |||
+ | Once your code is ready and if you think it can be usefull to other people, you can ask an admin (on the [[Special:MyLanguage/LinguaLibre:Chat room|Chat room]]) to move it to a gadget (available for those who activate it from the [[Special:Preferences#mw-prefsection-gadgets|preference menu]]) or directly inside the RecordWizard (available for everyone). | ||
+ | |||
+ | == See also == | ||
+ | {{Helps}} |
Latest revision as of 18:42, 20 November 2022
Generators are small independent tools which are included in the Record Wizard to automatically generate some word lists. If you know the JavaScript programming language, you can easily create your own generator and share it with others. Here is how to do it:
- Copy the entire code of the demo gadget: MediaWiki:Gadget-Demo.js;
- Paste it into your common.js;
- Adapt the code to your idea by following the comments;
- Save;
- Refresh the RecordWizard and test your new generator.
Note: currently, only users with administrator right can do it. In the future, it will be possible to test new generators for everyone.
Once your code is ready and if you think it can be usefull to other people, you can ask an admin (on the Chat room) to move it to a gadget (available for those who activate it from the preference menu) or directly inside the RecordWizard (available for everyone).