Help:Extension/ExtendedFunctions
From Metabolomics.JP
(Difference between revisions)
Line 2: | Line 2: | ||
|author=K, Suwa | |author=K, Suwa | ||
|version=0.1 | |version=0.1 | ||
− | |mediawiki=1.11.1 | + | |mediawiki=1.11.1 |
}} | }} | ||
Line 17: | Line 17: | ||
<table border="1" cellpadding="3" cellspacing="1"> | <table border="1" cellpadding="3" cellspacing="1"> | ||
<tr><td>version</td><td>source</td><td>md5</td></tr> | <tr><td>version</td><td>source</td><td>md5</td></tr> | ||
− | <tr><td>0. | + | <tr><td>0.2(November 11,2008)</td><td>{{#ifexistfile:/data/src/ExtendedFunctions/ExtendedFunctions.phps}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em">883853421db0801cd91046e179942f49</pre></td></tr> |
</table> | </table> | ||
Line 58: | Line 58: | ||
# [[Help:Extensions#.7B.7B.23countTitle:_str_.7Cnamespace.3D.27Main.27.7D.7D|counttitle]] | # [[Help:Extensions#.7B.7B.23countTitle:_str_.7Cnamespace.3D.27Main.27.7D.7D|counttitle]] | ||
# [[Help:Extensions#.7B.7B.23choose:line1_.5Cn_line2_.5Cn_lin3....7Cstring.7D.7D|choose]] | # [[Help:Extensions#.7B.7B.23choose:line1_.5Cn_line2_.5Cn_lin3....7Cstring.7D.7D|choose]] | ||
+ | |||
+ | == ChangeLog == | ||
+ | 0.2 | ||
+ | * SearchTitleをMySQLのlike検索からregexp検索に変更しました。 |
Revision as of 11:00, 4 December 2008
Extension Information | |
Implementation | |
Description | |
Author(s) | K, Suwa |
Version | 0.1 |
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.2(November 11,2008) | ExtendedFunctions.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
ChangeLog
0.2
- SearchTitleをMySQLのlike検索からregexp検索に変更しました。