Help

Difference between revisions of "Create a new generator/oc"

(Created page with "Ajuda:Crear un generator novèl")
 
(Created page with "Generators son de pichonas aisinas que son dins lo Record Wizard per crear automaticament de listas de mots. Se coneissètz lo JavaScript , podètz aisidament crear lo vòstr...")
Line 1: Line 1:
 
<languages/>
 
<languages/>
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:
+
Generators son de pichonas  aisinas que son dins lo Record Wizard per crear automaticament de listas de mots. Se coneissètz lo JavaScript , podètz aisidament crear lo vòstre generator e lo partejar amb los autres. Vaqui cossí far :
  
 
# Copy the entire code of the demo gadget: [[MediaWiki:Gadget-Demo.js]];
 
# Copy the entire code of the demo gadget: [[MediaWiki:Gadget-Demo.js]];

Revision as of 17:30, 24 October 2020

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

Generators son de pichonas aisinas que son dins lo Record Wizard per crear automaticament de listas de mots. Se coneissètz lo JavaScript , podètz aisidament crear lo vòstre generator e lo partejar amb los autres. Vaqui cossí far :

  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.

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).