Table of contents ▼▲
July
New API command ExpandNameSpace($page) has been added. This expands the supplied page name using the namespace rules to give the proper page location. For example, assuming we are currently looking at page g1/g2/g3/page1, the following would be returned| API call | Return Value |
|---|---|
API::ExpandNameSpace("<<start"
| g1/start |
API::ExpandNameSpace(":start"
| start |
API::ExpandNameSpace("<<g4/start"
| g1/g4/start |
lastupd.php plugin added. Shows last update time of a page. For example the last time this page was updated was 18th Jul 2005 at 19:20:25 by ( 62.56.55.221 ) .
I have split out the default rules setup from variables.php into stdRules.php.
allowhtml.php plugin amended to be very generic. Prior to this it was hardcoded purely for <div>. It now allows <span> also. An example, using the {{lastupd}} command is.. Page Last Updated:18th Jul 2005 at 19:20:25 by ( 62.56.55.221 )
Note: To be able to use <div> or <span> in general documents, they need to be escaped using the syntax
Page caching has been added to get unchanged pages out to the browser quicker. Details of when a page is cached, etc can be found in the plugin docs.
Internal activity logging is another addition. Each RuleGroup.Rulename used during page processing is stored as an array key entry in $ActivityLog. For example
$ActivityLog['command.searchbar']=true;
API::Is_PlugIn(<plugin>
will return true if the <plugin> has been included