MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=languagesearch
(main | languagesearch)
- This module requires read rights.
- Source: UniversalLanguageSelector
- License: GPL-2.0+
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]