forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabio Rinaldi" <rina...@ifi.unizh.ch>
Subject [JIRA] Commented: (FOR-283) Minimal MoinMoin
Date Fri, 10 Sep 2004 12:56:39 GMT

issues@cocoondev.org writes:
 > The following comment has been added to this issue:
 > 
 >      Author: David Crossley
 >     Created: Fri, 10 Sep 2004 3:01 AM
 >        Body:
 > Thanks, that first set of patches is applied. The explicit filename extension is matched
for *.moinwiki
 > 
 > We would need a demonstration document in the 'forrest seed' site.

You could possibly use the following, which was my "reference" for development:

http://moinmoin.wikiwikiweb.de/MoinMoin_2fTextFormatting?action=raw

But users should be warned that many features are not yet supported.

 > I "tested" it on the wiki.apache.org/cocooon/ page. These additional issues ...
 > 
 > * #pragma
 > 
 > * empty line as first line
 > 
 > * link syntax: [wiki:ApacheGeneral/ Apache Wiki]
 > 
 > * if paragraphs are first (i.e. no section heading to start) then subsequent paragraphs
are rolled into one.

Actually, the second and fourth problems that you report (empty lines
and initial paragraphs) are a problem also for the JSPwiki
format. They are easy to solve (a little patch is attached), however I
am not completely convinced  that they should be considered
"problems". I mean, a well-formed document should not have empty
spaces or initial paragraphs before the beginning of any
section. Anyway, this is just my opinion.

When I have some time, I will produce a modified version of the
moinmoinwiki parser, which fixes these two problems (and possibly a
few more).

Besides, the documentation for the default JSPWiki needs a couple of  warnings.

1. the "definition" syntax (;term:ex) is not supported 

2. the syntax "[[link]" to have "link" rendered as text rather than as
a link is not treated correctly. It is rendered as "[[link]" rather
than "[link]".

These are minor problems, which were also present in the original version
of the wiki parser, and I have not had time to fix yet.

Best,
Fabio

--- wiki.grm~	Thu Sep  9 20:08:48 2004
+++ wiki.grm	Fri Sep 10 14:29:56 2004
@@ -66,6 +66,21 @@
   | subsections
   | subsubsections
   | paragraphs
+  | paragraphs sections
+  | paragraphs subsections
+  | paragraphs subsubsections
+  | abreak sections
+  | abreak subsections
+  | abreak subsubsections
+  | abreak paragraphs
+  | abreak paragraphs sections
+  | abreak paragraphs subsections
+  | abreak paragraphs subsubsections
+  ;
+
+abreak
+  : softbreak
+  | hardbreak
   ;
 
 sections


Mime
View raw message