Help:Extension/Persistency
From Metabolomics.JP
Extension Information | |
Implementation | |
Description | |
Author(s) | K, Suwa |
Version | 0.1 |
MediaWiki | 1.11.1 |
License | |
Hooks used | |
Token type | |
Contents |
Persistency is realized by Persist link and Persist namespace. This function is allowed only for users logged in. See also Volatile.
- Persist link
- [[Persist:~]] specifies a page title in Persist namespace, a template, and its parameters. In the specified page, the template is expanded with the parameters and its wiki code is saved as the page contents (without cash).
- Persist namespace
- There is no need to create pages. When a specified page title exists, the contents are overwritten.
Requirements
Download
version | source | size |
0.1(September 11,2008) | Persistency.phps |
Installtion
- Download source and rename to Persistency.php.
- Put in extensions/ directory.
- Insert follow line to LocalSettings.php
require_once( "$IP/extensions/Persistency.php" ); $egPhpBin = "path to php binary"; $wgExtraNamespaces = array( ... xxx => "Persist", xxx+1 => "Persist_Talk", ... );
$egPhpBin is required to generate pages.
Use 100 or larger numbers for xxx.