Extension:IncludeArticle

What can this extension do?
The Include Article extension provides a custom tag, , that allows the inclusion of any article to be shown on any wiki page. Other than a Template it is possible to choose how many letters or lines of the article are shown. It supports several types of filtering as well as full custom formating of entries, using template syntax.

Usage
To get the first 200 letters from a random article in the MAIN NAMESPACE



You can provide options to controll the article (for example, 300 letters):



To define your own format for the generated article, you can use your own style.





Installation
Copy the IncludeArticle directory into the extensions folder of your MediaWiki installation.

Options

 * article: Which article to show
 * random: Overides article and shows a random article of the given namespaces
 * namespaces: Limit results to random articles. Multiple namespaces can be given separated by "|"; you can use "0", "-", or "main" to refer to the default namespace.
 * start: Which letter to start with
 * count: How many letters will be shown, negative values will display the whole article removing the specific number of letters from the end
 * lines: Count lines (not letters) that will be shown

Parameters

 * title: Full title including namespace
 * titleblank: Title without namespace
 * content: Article content

Changes to LocalSettings.php
To make this extension work with mediawiki >= 1.12, add this line.