Extension:WikipediaExtracts

The WikipediaExtracts extension allows you to insert content extracted directly from Wikipedia into any MediaWiki wiki. The content extracted comes in the form of limited wikitext, omitting leading templates, links to files or pages, etc., so it looks great on any wiki.

Usage
To insert the content of any Wikipedia article into any page, simply write:

If you omit the title, then the title of the current page will be used. You can also use the link to the article:

You can control several aspects of the content you get from Wikipedia by passing parameters to the parser function, using the familiar template syntax. For example:

The available parameters are:


 * language - The language of the Wikipedia you query ("en", "es", "de", etc.) The default is the content language of your wiki.
 * chars - The number of characters you get. Cannot be used together with the "sentences" parameter.
 * sentences - The number of sentences you get. Cannot be used together with the "chars" parameter.
 * intro - Whether or not to get content only before the first section. Any value means true.
 * plaintext - Whether or not to get content as plain text rather than limited HTML. Any value means true.
 * sectionformat - Either "plain", "wiki" or "raw". Default is "wiki".

Most of these parameters are based on the API of the Extension:TextExtracts, check its documentation for more details.