Help:Extension/HTMLForm
From Metabolomics.JP
(Difference between revisions)
Line 33: | Line 33: | ||
== Function == | == Function == | ||
# [[Help:Extensions#.7B.7B.23get:name.7D.7D|get]] | # [[Help:Extensions#.7B.7B.23get:name.7D.7D|get]] | ||
− | # [[Help:Extensions#.7B.7B.23formtag:str.7Carg.7Cbetween.7D.7D| | + | # [[Help:Extensions#.7B.7B.23formtag:str.7Carg.7Cbetween.7D.7D|formtag]] (obsolute #tag) |
# [[Help:Extensions#.7B.7B.23encode:str.7D.7D|encode]] | # [[Help:Extensions#.7B.7B.23encode:str.7D.7D|encode]] | ||
# [[Help:Extensions#.7B.7B.23decode:str.7D.7D|decode]] | # [[Help:Extensions#.7B.7B.23decode:str.7D.7D|decode]] |
Revision as of 16:16, 25 August 2010
Extension Information | |
Implementation | |
Description | |
Author(s) | K, Suwa |
Version | 0.3 |
MediaWiki | 1.11.1 |
License | |
Hooks used | |
Token type | |
Contents |
Extension to use form-related HTML tags (input, textarea, select, option, optgroup, fieldset, legend, label, form).
The action URL in the form must be the wiki root directory (e.g. action="/wiki/...").
Requirements
None
Download
version | source | md5 |
0.3(October 8,2009) | HTMLForm.phps | 1fc23f68fed045993e10233280a36122 |
0.2(November 18,2008) | HTMLForm-0.2.phps | d74705c84362efe1ccfbebe3bec640b8 |
Installtion
- Download the source code and rename it to HTMLForm.php.
- Place it in the extensions/ directory.
- Insert the follow lines to LocalSettings.php
require_once( "$IP/extensions/HTMLForm.php" );
- Optionally, insert the follow lines to LocalSettings.php
$egParamPrefix = "any string"; (default: "my_")
$egParamPrefix is used to distinguish parameters from original MediaWiki parameters.
Function
ChangeLog
0.3
- encodeが変換先の文字コードを受け取れるよう変更しました。ただし現在サポートしているのはEUC-JPのみです。
0.2
- {{#tag:}}エクステンションを{{#formtag:}}という表記に変えました。(mediawiki 1.12から{{#tag:}}が実装されたため)
- {{#encode:}}, {{#decode:}}を追加