Help

Difference between revisions of "Create a new generator"

m
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
# Save;
 
# Save;
 
# Refresh the [[Special:RecordWizard|RecordWizard]] and test your new generator.
 
# Refresh the [[Special:RecordWizard|RecordWizard]] and test your new generator.
 +
 +
<!--T:4-->
 +
Note: currently, only users with administrator right can do it. In the future, it will be possible to test new generators for everyone.
  
 
<!--T:3-->
 
<!--T:3-->
Line 14: Line 17:
 
</translate>
 
</translate>
  
[[Category:Lingua Libre:Help]]
+
[[Category:Lingua Libre:Help{{#translation:}}]]

Revision as of 07:26, 20 May 2021

Other languages:
Deutsch • ‎English • ‎français • ‎norsk bokmål • ‎occitan • ‎português do Brasil • ‎svenska • ‎македонски • ‎日本語

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:

  1. Copy the entire code of the demo gadget: MediaWiki:Gadget-Demo.js;
  2. Paste it into your common.js;
  3. Adapt the code to your idea by following the comments;
  4. Save;
  5. 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).