Extension:Redircite
From MediaWiki.org
|
Redircite Release status: beta |
|||
|---|---|---|---|
| Implementation | Tag | ||
| Description | An extension that allows for abbreviated inline citations | ||
| Author(s) | Joe Beaudoin Jr. Roan Kattouw | ||
| Last Version | 1.0 (October 4, 2007) | ||
| MediaWiki | 1.11 | ||
| License | GPL | ||
| Download | redircite.php README CHANGELOG |
||
|
|||
Contents |
[edit] What can this extension do?
When linking to articles with very long names (like Wikipedia:Biographies of living persons), it can be convenient to use the abbreviated redirect WP:BLP instead. However, it's not very clear to the reader what "WP:BLP" stands for. With the redircite extension, one can create a link to WP:BLP that expands to "Wikipedia:Biographies of living persons" when the user places the mouse cursor on it.
[edit] Installation
Just download redircite.php through the download link in the infobox on the right and move it to the /extensions/redircite/ directory. See also the README file.
[edit] Changes to LocalSettings.php
Add the following line on the bottom of your LocalSettings.php:
require_once("$IP/extensions/redircite/redircite.php");
[edit] Usage
To create a link to WP:BLP that expands to "Wikipedia:Biographies of living persons" when the user places the mouse cursor on it (as described above), use the following code: (this requires WP:BLP to be a redirect to Wikipedia:Biographies of living persons)
<redircite>WP:BLP</redircite>
If WP:BLP is non-existent, a red link will be displayed; if WP:BLP exists but is not a redirect, a normal link to WP:BLP will be displayed.
[edit] Sites using the extension
The following is a list of sites that use the extension. Feel free to add your wiki to this list if you use the Redircite extension. Also include your current MediaWiki version, so we can determine which versions of MediaWiki this extension works well with.
- The Great Machine, a Babylon 5 wiki using MediaWiki 1.10.

