From: Reini U. <ru...@x-...> - 2004-09-14 10:26:41
|
I had to change the new <?plugin-list ?> syntax from arg=<?plugin-list PluginName ?> to arg=<!plugin-list PluginName !> because our Parser is not recursive. It's just a iterated sequence of pcre regex matches, which will not find the recursive <?... ?> block. This worked fine for simple examples, but not with multiple invocations and multiline plugin definitions. <!plugin-list PluginName !> is a new feature which might be used for arguments which will expect pagelists, such as pages and exclude. Such pagelists may be comma-seperated strings and now also <!plugin-list PluginName !>, where the invoced plugin will return a pagelist array of pagenames. Most plugins which accept such pages and exclude arguments, have been enhanced to accept besides comma-seperated strings also an array of pagenames: ListPages, IncludePages the WikiAdmin... plugins for the p[] argument not yet. See http://phpwiki.sourceforge.net/phpwiki/PluginList -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |