Help:Extension/HTMLForm

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 35: Line 35:
 
# encode
 
# encode
 
# decode
 
# decode
 +
 +
== ChangeLog ==
 +
0.2
 +
* <nowiki>{{#tag:}}エクステンションを{{#formtag:}}という表記に変えました。(mediawiki 1.12から{{#tag:}}が実装されたため)</nowiki>

Revision as of 11:03, 4 December 2008

Extension Information
Implementation
Description
Author(s)K, Suwa
Version0.2
MediaWiki1.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

versionsourcemd5
0.2(November 18,2008)HTMLForm.phpsd74705c84362efe1ccfbebe3bec640b8

Installtion

  1. Download the source code and rename it to HTMLForm.php.
  2. Place it in the extensions/ directory.
  3. Insert the follow lines to LocalSettings.php
    require_once( "$IP/extensions/HTMLForm.php" );
  4. Optionally, insert the follow lines to LocalSettings.php
    $egParamPrefix = "any string"; (default: "my_")
  5. $egParamPrefix is used to distinguish parameters from original MediaWiki parameters.

Function

  1. get
  2. tag
  3. encode
  4. decode

ChangeLog

0.2

  • {{#tag:}}エクステンションを{{#formtag:}}という表記に変えました。(mediawiki 1.12から{{#tag:}}が実装されたため)
Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox