ZWiki and qPloneCaptchas --Riccardo Murri, Mon, 15 Jan 2007 05:41:27 -0800 reply

Hello, I have just installed qPloneCapcthas ( http://plone.org/products/plone-captchas ) and it works right out of the box with standard Plone comment forms. The captcha box does not show up on ZWiki comments, however. Is there any way to integrate ZWiki with qPloneCaptchas?

Can comments be set up on a separate page? --johnmr, Tue, 30 Jan 2007 09:25:14 -0800 reply

can ZWIKI be set up to put comments on a separate page, kind of the way Wikipedia handles them, as separate tabs? Or separated in some other way? Any help appreciated.

Can comments be set up on a separate page? --johnmr, Tue, 30 Jan 2007 09:26:19 -0800 reply

can ZWIKI be set up to put comments on a separate page, kind of the way Wikipedia handles them, as separate tabs? Or separated in some other way? I am using ZWIKI on a Plone site and am wondering what might be accomplished. Any help appreciated.

Can comments be set up on a separate page? --DeanG, Tue, 30 Jan 2007 10:03:03 -0800 reply

Can it be setup? It's not a default option.

Can you build it? Yes, it's not unreasonable. I played with this by making the 'add a comment' button post not to "SandBox", but to "SandBox*Discussion*" (or 'Talk' if you want the wikipedia term). (Then I got featuritus and wanted ot to go to "SandBoxDiscussion0701?"..) This can be tricky as you may need to create the page (will 'addComment' or 'append' do this?) if it's the first page. Redirecting the user back to the non-discussion page may also be an issue. Subscription may also tricky as subscripting to 'Sandbox' won't get the mailouts from 'SandboxDiscussion?'. Please submit a how-to or patch, this isn't the first time folks have asked about this. For other refernces to this kind of thing look at hte ZwikiBlogging? and IssueTracker related functionality which craete and modify pages based on a form. Not sure if there will be issues between Plone's adn Zwiki co-related comment system.

Let us know how it goes! :D

Can comments be set up on a separate page? --EmmaLaurijssens, Tue, 30 Jan 2007 23:10:25 -0800 reply

IMHO there are different approaches to this:

  • Use a separator character in the url, e.g. Sandbox_Discussion. Every page with such a separator automatically includes a link at the top of the page to the parent page. This approach makes it difficult for the parent page to locate its subpages.
  • Make wiki pages folderish, so they can contain other pages. This makes it easier for a parent to find its children and may even provide a MediaWiki?-ish tabbed interface. It's quite a change from the current Zwiki implementation though.
  • We could also add a subpage propery to the main page, which contains the names of all subpages. Each subpage then gets a superpage or main_page property. I think these should be mutually exclusive, to reduce complexity, and subpages should be exempt from the normal page hierarchy mechanism. This approach also allows for showing the subpages in the interface.

Just my €0.02 :)

More install help needed for Zwiki+Latex --dr2chase, Sun, 11 Feb 2007 11:57:33 -0800 reply

I'm working with a recent install of Plone and Zwiki on a MacOS? box that also has TeX? installed. The option to create a page using Latex or Latex plus math mode is offered, but when I save, it does not work. I get:

[Errno 2]? No such file or directory: '/Applications/Plone-2.5.2/Instance/var/LatexWiki/1104033795-18px.tex'

What instructions should I have followed to make this actually work? (And assume I am not a dummy, but I am new to Plone/Zwiki/etc.)

Latex --nd51, Tue, 13 Feb 2007 06:16:34 -0800 reply

dr2chase - Latex is mildly fiddly to get working. Scroll up on this General Discussion page and you'll see discussions I had which enabled me to get it working. You need the LocalFS product, but it you had RTFMed? you'd know that. ;-) If any consolation, I didn't know which FM to R either in the beginning. You also need the correct fonts, ghostscipt etc. Again, scroll up on GeneralDiscussion page, or , google for "LatexWiki" (though bear in mind some of those docs are old), or read the link posted by betabug in response to the ticket you opened.

outage, restored from backup --simon, Thu, 15 Feb 2007 20:53:33 +0000 reply

The server was down for a day due apparently to db corruption. It has been restored from a 2007/02/14 04:13 MST backup; any changes since then will need to be redone. Sorry for the disruption.

Anybody for a bugday on Friday 2007-02-23 ? --betabug, Thu, 22 Feb 2007 09:42:12 +0000 reply

I've got some time at work that I'm OK to investigate into Zwiki (yay my boss!)... so, anybody in for a quick Zwiki bugday this Friday? Now that the IssueTracker is cleaned up a bit I believe it would be worth it.

I'm here at GMT+2 (Greece) and would be starting around 10:00 in the morning (08:00 GMT) and be at it till around 18:30 (16:30) GMT. Likely going out in the evening, so no all-nighter for me :-)

More bugs fixed would mean another bit closer to a new release, so people won't have to go through darcs to get all the bug fixes sweetness on their Zwikis.

Anybody for a bugday on Friday 2007-02-23 ? --Simon Michael, Thu, 22 Feb 2007 18:39:43 +0000 reply

