User:So9q/TranslationAdder-InputFiller.js/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for User:So9q/TranslationAdder-InputFiller.js. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

About

[edit]
  • Input filler for TranslationAdder.js
  • Author So9q
  • Year: 2019
  • License: GPL-v3 or later
  • Synopsis: When you hover over a translation it will be copied into the input of TranslationAdder (TA) in the same section.
  • Tip: The FilterTranslations.js script is very useful to hide the clutter when translating.

Defaults

[edit]

Out of the box the script fills for the following languages:

Customization

[edit]

Filling of languages can be customized.

Customize languages

[edit]

Add the following line to your common.js (replacing code with the language you want or * for all languages):

window.CustomInputFillerLanguages = "[lang=code]"

Multiple languages can be selected like this:

window.CustomInputFillerLanguages = "[lang=code1], [lang=code2]"

Possible improvements

[edit]

Please contribute ideas for improvement on the talk page.