Extension:CategoryStack

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎polski • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
CategoryStack
Release status: stable
Implementation Parser extension
Description List all pages under a specified category
Author(s) Solomon Kinard (sawdabeetalk)
Latest version 0.2 (2011-10-18)
MediaWiki 1.17
License GPL
Download https://github.com/solomonkinard/MediaWikiExtensionCategoryStack
Translate the CategoryStack extension if it is available at translatewiki.net
Check usage and version matrix.

What can this extension do?[edit]

This extension creates a listing of all the articles that are a member of the given category.

Usage[edit]

Edit and add one of the following lines to a page of your choosing:

  • Simple:{{#CategoryStack:YourCategoryHere| }}
  • Advanced:{{#CategoryStack:YourCategoryHere|PrependedTextToRemove}}
  • Example:{{#CategoryStack:YourCategoryHere|:Category:}}

Download instructions[edit]

http://solomonkinard.com/www-uploads/CategoryStack.bz2

Installation[edit]

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

# Category stack
require_once("$IP/extensions/CategoryStack/CategoryStack.php");

Configuration parameters[edit]

The space after the | is what you would like to be removed from the output. This particular removal feature is experimental.

Copyright[edit]

Free to use as long as credit is given.

See also[edit]