Skip to content

Enable the TextExtracts extension

Christian Heusel requested to merge github/fork/anna328p/patch-1 into master

Created by: anna328p

This extension generates short snippets of pages. This is useful for embeds and external applications that query the API.

I learned that this extension was disabled in the process of writing a chat bot to allow users of the unofficial Arch Linux Discord server to search the Arch Wiki. Because the Arch Wiki does not provide text extracts, the bot cannot give any context for a search result other than a title and link. Code example

Enabling this extension will also allow links to the Arch Wiki on Twitter, Discord, similar websites that use the oEmbed standard to display snippets of pages.

Merge request reports