Extension:Wikindx

What can this extension do?
This extension enables the insertion of Wikindx citations into MediaWiki articles via the introduced tag. It can extract a citation of a single resource or list all the citations related to an author or a keyword.

The citation can be used within a tag provided by the Extension:Cite extension.

Usage
Simply insert a tag in your article where you want the citation (or the list) to be inserted. To select the citations to be extracted from the Wikindx database, use one (and only one) of the following attribute:
 * resource=id
 * author=id
 * keyword=id

To find the value of these ids, simply clic on a resource, a creator or a keyword in your Wikindx web site. Then, look for the value of the id parameter in the URL. For example, xxx/bibliography/index.php?action=listCreatorProcess&id=225 brings an author id of 225.

If there is more than one resource to display (that is, by using the author or keyword attribute), the ouput is a list of citations. The citation is plain-text whose style is defined by your Wikindx configuration (see below. An external link to the resource page of your Wikindx web site is appended to the citation for a rapid access to attachments or quotes for example.

Examples
 The citation of a particular resource: All resources created by a particular author: Related resources (tagged with keyword YYY): 

Template
The passing of parameters to tag extension within templates implies the use of the #tag magicword (see Mediawiki bug #2257).

The following template relies on the tag provided by the Extension:Cite extension. It brings to your articles references à la BibTeX. The parameter is the resource's id.

Download instructions
Please cut and paste the code found below and place it in  and in.

Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

For some reason, these lines should be added at the end of your LocalSettings.php file (or, if it is present, just before the  tag).

Wikindx must also be correctly configured. In the  file of your wikindx installation, makes sure that:
 * is set to true.
 * is set correctly (it defines the citation style used by this extension).

Configuration parameters
points to your wikindx installation. Include the trailing slash, but not.