Extension:MultiSortCategory

From MediaWiki.org
Jump to: navigation, search


MediaWiki extensions manual - list
Crystal Clear action run.png
MultiSortCategory

Release status: beta

Description Will allow for more than a single character to be used as a SortKey for Categories
Author(s) GoldbishopTalk
Last version 1.15.01
MediaWiki 1.15.x
License No license specified
Download No link
Hooks used
CategoryPageView

Check usage (experimental)

Contents

[edit] What can this extension do?

[edit] Usage

[edit] Download instructions

Please cut and paste the code found below and place it in $IP/extensions/MultiSortCategory/MultiSortCategory.php. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

[edit] Installation

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

#add configuration parameters here
$wgMultiSortCategoryCount = ##; //Character Limit for sorting
#setup user rights here
require_once("$IP/extensions/ExtensionName/ExtensionName.php");

[edit] Configuration parameters

$wgMultiSortCategoryCount:

  • Should realistically not be larger than 10 characters but can be as big as you think your PHP host and MySQL server can handle. You should be aware of the larger it becomes, the more likely you will come in contact with DoS

[edit] User rights

[edit] Code

  <!-- put your code here - note that the ending ?> tag should not be present, as it's not needed and is likely to cause only problems. This has been since MediaWiki 1.11 and newer releases. -->

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox