Returns a Table of Wikipedia page references matching the given search string.
Uses the Wikipedia Search API.
wikipediaSearch(query, options?)
query
The query string.
options optional
An object with the following properties:
limit optional
The maximum number of results to return. The default is 5.
lang optional
The language of the Wikipedia to search. The default is en.
A Table of Wikipedia page references.
The table contains the following columns:
Title
The title and URL of the page represented as a Link object.
Description
The description of the page as a string.
Thumbnail
The thumbnail of the page represented as an RemoteImage object, or an empty string if the page has no thumbnail.
wikipediaSearch("calculator")
| Title | Description | Thumbnail |
|---|---|---|
| Calculator | Electronic device used for calculations | |
| Mechanical calculator | Mechanical machine for arithmetic operations for absolute calculators | |
| Calculator spelling | Method of writing text on seven-segment displays | |
| Scientific calculator | Calculator designed to calculate problems in science, engineering, and mathematics | |
| Pascal's calculator | Early mechanical calculator |
wikipediaSearch("Earth").rows[0][0].href
"https://en.wikipedia.org/wiki/Earth"