Yes! Bug Day friday 23 on #zwiki it is. I will be at work but will keep a chat window open from 1600 GMT or so.

betabug/Sascha recently became the second direct Zwiki committer and has been on fire since, as you can see at http://joyful.com/darcsweb/darcsweb.cgi?r=ZWiki . Frank Laurijssens, Sascha and others have repaired all remaining issue page junk renames, so our issue tracker should be fully clean and current right now. Excellent work!

Join in the fun! We could use a bunch more committers. It's really easy to do - anyone can send a patch, signed or not, see http://zwiki.org/DarcsRepos and/or ask #zwiki for support - and really satisfying to see your patches show up in the change log and to know that your work will be in the next release.

Active wiki gardeners, testers, bug triagers are also extremely useful. As we fix broken windows, the project becomes leaner, faster, fitter, and more attractive!

I'll do a release on march 1st, one week from now. Best,

-Simon

Anybody for a bugday on Friday 2007-02-23 ? --EmmaLaurijssens, Fri, 23 Feb 2007 09:07:26 +0000 reply

:(

I can't connect to IRC from here.

About bug day --nd51@leicester.ac.uk, Fri, 23 Feb 2007 10:42:32 +0000 reply

This is brill you guys are doing a bug day. Regret too snowed under w other stuff to code today, but, 1 comment: I tried out ZWiki 0.58 with Plone 3.0.alpha2 / Zope 2.10.2 the other day. It unsurprisingly puked on startup with the CMFCorePermissions? bug that most 3rd-party products broke on. When I did a 'darcs pull' (my first experience of darcs so still learning ;-) ), this later code appeared to get further before puking elsewhere. I didn't file an issue, as not v helpful to file issue against just some old repository number. So something to think about is, when do people want to start looking at Plone 3.0 compatibility? If a 0.59 comes out soon as stated by Simon, I'd be happy to test that against Plone 3.0.alpha2 and file any issues against that. I assume ZWiki won't bother to be fully 3.0 compatible before there's a 3.0.0, but doesn't hurt to get ahead. Then again, maybe the problems are with Zope 2.10.2. I didn't actually try just with Zope and not Plone. (Some problems are caused by later CMF and not actually Plone)

Anybody for a bugday on Friday 2007-02-23 ? --betabug, Fri, 23 Feb 2007 11:01:59 +0000 reply

Frank, can you get a (free) shell account on freeshell.org? They have ircII at least IIRC... might not be the most convenient, but it works.

BugDay so far a success --betabug, Fri, 23 Feb 2007 17:28:21 +0000 reply

I'm done with my part of the BugDay and Frank went home too. We have so far closed 13 issues and opened 1 new one. A lot of "oldies" have been closed after failing to reproduce them, but we also got patches for some issues into darcs.

