Api Settings
Changing the Language
Default: en
You can change the language of the articles and search by changing the api.language
setting in you
config file. The default language is English.
Changing the language to German
api.language = "de"
Using the language name in english aswell as the local language is also supported
api.language = "german"
api.language = "deutsch"
Hiding the language changed popup
Default: true
You can hide the 'Changed language to ...' popup by disabling the following setting
api.language_changed_popup = false
Hiding the article language changed popup
Default: true
You can hide the 'Changed the language of your article to ...' popup by disabling the following setting
api.article_language_changed_popup = false
Supported Languages
A list of all languages can be found here:
https://en.wikipedia.org/wiki/List_of_Wikipedias
About the support of languages
Some versions of Wikipedia have custom formatting different from the main wikipedia site. That means changing the language
to something other than English
can lead to incorrect formatting or missing data. A fix is planned but will take time
Changing the site
The options api.pre_language
and api.post_language
allow you to change the wiki site to,
theoretically, any Mediawiki based site. Make sure that api.post_language
points to the api
endpoint of the site, otherwise wiki-tui won't work.
Default
api.pre_language = "https://"
api.post_language = ".wikipedia.org/w/api.php"
Created: August 4, 2022