Extension:Soundex

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
Soundex
Release status: beta
Implementation Tag
Description Generates soundex codes with <soundex></soundex> tag
Author(s) Kurt M. Weber (Kmwebertalk)
Latest version 0.1 (2008-09-18)
License GPL
Download Soundex.php
Translate the Soundex extension if it is available at translatewiki.net
Check usage and version matrix.

This extension adds a <soundex></soundex> tag to enable generation of Soundex codes from within MediaWiki. It is essentially just a wrapper for PHP's built-in soundex() function.

Usage

To generate a soundex code, simply place the name between <soundex></soundex> tags. For instance,

<soundex>Kurt</soundex>

will generate

K630

Files

There is only one file, Soundex.php. Simply create a Soundex directory in your extensions directory and place the Soundex.php file there, then add the following to your LocalSettings.php :

require_once("extensions/Soundex/Soundex.php");