Help:Extension/HTMLForm
From Metabolomics.JP
(Difference between revisions)
Line 1: | Line 1: | ||
{{Extension | {{Extension | ||
|author=K, Suwa | |author=K, Suwa | ||
− | |version=0. | + | |version=0.2 |
− | |mediawiki=1.11 | + | |mediawiki=1.11.1 |
}} | }} | ||
Line 16: | Line 16: | ||
<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 18,2008)</td><td>{{#ifexistfile:/data/src/HTMLForm/HTMLForm.phps}}</td><td>d74705c84362efe1ccfbebe3bec640b8</td></tr> |
</table> | </table> | ||
Line 33: | Line 33: | ||
# [[Help:Extensions#.7B.7B.23get:name.7D.7D|get]] | # [[Help:Extensions#.7B.7B.23get:name.7D.7D|get]] | ||
# [[Help:Extensions#.7B.7B.23tag:str.7Carg.7Cbetween.7D.7D|tag]] | # [[Help:Extensions#.7B.7B.23tag:str.7Carg.7Cbetween.7D.7D|tag]] | ||
+ | # encode | ||
+ | # decode |
Revision as of 10:49, 4 December 2008
Extension Information | |
Implementation | |
Description | |
Author(s) | K, Suwa |
Version | 0.2 |
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.2(November 18,2008) | HTMLForm.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.