MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=languagesearch
(main | languagesearch)
- This module requires read rights.
- Source: UniversalLanguageSelector
- Licence: GPL-2.0-or-later OR MIT
Search for language names in any script.
Parameters:
- search
Search string.
- This parameter is required.
- typos
Number of spelling mistakes allowed in the search string.
- Type: integer
- Default: 1
Examples:
- Search for "Te"
- api.php?action=languagesearch&search=Te [open in sandbox]
- Search for "ഫി"
- api.php?action=languagesearch&search=ഫി [open in sandbox]
- Search for "ഫി", allowing one typo
- api.php?action=languagesearch&search=ഫി&typos=1 [open in sandbox]