Help:Extension/ExtendedFunctions
From Metabolomics.JP
Extension Information | |
Implementation | |
Description | |
Author(s) | K, Suwa |
Version | 0.3 |
MediaWiki | 1.11.1 |
License | |
Hooks used | |
Token type | |
Contents |
Extension to use (mainly) string-related operations.
Based on Extension:ParserFunctions.
Requirements
Download
version | source | md5 |
0.3(August 26,2010) | ExtendedFunctions.phps | 80fc65923d6bbe57b59659edef2a1365 |
0.2(November 11,2008) | ExtendedFunctions-0.2.phps | 883853421db0801cd91046e179942f49 |
Installtion
- Download the source code and rename it to ExtendedFunctions.php.
- Place it in the extensions/ directory.
- Insert the follow lines to LocalSettings.php
require_once( "$IP/extensions/ExtendedFunctions.php" );
Function
- car
- cdr
- cadr
- cddr
- caddr
- cdddr
- and
- or
- def
- var
- substring
- trim
- length
- count
- indexof
- lastindexof
- isdigit
- isalnum
- replace
- cr
- bar
- forcedbr
- repeat
- repeatnum
- ifexistfile
- javawithparam
- searchline
- searchtitle
- countline
- counttitle
- choose
- clink
- createstring
- ifexists
- map
- max
- min
- nth
- searchlinenot
- searchLineReg
- trimex
ChangeLog
0.3
0.2
- SearchTitleをMySQLのlike検索からregexp検索に変更しました。