class MediaWiktory::Wikipedia::Actions::Languagesearch

Search for language names in any script.

Usage:

“`ruby api.languagesearch.search(value).perform # returns string with raw output # or api.languagesearch.search(value).response # returns output parsed and wrapped into Response object “`

See {Base} for generic explanation of working with MediaWiki actions and {MediaWiktory::Wikipedia::Response} for working with action responses.

All action's parameters are documented as its public methods, see below.

Public Instance Methods

typos(value) click to toggle source

Number of spelling mistakes allowed in the search string.

@param value [Integer] @return [self]

# File lib/mediawiktory/wikipedia/actions/languagesearch.rb, line 34
def typos(value)
  merge(typos: value.to_s)
end