Extension:CategoryStack

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎日本語 • ‎polski
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
CategoryStack

Release status:Extension status stable

ImplementationTemplate:Extension#type Parser extension
DescriptionTemplate:Extension#description List all pages under a specified category
Author(s)Template:Extension#username Solomon Kinard (sawdabeetalk)
Latest versionTemplate:Extension#version 0.2 (2011-10-18)
MediaWikiTemplate:Extension#mediawiki 1.17
LicenseTemplate:Extension#license GPL
Download http://solomonkinard.com/www-uploads/CategoryStack.bz2

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.phpManual: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]