Help:Extension/HTMLForm
From Metabolomics.JP
(Difference between revisions)
m |
|||
Line 21: | Line 21: | ||
== Installtion == | == Installtion == | ||
<ol> | <ol> | ||
− | <li>Download source and rename to HTMLForm.php.</li> | + | <li>Download the source code and rename it to HTMLForm.php.</li> |
− | <li> | + | <li>Place it in the extensions/ directory.</li> |
− | <li>Insert follow | + | <li>Insert the follow lines to LocalSettings.php |
<pre>require_once( "$IP/extensions/HTMLForm.php" );</pre></li> | <pre>require_once( "$IP/extensions/HTMLForm.php" );</pre></li> | ||
− | <li>Optionally, | + | <li>Optionally, insert the follow lines to LocalSettings.php |
<pre>$egParamPrefix = "any string"; (default: "my_")</pre></li> | <pre>$egParamPrefix = "any string"; (default: "my_")</pre></li> | ||
$egParamPrefix is used to distinguish parameters from original MediaWiki parameters. | $egParamPrefix is used to distinguish parameters from original MediaWiki parameters. |
Revision as of 17:46, 20 September 2008
Extension Information | |
Implementation | |
Description | |
Author(s) | K, Suwa |
Version | 0.1 |
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 | size |
0.1(September 11,2008) | HTMLForm.phps |
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.