Extension:Soundex/ja

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
MediaWiki 拡張機能マニュアル
Soundex
リリースの状態: 保守されていない
実装 タグ
説明 Generates soundex codes with <soundex></soundex> tag
作者 Kurt M. Weber (Kmwebertalk)
最新バージョン 0.1 (2008-09-18)
MediaWiki
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード Soundex.php
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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");