Extension:CategoryStepper
From MediaWiki.org
|
CategoryStepper Release status: stable |
|
|---|---|
| Image:CategoryStepper Screenshot.png | |
| Implementation | User interface |
| Description | Displays a category stepper box allowing one to navigate forward and backwards alphabetically through one or more categories a page is in. |
| Author(s) | MinuteElectron Talk |
| Version | 1.5 |
| MediaWiki | 1.11 or higher |
| License | GNU General Public License 2.0 or later |
| Download | Source Code README #Releases |
| Hooks used | |
The CategoryStepper extension displays a category stepper box allowing one to navigate forward and backwards alphabetically through one or more categories a page is in, as specified via a MediaWiki: namespace page or the $wgCategoryStepper configuration variable.
Bugs and feature requests should be added to MediaZilla under the 'MediaWiki extensions' product and 'CategoryStepper' component.
[edit] Installation
- Place the CategoryStepper.php source code into
extensions/CategoryStepper/CategoryStepper.php. - Place the CategoryStepper.i18n.php source code into
extensions/CategoryStepper/CategoryStepper.i18n.php. - If desired place the CategoryStepper.css source code into
skins/CategoryStepper.css. - Add
require_once( "extensions/CategoryStepper/CategoryStepper.php" );toLocalSettings.php. - Enjoy!
[edit] Usage
Fill the $wgCategoryStepper variable (in LocalSettings.php) with a list of category names to stepper box titles.
$wgCategoryStepper[ "Astronauts" ] = "Astronauts Box Title";
Alternatively set the variable to false and use the MediaWiki:Categorystepper page to set options.
LocalSettings.php: |
$wgCategoryStepper = false; |
MediaWiki:Categorystepper: |
* Astronauts|Astronauts Box Title |
[edit] Releases
| Version | Release date | Comments |
|---|---|---|
| 1.1 | 2008-01-19 | Original version. |
| 1.2 | 2008-01-20 | Added missing space in i18n file. |
| 1.3 | 2008-02-16 |
|
| 1.4 | 2008-02-17 | The second parameter of each row on the MediaWiki:categorystepper page is now optional and defaults to the first parameter. |
| 1.5 | 2008-02-26 |
|