I started the day with something a little bigger (#1299 getting Zwiki-in-Plone to do mailout again) and rounded it out with smaller stuff. Quite often all I had to do was to implement and test existing patches or the patches Frank gave me and put them into darcs.

Now I'm really tired but happy! Good bughunting to Simon and whoever lends a hand!

About bug day --Simon Michael, Fri, 23 Feb 2007 18:46:26 +0000 reply

Thanks for testing. To answer your q, I'd like to be compatible with latest plone 3 alpha right now, ideally in the march 1 release.

BugDay so far a success --Simon Michael, Fri, 23 Feb 2007 19:10:15 +0000 reply

Congratulations, and thanks for the good work! It's cool to see all the issues being wrestled into shape.

There seemed to be a lot of "can't reproduce", my suspicion is some of these may still occur in certain rare scenarios but to some extent I think we must concentrate our efforts on known configurations and not stress about every single combination of platform/zope version/plone version/zwiki version/catalog index/etc. , make things simpler and more robust whenever we can, and rely on bug reporters to provide detailed help and/or patches for corner cases.

I've made a few replies, if possible I'll tackle a few issues later. Anyone in western timezones (or up late), please continue to post on the issue pages and #zwiki when you need help, I'll check and respond when I can.

server outage --simon, Sat, 24 Feb 2007 18:14:37 +0000 reply

The joyful.com/zwiki.org/wiki.zope.org server was down for 19 hours due to some insane apache/zope/qmail/curl deadlock. Service has been restored.

FrontPage update --simon, Sun, 25 Feb 2007 00:16:37 +0000 reply

I tweaked the blurb a little. Frank, please notice the photo of your son is more prominent than before, at least for now - if you'd prefer not, please let me know or remove it.

About the "can't reproduce" --betabug, Sun, 25 Feb 2007 07:27:15 +0000 reply

I agree that a lot of them might be corner cases. I believe there are two main reasons for these "can't reproduce":

HelpPage says default is STX --betabug, Mon, 26 Feb 2007 08:08:54 +0000 reply

On the HelpPage we have "The default is ZWiki:StructuredText which works like this", which is outdated, as I believe ReST is the defalut now. Is there a special reason for this or should we change it? ReST is the default for new Zwiki installs too IIRC. Should the auto-installed HelpPage be changed too? (I'm not making a "whislist" issue right away, because maybe there are reasons for things to be like this.)

HelpPage says default is STX --EmmaLaurijssens, Mon, 26 Feb 2007 08:13:30 +0000 reply

Correct, the help text should mention RST as default.

FrontPage update --EmmaLaurijssens, Mon, 26 Feb 2007 08:19:46 +0000 reply

No problem. It's been a while since the photo was taken so nobody recognizes him when we go shopping ;) But he's still our youngest contributor, isn't he?

Well, actually I've never submitted any of his contributions, they're so unconventional we'd need a new code branch :)

Wiki hierarchy became flat after moving it to Plone --JózsefJároli, Mon, 26 Feb 2007 10:50:56 +0000 reply

I have recently moved my page under Plone. For the first time I managed to do it so that all the hierarchy was reserved, but now when I wanted to do it for the second time, somehow the contents page showed only singletons and subtopics were not shown on wikipages either. I have checked that the "parents" properties are not empty, and also used the /setupCatalog method after importing. Any ideas how could I recover the original hierarchy? (Plone 2.5 - Zwiki 0.56)

HelpPage says default is STX --Simon Michael, Mon, 26 Feb 2007 16:22:39 +0000 reply

Yes please, both should be updated. Let me remember, which is the master copy.. it is the one in darcs, sometimes I'll try things out on the live wiki page first to see how it reads. Also the zwiki.org HelpPage may have a few extra things at the bottom, but otherwise it should replicate the darcs HelpPage pretty exactly.

Wiki hierarchy became flat after moving it to Plone --Simon Michael, Mon, 26 Feb 2007 20:03:23 +0000 reply

József, visit .../FrontPage/updatecontents . Does that help ?

About the "can't reproduce" --Simon Michael, Mon, 26 Feb 2007 20:04:09 +0000 reply

> - It looks to me like a lot of issues are just outdated in the sense > that the reason for the problem must have been fixed with some Zwiki > release along the way (or in the case of some Plone related problems > with some Plone release). I don't think we want to fix problems in > older releases of Zwiki

Hell no..

> it should be "upgrade to get the fix" for those. For Plone it might > be interesting to fix things for older Plone releases, as Plone sites > do not tend to be upgraded every few months. But that would mean a > lot of test setup and work, so I don't think it's feasible.

Agreed, when zope and plone was smaller I tried to work out of the box on all setups, but now we must be more focussed. Probably there should be an official list of zope/plone versions we test against, those we welcome patches for, and those we definitely don't support. (cf http://wiki.zope.org/zope2/VersionsMatrix).

Re: Wiki hierarchy became flat after moving it to Plone --JózsefJároli, Mon, 26 Feb 2007 22:10:59 +0000 reply

Thank you Simon, you made my day! :) It worked, so I have updated the HowToMoveAWikiIntoPlone page accordingly. Thanks again! József

How to store zwiki pages in MYSQL --Win Myint Aung, Tue, 27 Feb 2007 08:08:09 +0000 reply

I am looking for the python script that can store zwiki pages in MYSQL.

FrontPage update --simon, Tue, 27 Feb 2007 18:46:57 +0000 reply

> But he's still our youngest contributor, isn't he?

Yes he is. Though he hasn't signed CONTRIBUTORS, and I trust your judgment that he won't mind in later years :), he has contributed his beautiful energy and likeness to energize our site. Many thanks!

zwiki.org caching/optimization updates --betabug, Wed, 28 Feb 2007 12:38:23 +0000 reply

zwiki.org is using the current code in CodeRepos. Using this we have set up "Conditional HTTP GET" on zwiki.org. The result is that viewing pages you have visited before will be much faster (as long as they are still in your browser cache). There are some of the dynamic pages excempt from this, for some details see HowToEnableConditionalHTTPGET304. Look for the "All dtml" setup, which is what is set up now on zwiki.org.

Our hope is that this setup will lower the web server load too, especially from googlebot.

For your own performance comfort and zwiki.org server load it would be very nice if you could change your RSS feed subscriptions to http://zwiki.org/RSS/pages_rss and/or http://zwiki.org/RSS/changes_rss instead of calling them via FrontPage. This reduces transfered bytes and workload on zope, while still getting your RSS updates as speedy as ever.

Also we have set up an "Accelerated HTTP Cache Manager" to set caching headers on the FrontPage. If your web browser is clever - or if you are behind some web cache - reloads of the FrontPage will be faster. It might mean that you won't see changes to the FrontPage for about one hour sometimes.

Feedback: Please inform us of any problems or observations you might have, we're always happy to improve things!

zwiki.org caching/optimization updates --simon, Wed, 28 Feb 2007 12:46:41 +0000 reply

I think these optimizations will be very useful for all zwikis. Thank you betabug!

zwiki.org caching/optimization updates --betabug, Wed, 28 Feb 2007 21:56:39 +0000 reply

"Conditional HTTP GET" is now enabled on wiki.zope.org/zope2 and wiki.zope.org/zope3 too! Simon made some changes to the ZEO and Zope cache setup too. Right now the wiki.zope.org sites feel very snappy, great!