Extension:Soundex

From mediawiki.org
This page is a translated version of the page Extension:Soundex and the translation is 27% complete.
MediaWiki 拡張機能マニュアル
Soundex
リリースの状態: 保守されていない
実装 タグ
説明 Generates soundex codes with <soundex></soundex> tag
作者 Kurt M. Weber (Kmweberトーク)
最新バージョン 0.1 (2008-09-18)
MediaWiki
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード Soundex.php

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.

使用法

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

<soundex>Kurt</soundex>

will generate

K630

ファイル

There is only one file, the one is 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 file:

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