You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Upayavira <uv...@upaya.co.uk> on 2004/03/06 23:40:04 UTC
First pass at Apache Wiki conversion
I've been working on converting the JSPWiki Cocoon wiki to MoinMoin
wiki. This will enable Cocoon to make use of Apache's Wiki farm.
I've now got an initial conversion in place at:
http://wiki.apache.org/cocoon/
I've converted all pages (except some specifically chosen rubbish
pages). I haven't yet done anything with attachments. We need to decide
whether we want to enable them on the new Wiki.
I haven't done that much in terms of converting the syntax. I've been
more concerned about getting the edit log and history all hanging
together. There's more I've still got to do.
For those that know Perl regular expressions, here's what I do:
s#^\*# \*#g; # Bullet lists
s#\{{2}#\{\{\{#gm; # Inline code snippets
s#\}{2}#\}\}\}#gm; # Inline code snippets
s#^\s*\!\!\!(.*)$#= $1 =#gm; # Largest Heading
s#^\s*\!\!(.*)$#== $1 ==#gm; # Middle Heading
s#^\s*\!(.*)$#=== $1 ===#gm; # Smallest Heading
s#\[([^\]]+)\|([^\]]+)\]#[$2 $1]#gm; # URIs with labels
s/^#/ 1./g; # Numbered lists
# Not yet done:
# ''Italics''
# '''bold'''
# __underline__
# ^superscript^
# ,,subscript,,
# Note:{{{ and }}} can be `backticked`
We need to get the Moin version working well, then we can work out a
migration process.
Please let me know your comments, publically or privately, so that we
can get this site working really well.
Regards, Upayavira
Re: First pass at Apache Wiki conversion
Posted by Vadim Gritsenko <va...@reverycodes.com>.
Upayavira wrote:
> Please let me know your comments, publically or privately, so that we
> can get this site working really well.
Noticed broken lists:
http://wiki.apache.org/cocoon/AbbreviationsInMails
Vadim
Re: First pass at Apache Wiki conversion
Posted by Steven Noels <st...@outerthought.org>.
Also, http://wiki.apache.org/cocoon/Main shows nested list handling
isn't quite perfect yet.
JSPWiki:
* foo
** bar
becomes:
* foo
* * bar
should be:
* foo
* bar
</Steven>
--
Steven Noels http://outerthought.org/
Outerthought - Open Source Java & XML An Orixo Member
Read my weblog at http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org stevenn at apache.org
Re: First pass at Apache Wiki conversion
Posted by Upayavira <uv...@upaya.co.uk>.
Joerg Heinicke wrote:
> http://wiki.apache.org/cocoon/FAQs:
>
> The list at the beginning is broken. The numbering of the sections is
> also strange in the file: "1. 1. Meta-FAQ" instead of "1. Meta-FAQ".
Fixed. I strip 1. from a title if I find it, as Moin adds it back.
Steven Noels wrote:
> http://wiki.apache.org/cocoon/GeneralizedFlow looks funny
Yup. Don't know why that's going wrong.
> the first code block in http://wiki.apache.org/cocoon/ApacheModProxy
> has some extra . and " before and after
Some pages will need to be fixed manually. Moin uses {{{code}}} to show
code, and shows it inline if there's no linebreaks, and as a block with
line breaks. That para has a line break, which causes it to display as a
block, not inline. Only way to fix is to edit the page manually (done!)
> http://wiki.apache.org/cocoon/APeople vs.
> http://wiki.cocoondev.org/Wiki.jsp?page=APeople ?
A test page - I was only generating pages beginning with A. So I moved
this one up a bit! It'll vanish when we use the latest data.
> http://wiki.apache.org/cocoon/ReinhardHorn has lots of extra } (at the
> end of a codeblock)
phew. Gocha.
> http://wiki.apache.org/cocoon/XMLFormXindice has { at the start of a
> codeblock.
Same as before. Fixed.
Now on to attachments, which look pretty straightforward...
(temporarily no history on wiki.apache.org/cocoon - it speeds up my
roundtrips).
Regards, Upayavira
Re: First pass at Apache Wiki conversion
Posted by Joerg Heinicke <jo...@gmx.de>.
On 10.03.2004 13:01, Upayavira wrote:
> Anyway, please check the site at wiki.apache.org/cocoon and report back
> anything you find.
http://wiki.apache.org/cocoon/FAQs:
The list at the beginning is broken. The numbering of the sections is
also strange in the file: "1. 1. Meta-FAQ" instead of "1. Meta-FAQ".
Joerg
Re: First pass at Apache Wiki conversion
Posted by Steven Noels <st...@outerthought.org>.
On 10 Mar 2004, at 13:01, Upayavira wrote:
> Anyway, please check the site at wiki.apache.org/cocoon and report
> back anything you find.
http://wiki.apache.org/cocoon/GeneralizedFlow looks funny
the first code block in http://wiki.apache.org/cocoon/ApacheModProxy
has some extra . and " before and after
http://wiki.apache.org/cocoon/APeople vs.
http://wiki.cocoondev.org/Wiki.jsp?page=APeople ?
http://wiki.apache.org/cocoon/ReinhardHorn has lots of extra } (at the
end of a codeblock)
http://wiki.apache.org/cocoon/XMLFormXindice has { at the start of a
codeblock.
</Steven>
--
Steven Noels http://outerthought.org/
Outerthought - Open Source Java & XML An Orixo Member
Read my weblog at http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org stevenn at apache.org
Re: First pass at Apache Wiki conversion
Posted by Upayavira <uv...@upaya.co.uk>.
I've now got most if not all links working. It was kinda tough, as Moin
is more strict about what it considers a link. And embedding CamelCase
into a page automatically makes a link, which is complitated to handle.
I know there's more loose ends, including the Woody stuff.
Anyway, please check the site at wiki.apache.org/cocoon and report back
anything you find.
Regards, Upayavira
Re: First pass at Apache Wiki conversion
Posted by Upayavira <uv...@upaya.co.uk>.
Upayavira wrote:
> Antonio Gallardo wrote:
>
>> Upayavira dijo:
>>
>>
>>> I've been working on converting the JSPWiki Cocoon wiki to MoinMoin
>>> wiki. This will enable Cocoon to make use of Apache's Wiki farm.
>>>
>>
>>
>> Thanks fro your effort.
>>
>> I already noted many pages are Orphaned:
>>
>> http://wiki.apache.org/cocoon/OrphanedPages
>>
>>
> Okay. That'll be because of some [] links that I haven't reformatted
> correctly, I suspect. I'll look into it.
Just fixed the RecentChanges problem I was having; It now works. So,
apart from problems with the format conversion, the whole thing should
hold together.
Regards, Upayavira
Re: First pass at Apache Wiki conversion
Posted by Upayavira <uv...@upaya.co.uk>.
Antonio Gallardo wrote:
>Upayavira dijo:
>
>
>>I've been working on converting the JSPWiki Cocoon wiki to MoinMoin
>>wiki. This will enable Cocoon to make use of Apache's Wiki farm.
>>
>>
>
>Thanks fro your effort.
>
>I already noted many pages are Orphaned:
>
>http://wiki.apache.org/cocoon/OrphanedPages
>
>
Okay. That'll be because of some [] links that I haven't reformatted
correctly, I suspect. I'll look into it.
Thanks, Upayavira
Re: First pass at Apache Wiki conversion
Posted by Antonio Gallardo <ag...@agssa.net>.
Upayavira dijo:
> I've been working on converting the JSPWiki Cocoon wiki to MoinMoin
> wiki. This will enable Cocoon to make use of Apache's Wiki farm.
Thanks fro your effort.
I already noted many pages are Orphaned:
http://wiki.apache.org/cocoon/OrphanedPages
Best Regards,
Antonio Gallardo
Re: First pass at Apache Wiki conversion
Posted by Steven Noels <st...@outerthought.org>.
On 06 Mar 2004, at 23:40, Upayavira wrote:
> Please let me know your comments, publically or privately, so that we
> can get this site working really well.
Spaces in between [] (JSPWiki) should be collapsed, I think: [Steven
Noels] -> StevenNoels
We should also cater for [SN|Steven Noels] -> StevenNoels
\\ should be replaced by [[BR]]
Will hunt for some more.
</Steven>
--
Steven Noels http://outerthought.org/
Outerthought - Open Source Java & XML An Orixo Member
Read my weblog at http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org stevenn at apache.org