Help:Extension/Volatile
From Metabolomics.JP
(Difference between revisions)
m (Doc:Extension/Volatile moved to Help:Extension/Volatile) |
|||
Line 7: | Line 7: | ||
__TOC__ | __TOC__ | ||
− | + | Volatile is achieved by Volatile link and Volatile namespace. See also [[Help:Extension/Persistency|Persistency]]. | |
+ | ;Volatile link : <nowiki>[[Volatile:name|params|name]]</nowiki> specifies a page in Volatile namespace and its parameters. In the specified page, the contents are expanded with the parameters (without cash). | ||
− | + | ;Volatile namespace : The notation of page contents is the same as Template namespace. Use {{{1}}}, {{{2}}} ... for parameters. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== Requirements == | == Requirements == | ||
Line 32: | Line 24: | ||
== Installtion == | == Installtion == | ||
<ol> | <ol> | ||
− | <li>Download source and rename to Volatile.php.</li> | + | <li>Download the source code and rename it to Volatile.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/Volatile.php" ); | <pre>require_once( "$IP/extensions/Volatile.php" ); | ||
$wgExtraNamespaces = array( ... | $wgExtraNamespaces = array( ... | ||
Line 40: | Line 32: | ||
... | ... | ||
); | ); | ||
− | </pre> | + | </pre> |
+ | Use 100 or larger numbers for xxx. </li> | ||
</ol> | </ol> | ||
== Function == | == Function == | ||
− | # [[ | + | # [[Help:Extensions#Volatile_page_.5B.5BVolatile:pagename.7Carg1.7Carg2.7C....7Clinkname.5D.5D|volatile]] |
Revision as of 17:42, 20 September 2008
Extension Information | |
Implementation | |
Description | |
Author(s) | K, Suwa |
Version | 0.1 |
MediaWiki | 1.11.1 |
License | |
Hooks used | |
Token type | |
Contents |
Volatile is achieved by Volatile link and Volatile namespace. See also Persistency.
- Volatile link
- [[Volatile:name|params|name]] specifies a page in Volatile namespace and its parameters. In the specified page, the contents are expanded with the parameters (without cash).
- Volatile namespace
- The notation of page contents is the same as Template namespace. Use {{{1}}}, {{{2}}} ... for parameters.
Requirements
Download
version | source | size |
0.1(September 11,2008) | Volatile.phps |
Installtion
- Download the source code and rename it to Volatile.php.
- Place it in the extensions/ directory.
- Insert the follow lines to LocalSettings.php
require_once( "$IP/extensions/Volatile.php" ); $wgExtraNamespaces = array( ... xxx => "Volatile", xxx+1 => "Volatile_Talk", ... );
Use 100 or larger numbers for xxx.