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. Ohter than an 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

 * start        On which letter would you start


 * count        How many letter will be shown


 * article      which article should be used to show


 * random       overides the option article and shows a random article of the given namespaces


 * namespaces   limit results to the random articles. Multiple namespaces can be given separated by "|"; you can use "0", "-" or "main" to refer to the default namespace.


 * lines        Count lines that will be shown, not letters

Parameters

 * title       full title including the Namespace


 * titleblank  title without the Namespace


 * content     the content of the article

Changes to LocalSettings.php
require_once("$IP/extensions/IncludeArticle/IncludeArticle.php");