Extension:PeopleCategories

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
MediaWiki extensions manual
OOjs UI icon advanced.svg
PeopleCategories
Release status: stable
Implementation User interface
Description Changes displayed page names from "Firstname Lastname" to "Lastname, Firstname" on specified category pages.
Author(s) Robert Leverington for whatleadership.com (RobertLtalk)
Latest version 1.0.0 (2010-04-13)
MediaWiki 1.16.0+
License GNU General Public License 2.0 or later
Download Template:WikimediaDownload/svn
#Releases
Example WhatLeadership
Parameters
$wgPeopleCategories
Hooks used
CategoryPageView
Translate the PeopleCategories extension if it is available at translatewiki.net
Check usage and version matrix.

The PeopleCategories extension changes displayed page names from "Firstname Lastname" to "Lastname, Firstname" on specified category pages.

Installation

  • Upload the files to the extensions/PeopleCategories/ directory within your wiki.
  • Add require_once "$IP/extensions/PeopleCategories/PeopleCategories.php"; to the end of your LocalSettings.php file.
  • Populate the $wgPeopleCategories variable with an array of categories you wish this extension to act on, e.g.
$wgPeopleCategories = array( 'Authors' );
  • Enjoy!

Releases

Version Release date Comments
1.1.0 2010-04-13 Initial version.