Help:Extension/MySQLLikeSearch

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
(New page: {{Extension |author=K, Suwa |version=0.1 |mediawiki=1.11.1 }} __TOC__ mediawikiの画面左にあるsearch機能を拡張するextensionです。<br> 標準で使用を許可している...)
 
Line 27: Line 27:
 
# Put in extensions/ directory.
 
# Put in extensions/ directory.
 
# Insert follow line to LocalSettings.php
 
# Insert follow line to LocalSettings.php
  require_once( "$IP/MySQLLikeSearch.php" );
+
  require_once( "$IP/extensions/MySQLLikeSearch.php" );
  
 
== Function ==
 
== Function ==
 
# [[Doc:Extensions#Search|MySQLLikeSearch]]
 
# [[Doc:Extensions#Search|MySQLLikeSearch]]

Revision as of 11:33, 18 September 2008

Extension Information
Implementation
Description
Author(s)K, Suwa
Version0.1
MediaWiki1.11.1
License
Hooks used
Token type

Contents


mediawikiの画面左にあるsearch機能を拡張するextensionです。
標準で使用を許可している文字以外に「&#_%」の4つを検索文字列として許可しています。

また、検索はlike検索となっており、「_」は任意の一文字、「%」は0文字以上の文字列とマッチします。

このextensionはExtension:Wildcard searchを基に作成しています。

Requirements

None

Download

versionsourcesize
0.1(September 11,2008)MySQLLikeSearch.phps

Installtion

  1. Download source and rename to MySQLLikeSearch.php.
  2. Put in extensions/ directory.
  3. Insert follow line to LocalSettings.php
require_once( "$IP/extensions/MySQLLikeSearch.php" );

Function

  1. MySQLLikeSearch
Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox