Help:Extension/RowJSPage
From Metabolomics.JP
(Difference between revisions)
(2 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
|author=K, Suwa | |author=K, Suwa | ||
|version=0.11 | |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 30: | Line 52: | ||
== Changes == | == Changes == | ||
0.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 |
Version | 0.11 |
MediaWiki | |
License | |
Hooks used | |
Token type | Parser 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
version | source | md5 | OperationCheck 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
- Download the tgz file and decompress it.
- Place it in the extensions/ directory.
- Insert the follow lines to LocalSettings.php
require_once( "$IP/extensions/RowJSPage/RowJSPage.setup.php" );
[edit] Function
- googleapi
- includejs
[edit] Changes
0.1
- {{#includejs:}}内でmetabolomics.jp/のURLを指していた部分を修正しました。