On 7 Nov, 2004, at 6:46, moin-devel-request@... wrote:
> The site will consist of mainly two parts:
> 1) Patent information stored in a SQL database
> 2) User annotations stored as ordinary wiki pages.
I would not use the proposed virtual pages concept. This would be the
most expansive way to to this.
I would try:
1. A macro that query the database for detail, and fill them in an html
template. Don't use wiki markup here, its expensive to parse and
format. You can change the template and have all the wiki updated.
the macro will use the page name to get the patent data from the
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
[http://.../Comments?action=edit - add a comment about this patent]
The included "/Comments" sub page will have #acl All:read,write.
This edit hack can be better, but this is what you can do with current
syntax. One can build a better macro to to this, like
From: Alexander Bernauer <moin@co...> - 2004-11-07 12:08:12
On Sun, Nov 07, 2004 at 01:01:33PM +0200, Nir Soffer wrote:
> the macro will use the page name to get the patent data from the
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
> #acl All:read
> [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?