Help

Difference between revisions of "Create a new generator"

(Created page with "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...")
 
(Marked this version for translation)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<languages/>
 +
<translate><!--T:1-->
 
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 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:
  
 +
<!--T:2-->
 
# Copy the entire code of the demo gadget: [[MediaWiki:Gadget-Demo.js]];
 
# Copy the entire code of the demo gadget: [[MediaWiki:Gadget-Demo.js]];
 
# Paste it into your [[Special:MyPage/common.js|common.js]];
 
# Paste it into your [[Special:MyPage/common.js|common.js]];
Line 7: Line 10:
 
# 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 [[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).
+
<!--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-->
 +
Once your code is ready and if you think it can be usefull to other people, you can ask an admin (on the [[<tvar|chatroom>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).
 +
</translate>
 +
 
 +
<translate>
 +
== See also == <!--T:5-->
 +
</translate>
 +
{{Helps}}

Latest revision as of 18:14, 20 November 2022

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

See also

Lingua Libre Help pages
General help pages Help:InterfaceHelp:Your first recordHelp:Choosing a microphoneHelp:Configure your microphoneHelp:TranslateHelp:LangtagsLinguaLibre:Language codes systems used across LinguaLibreLinguaLibre:List of languages
Linguistic help pages Help:Add a new languageHelp:HomographsHelp:List translationHelp:Ethics
Lists help pages Help:Create your own listsHelp:How to create a frequency list?Help:Why wordlists matter?Help:Swadesh listsHelp:ListsHelp:Create a new generator
Events, Outreach Lingualibre:EventsLingualibre:RolesLingualibre:WorkshopsLingualibre:HackathonLingualibre:Interested communitiesLingualibre:Events/2022 Public Relations CampaignLingualibre:MailingLingualibre:JargonLingualibre:AppsLingualibre:CitationsService civique 2022-2023
Strategy Lingualibre 2022 Review (including outreach)2022-2023 Lingualibre wishlist • {{Wikimedia Language Diversity/Projects}} • Speakers map • Voices gender • StatsLingua Libre SignIt/2022 report • {{Grants}}