Help:Extension/ExtendedFunctions

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
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.3(August 26,2010)</td><td>{{#ifexistfile:/data/src/ExtendedFunctions/ExtendedFunctions.phps}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em">24cd26a216f9ae98087ba512b14fa86a</pre></td></tr>
+
  <tr><td>0.3(August 26,2010)</td><td>{{#ifexistfile:/data/src/ExtendedFunctions/ExtendedFunctions.phps}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em">80fc65923d6bbe57b59659edef2a1365</pre></td></tr>
 
  <tr><td>0.2(November 11,2008)</td><td>{{#ifexistfile:/data/src/ExtendedFunctions/previous/ExtendedFunctions-0.2.phps}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em">883853421db0801cd91046e179942f49</pre></td></tr>
 
  <tr><td>0.2(November 11,2008)</td><td>{{#ifexistfile:/data/src/ExtendedFunctions/previous/ExtendedFunctions-0.2.phps}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em">883853421db0801cd91046e179942f49</pre></td></tr>
 
</table>
 
</table>
Line 59: Line 59:
 
# [[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]]
 +
# clink
 +
# createstring
 +
# ifexists
 +
# map
 +
# max
 +
# min
 +
# nth
 +
# searchlinenot
 +
# searchLineReg
 +
# trimex
  
 
== ChangeLog ==
 
== ChangeLog ==
 +
0.3
 +
*
 
0.2
 
0.2
 
* SearchTitleをMySQLのlike検索からregexp検索に変更しました。
 
* SearchTitleをMySQLのlike検索からregexp検索に変更しました。

Revision as of 13:16, 27 August 2010

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

Contents


Extension to use (mainly) string-related operations.

Based on Extension:ParserFunctions.

Requirements

Wbr

Download

versionsourcemd5
0.3(August 26,2010)ExtendedFunctions.phps
80fc65923d6bbe57b59659edef2a1365
0.2(November 11,2008)ExtendedFunctions-0.2.phps
883853421db0801cd91046e179942f49

Installtion

  1. Download the source code and rename it to ExtendedFunctions.php.
  2. Place it in the extensions/ directory.
  3. Insert the follow lines to LocalSettings.php
require_once( "$IP/extensions/ExtendedFunctions.php" );

Function

  1. car
  2. cdr
  3. cadr
  4. cddr
  5. caddr
  6. cdddr
  7. and
  8. or
  9. def
  10. var
  11. substring
  12. trim
  13. length
  14. count
  15. indexof
  16. lastindexof
  17. isdigit
  18. isalnum
  19. replace
  20. cr
  21. bar
  22. forcedbr
  23. repeat
  24. repeatnum
  25. ifexistfile
  26. javawithparam
  27. searchline
  28. searchtitle
  29. countline
  30. counttitle
  31. choose
  32. clink
  33. createstring
  34. ifexists
  35. map
  36. max
  37. min
  38. nth
  39. searchlinenot
  40. searchLineReg
  41. trimex

ChangeLog

0.3

0.2

  • SearchTitleをMySQLのlike検索からregexp検索に変更しました。
Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox