[Moin-devel] Re: 1. virtual pages (Alexander Bernauer)

Alexander Bernauer moin at copton.net
Sun Nov 7 04:31:32 EST 2004


Hi 

On Sun, Nov 07, 2004 at 01:01:33PM +0200, Nir Soffer wrote:
> example:
> 	[[GetPatent]]
> 
> the macro will use the page name to get the patent data from the 
> database

If I get your right, this would leed into having thousands of wiki pages
for patents, which all have the same content, i.e. the macro calls.

But this is what I wanted to avoid.
 
I thought of having the necessary wiki markup once parameterized with
the page name when called.

> 2. Page template for wiki bug page. You can use the blog style hack, 
> having the macro on an acl read only page, and the comments on a sub 
> page:
> example:
> 
> 	#acl All:read
> 
> 	[[GetPatent]]
> 
> 	[[Include(/Comments)]]
> 
> 	[http://.../Comments?action=edit - add a comment about this patent]

After editing the comments page it would be practical if the user would
be redirected to the patent page again.
Do you see a practical way to do this?


cu

-- 
Alexander Bernauer




More information about the Moin-devel mailing list