Help:Extension/RowJSPage

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{Extension
 
{{Extension
 
|author=K, Suwa
 
|author=K, Suwa
|version=0.1
+
|version=0.11
 +
|type=Parser function, Special page
 
}}
 
}}
  
Line 7: Line 8:
  
 
googleapiの利用、及びMediaWiki名前空間内のJavaScriptコードの取り込みを可能にするextensionです。
 
googleapiの利用、及びMediaWiki名前空間内のJavaScriptコードの取り込みを可能にするextensionです。
 +
 +
== Example ==
 +
ここでは、googleAPIを利用して、metabolomicsという検索語の結果をひょうじします。
 +
[[MediaWiki:GoogleAPI.js]]ページをコピーして下さい。
 +
GoogleAPI.jsの中でscIというIDに対して、検索結果をセットしています。
 +
 +
* ソース
 +
<nowiki>{{#googleapi:}}</nowiki>
 +
<nowiki>{{#includejs:GoogleAPI.js|metabolomics}}</nowiki>
 +
 +
<nowiki>{|</nowiki>
 +
<nowiki>|id="scI"|</nowiki>
 +
<nowiki>|}</nowiki>
 +
 +
* 実行例
 +
{{#googleapi:}}
 +
{{#includejs:GoogleAPI.js|metabolomics}}
 +
 +
{|
 +
|id="scI"|
 +
|}
  
 
== Requirements ==
 
== Requirements ==
Line 14: Line 36:
 
<table border="1" cellpadding="3" cellspacing="1">
 
<table border="1" cellpadding="3" cellspacing="1">
 
  <tr><td>version</td><td>source</td><td>md5</td><td>OperationCheck version</td></tr>
 
  <tr><td>version</td><td>source</td><td>md5</td><td>OperationCheck version</td></tr>
  <tr><td>0.1(September 7,2009)</td><td>{{#ifexistfile:/data/src/RowJSPage/RowJSPage.tgz}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em">2578055dd671a28e51e7c304549c2bfd</pre></td><td>1.16.2</td></tr>
+
  <tr><td>0.11(February 27,2011)</td><td>{{#ifexistfile:/data/src/RowJSPage/RowJSPage.tgz}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em">2578055dd671a28e51e7c304549c2bfd</pre></td><td>1.16.2</td></tr>
 
  <tr><td>0.1(September 7,2009)</td><td>{{#ifexistfile:/data/src/RowJSPage/previous/RowJSPage-0.1.tgz}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em">8d93f6a637b81c0201b29e2517730da5</pre></td><td>1.11.1, 1.16.2</td></tr>
 
  <tr><td>0.1(September 7,2009)</td><td>{{#ifexistfile:/data/src/RowJSPage/previous/RowJSPage-0.1.tgz}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em">8d93f6a637b81c0201b29e2517730da5</pre></td><td>1.11.1, 1.16.2</td></tr>
 
</table>
 
</table>
Line 29: Line 51:
  
 
== Changes ==
 
== Changes ==
1.1
+
0.1
* {{#includejs:}}内でmetabolomics.jp/のURLを指していた部分を修正しました。
+
* <nowiki>{{#includejs:}}</nowiki>内でmetabolomics.jp/のURLを指していた部分を修正しました。

Latest revision as of 14:14, 1 March 2011

Extension Information
Implementation
Description
Author(s)K, Suwa
Version0.11
MediaWiki
License
Hooks used
Token typeParser function, Special page

Contents


googleapiの利用、及びMediaWiki名前空間内のJavaScriptコードの取り込みを可能にするextensionです。

[edit] Example

ここでは、googleAPIを利用して、metabolomicsという検索語の結果をひょうじします。 MediaWiki:GoogleAPI.jsページをコピーして下さい。 GoogleAPI.jsの中でscIというIDに対して、検索結果をセットしています。

  • ソース
{{#googleapi:}}
{{#includejs:GoogleAPI.js|metabolomics}}

{|
|id="scI"| 
|}
  • 実行例


[edit] Requirements

None

[edit] Download

versionsourcemd5OperationCheck version
0.11(February 27,2011)RowJSPage.tgz
2578055dd671a28e51e7c304549c2bfd
1.16.2
0.1(September 7,2009)RowJSPage-0.1.tgz
8d93f6a637b81c0201b29e2517730da5
1.11.1, 1.16.2

[edit] Installtion

  1. Download the tgz file and decompress it.
  2. Place it in the extensions/ directory.
  3. Insert the follow lines to LocalSettings.php
require_once( "$IP/extensions/RowJSPage/RowJSPage.setup.php" );

[edit] Function

  1. googleapi
  2. includejs

[edit] Changes

0.1

  • {{#includejs:}}内でmetabolomics.jp/のURLを指していた部分を修正しました。
Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox