Archived GeneralDiscussion.


comments:

Zwiki 0.31 released, news --Simon Michael, Tue, 01 Jun 2004 13:33:48 -0700 reply
Hi all,

summer is coming; the "june edition" is ready for download at http://zwiki.org .

Summary: Much i18n progress including a number of new translations; tracker cleanups and usability improvements; permissions fixes; tests, code cleanups, bugfixes. ( http://zwiki.org/ReleaseNotes )

This was the month where internationalisation finally took hold, assisted greatly by the work of Nicolas aka Foenyx. We have PTS-based i18n support working for python code, page templates, dtml templates and dtml pages, in and out of CMF/Plone. Localizer support code has not been removed at this point, it could be made to work as an alternative but on the whole I prefer PTS's po-file approach.

Thanks to Nicolas and the other translators who have stepped forward this month, including Lele Gaifax, T.C.Chou, Jean Rodrigo Ferri and Raphael Badin. 0.31 is the first release where translators have something solid to work with, so if you want to help with other languages it's a great time to get in contact on #zwiki and at http://zwiki.org/OldI18nDiscussion . Current translation status is at http://zwiki.org/Chapter26Internationalisation .

zwiki.org discussion has been relatively light this month. There are awkward technical/usability aspects to the current setup and I'm thinking about ways to simplify and concentrate discussion a bit. Ideas welcome at http://zwiki.org/GeneralDiscussion . Spam comments passed the annoyance threshold this month and an preventive feature has been added (banned_links).

Thanks to the usual zwiki.org crew for bug reports, suggestions and tips. And finally, thanks to George Donnelly and Zettai.net for fueling the engines with a donation. If you want to add your financial muscle to the project, see http://zwiki.org/ZwikiFunding or get in touch by mail or irc.

Be well, -Simon

How to enable JavaScript? -- Tue, 01 Jun 2004 22:31:54 -0700 reply
Hi, I am aware of the security issues but I am running a very small wiki just for my students. I was wondering if it is possible to turn off the disabling of JavaScript, at least for some of the wiki pages. Or maybe it is something that I need to do in Zope itself, and not so much in Zwiki? I am new to Zwiki and relatively new to Zope, so please keep that in mind. Thanks a bunch!

How to enable JavaScript? --DeanG, Wed, 02 Jun 2004 06:54:20 -0700 reply
Hopefully it's a customizable product install. There's a constant in Defaults.py called DISABLE_JAVASCRIPT which will do it for you.

Note: StructuredText tends to trounce on Javascript characters such as a single quote, etc. I found I needed to put the functions in the header.

How to enable JavaScript? --DeanG, Wed, 02 Jun 2004 07:00:14 -0700 reply
Sorry, that was cryptic. Modify the zwiki zope product folder file defaults.py by changing the DISABLE_JAVASCRIPT=1 value to 0, and refresh the Zwiki product or restart the Zope server.

Re: ZWiki for ZopeX?3a2 install instructions --Simon Michael, Wed, 02 Jun 2004 08:42:17 -0700 reply
Edoardo ''Dado'' Marcora wrote:

Does anybody know how to install ZWiki for ZopeX?3a2?

Thanx!

Pages starting with a number --Jaap Noordzij, Wed, 02 Jun 2004 08:42:34 -0700 reply
I notice that, after installing 0.31, all pages starting with a number (like 2004JuneSomething) appear in the issuetracker. How can I prevent this ? (Default Skin, I have not checked with Plone skin)

Pages starting with a number --Simon Michael, Wed, 02 Jun 2004 08:49:17 -0700 reply
Jaap Noordzij wrote:

I notice that, after installing 0.31, all pages starting with a number (like 2004JuneSomething) appear in the issuetracker. How can I prevent this ? (Default Skin, I have not checked with Plone skin)

Ooh, really ? I thought that was commented out.

Comment out line 57 in Tracker.py:issueNumberAndName() like so:

             ) # or re.match(r'(?s)^#?([0-9]+)(.*)',pagename))  # NNNN... or #NNNN...

I was considering a policy that pages beginning with numbers are issue pages.

Re: ZWiki for ZopeX?3a2 install instructions --simon, Wed, 02 Jun 2004 09:01:09 -0700 reply
Edoardo - as far as I remember the best instructions are included with the product itself. When you install zope 3 there should be a doc somewhere that explains how to pull all the zope 3 products from the zope 3 CVS (or now SVN, I think) repository. You may know this already, but zwiki for zope 3 is a prototype - not equivalent to zwiki on zope 2.

inkscape --simon, Wed, 02 Jun 2004 11:58:04 -0700 reply
http://inkscape.sourceforge.net/cgi-bin/wiki.pl?Inkscape - very nice wiki skin, as well as an interesting tool.. found by way of this article linked at slashdot.

Struggling with UTF-8 --Jaap Noordzij, Wed, 02 Jun 2004 13:29:52 -0700 reply
I keep struggling with character encoding in ZWiki. My system locale is nl_NL.UTF-8 (SuSE? 9.1), Zope locale in zope.conf is the same, Mozilla 1.6 set to UTF-8 default. Now when I edit a page in ZWiki standard skin I can set characters like รก OK, but when I display them they show like 2 characters without meaning. In the edit-mode they remain OK but I cannot get them to display correctly (Mozilla's Character Encoding shows Western ISO-8859-1).

This behaviour is only in the standard skin. The plone skin is OK (everything in UTF-8).

What should I do about this ?

Struggling with UTF-8 --SimonMichael, Wed, 02 Jun 2004 13:47:26 -0700 reply
When you view a page, mozilla says character encoding is 8859-1, is that right ? And if you use your browser's view source command, do you see that content type in the HEAD ?

viridian --SimonMichael, Wed, 02 Jun 2004 14:00:02 -0700 reply
Bruce Sterling: "All I ask of you, is don't do one fatal thing. Don't commit the fatal act of all eager net-based dilettantes. Don't think that just because you have a really cool idea, all those eager volunteers will materialize out of cyberspace to do your organizational work for free. Editing a list and picking out good ideas from crap is heavy, killer work. It's like sorting letters, it's disgruntled postal worker labor. I've been doing this for three years in Dead Media Project, I know what I'm talking about. It's not about youthful enthusiasm, it's all about grim middle-aged persistence. Anyone in a frenzy of enthusiasm can edit one issue of a fanzine; even Ezra Pound could manage that much. Scarcely anyone can do four issues in a row. Everyone in cyberspace has cooler ideas than WIRED magazine. Nobody else can come out on time with their facts checked and the proofs read."

In no way am I drawing a parallel to what I do here, but this viridian manifesto is cracking me up. :) Actually it's a bit of a must-read, and on a related note that big climate change movie - the day after tomorrow ? - is also well worth your time, very well done.

viridian --SimonMichael, Wed, 02 Jun 2004 14:05:11 -0700 reply
Here's a slightly more link-ful link. http://www.viridiandesign.org/About.htm

viridian --SimonMichael, Wed, 02 Jun 2004 14:08:59 -0700 reply
"The second para-economic aspect is "attention economics." This one is more problematic, because this is where the cruelest forms of exploitation take place in the Internet's noncommercial world. It is easy to cut-and- paste huge archives of found text and images, and to bomb one's hapless correspondents with them. The time and attention of recipients suffers badly, since the work of distribution can be accomplished in seconds, while parsing all that text, and finally deciding that it is useless, can take seemingly forever.

We are intensely interested in the efficient design of lists and distributed, noncommercial, electronic networking. These issues will be a major topic of discussion in the Viridian list. We also intend to try some experiments within the list itself. We hope they will lead to improved list performance.

Our first formal innovation is an attempt to steal as little of your attention as we can." --http://www.viridiandesign.org/notes/1-25/Note%2000002.txt

Amen!

Struggling with UTF-8 --Jaap Noordzij, Wed, 02 Jun 2004 21:59:23 -0700 reply
Both IE and Mozilla show the coding as 8859-1, However the content type in the source is charset=utf-8

Struggling with UTF-8 --Simon Michael, Thu, 03 Jun 2004 00:30:06 -0700 reply

Both IE and Mozilla show the coding as 8859-1, However the content type in the source is charset=utf-8

Is this zwiki 0.31, and default skins ? If not, see what happens with a new wiki.

Struggling with UTF-8 -- Thu, 03 Jun 2004 02:39:38 -0700 reply
Yes, 0.31, Yes default skin only, Yes same problem with a fresh new Wiki, added via ZMI. Strange thing is that the edit page is always in UTF-8, the wikipage (view) is in 8859-1.

Re: Project Proposal: Cooperative --Simon Michael, Thu, 03 Jun 2004 16:34:42 -0700 reply
Hi open officers, first, thanks for your work! Then a quick correction.

chris h wrote:

actually no. they are added externally to plone via zwiki and will be abandoned in the next release.

Zwiki has never been a built-in part of Plone and so can't be "abandoned". It's one of many third-party products which work well in plone (as well as in plain zope).

Some people don't like wikis or get burnt out on them. There has been some (very slight) movement away from the use of wikis on plone.org in recent times. There has been talk of adding some wiki-like features to other content types for ever. Meanwhile, zwiki and it's plone support seems to be quite useful for a lot of folk.

Just a heads up as they are a nightmare to update. Hence a new product of similar characteristics is currently being developed. check plone.org for details. From personal experience they are evil to upgrade.

In my experience zwikis tend to keep working through most upgrades. People have successfully upgraded old wikis through several years' worth of zwiki versions, from plone 1 to plone 2, and from older forks like CMFWiki and WikiForNow. You might have to do some work if you've heavily customized the Zwiki skin (most people never do this). Even then it tends to keep working. Sorry you had trouble (did you try #zwiki ?)

Best, -Simon Michael (zwiki lead)

good stuff --simon, Fri, 04 Jun 2004 02:21:26 -0700 reply
Hi J.C... are you subscribed ? This was good to hear, especially as I thought linking to non-pages was more or less disabled. O maybe I'm thinking of something different.

We've been using a Wiki internally, which is great for some things, but we have no good solution for diagrams, charts, and similar graphical files.

We use ZWiki under Plone with the LaTeX? patch. The LaTeX? patch allows for LatexWiki/LaTeX? code to be rendered and displayed inline for ZWiki pages. Further, Zwiki has opened its namespace under CMF/Plone to match any object type, not just other WikiPages? (Zope acquisition rules also apply, which is REALLY useful). This allows us to have some pages actually be other object types, like complex articles with attached sub-objects, images, etc all intermingled with the WikiPages? pretty much seamlessly.

If you draw a diagram in Visio (or similar), and want it integerated with your internal documentation, what do you do?

We create the diagram and drop it into an appropriate folder where it gets picked up but the Wiki. Maybe we attach it to a complex document type, maybe we reference it from one or more WikiPages?. As ZWiki also has (limited) support for inlining some external object types this works well enough.

Struggling with UTF-8 --Simon Michael, Fri, 04 Jun 2004 13:09:56 -0700 reply

Yes, 0.31, Yes default skin only, Yes same problem with a fresh new Wiki, added via ZMI. Strange thing is that the edit page is always in UTF-8, the wikipage (view) is in 8859-1.

We fixed this by adding AddDefaultCharset? utf-8 to httpd.conf. curl -I showed apache was setting the wrong content type.

Struggling with UTF-8 --simon, Sat, 05 Jun 2004 08:45:20 -0700 reply
PS why the editform worked, I'd love to know.

outage --simon, Sat, 05 Jun 2004 09:39:38 -0700 reply
The server was hung for seven hours (not busy, not responding) following a strange event: a plone upgrade appears in event.log (and I can't find any corresponding request in the other logs..)

yay access keys --simon, Sat, 05 Jun 2004 23:10:10 -0700 reply
WikiPedia uses zwiki-style alt-e & alt-s! Hurrah!

Re: Upgrade to ZWiki 0.31 ??? --Simon Michael, Sun, 06 Jun 2004 13:31:59 -0700 reply

Now it's clear. I had renamed the old (0.29) ZWiki (Products/ZWiki) to Products/ZWiki.6.6.4 and then installed the new ZWiki (0.31) as Products/ZWiki. Now zope has trouble with Products/ZWiki.6.6.4.

Good.. yes zope will try to install all products you leave in Products dir no matter what you call them. The duplicate was a problem

Re: Epoz and Zwiki not working Over Apache --Simon Michael, Mon, 07 Jun 2004 16:58:50 -0700 reply
Sajan Varghese wrote:

This is with regard to problem faced by us Zwiki , with Epoz , over Apache , the Epoz Editor and Text Area editing is not displayed over Apache .

But the same thing works without apache .

Can u help us in , a workoaround for this.

Sorry, I don't have enough information. You can get in touch with me on #zwiki, or post more here on GeneralDiscussion, perhaps someone will have a suggestion.

zwiki docs status --SimonMichael, Mon, 07 Jun 2004 18:17:00 -0700 reply
I've just posted about this over on ZwikiDocsProject? .

zwiki discussion setup --SimonMichael, Mon, 07 Jun 2004 18:29:03 -0700 reply
A related and fairly central issue - I would like to do something about our discussion setup. There are some awkward subscription-related issues with mail-in, and things are more confusing than they should be. Also it feels too fragmented; I don't feel the same sense of continuity and community you get with the usual single mail list/newsgroup or pair of -user and -devel lists. Also there's constant slight effort of "where do I post this". Is it just me ? What do you all think ? Let me know; there should be 30 page subscribers and 40 list subscribers receiving this, and a simple reply should be all that's needed if you want to throw in your 2c or say +1, -1 or whatever. If reply doesn't work for you I'd like to know that too.

Some random semi-serious ideas I'm contemplating:

zwiki discussion setup --Simon Michael, Mon, 07 Jun 2004 19:25:28 -0700 reply
S.D. wrote:

I'm a little newbie so you can take my opinion for what that is worth. I typically post (and read) through the GMANE web interface. I've never been quite sure when or if any of my comments appear. Where is the most highly recommended reading/posting location? [I'd rather do it through a web interface of some sort although I do peek in via Oulook every once in a while.]

Thanks!

Scott

Thanks Scott. It's supposed to work equally well whether you post via web comment form, email or gmane, going to GeneralDiscussion unless you put some other page name in brackets in the subject.

Your reply is a case in point: posting via gmane seems to work and goes out to whole-wiki/list subscribers, but does not appear on the wiki page and or go out to page subscribers. I believe this is because you are not subscribed anywhere; your posts would work properly if you subscribed eg to FrontPage. We reject posts from non-subscribers, a necessary step to keep out mail spam. I'm not sure if you received any bounce in this case.

zwiki discussion setup --Simon Michael, Mon, 07 Jun 2004 19:27:30 -0700 reply
I would like to keep gmane running without disruption if possible. I think we can do that without the list if necessary.

Re: Polish translation for ZWiki --Simon Michael, Mon, 07 Jun 2004 22:30:15 -0700 reply
Marek Ciesielski wrote:

Hi, Attachment include polish translation for ZWiki. I hope this work be of some use :)

greetings,

Pushed. Thank you Marek! Welcome Poland!

You may want to subscribe to OldI18nDiscussion now, for announcements etc.

wiki contenst -- Tue, 08 Jun 2004 11:38:35 -0700 reply
Hi I have a problem with zwiki When I would like see wiki contents Front page Help page wikiwikiweb

The error said 404 not found

Not existing the front page help page and wikiwikiweb

Anyone can help me.. Regards Gus

wiki contents --DeanG, Tue, 08 Jun 2004 12:50:28 -0700 reply
the /contents page needs to be appended to an existing page, thus http://zwiki.org/contents won't work, but http://zwiki.org/FrontPage/contents will.

What's the URL listed in the contents link in your header?

wiki contents -- Tue, 08 Jun 2004 13:29:09 -0700 reply
Hi DeanG http://www.raec.clacso.edu.ar:8080/raec/Members/gus/FrontPage/contents#FrontPage

wiki contents --Simon Michael, Wed, 09 Jun 2004 07:34:39 -0700 reply
Hi Gus

I can see some non-existing pages in your wiki contents. This probably because you deleted them using plone UI or ZMI (not zwiki delete). In this case the cached wiki outline gets out of sync. If you visit .../FrontPage/updateWikiOutline it will be fixed.

I welcome ideas to make this just work.

wiki contents --Simon Michael, Wed, 09 Jun 2004 07:36:04 -0700 reply
Resending since zope was down..

Simon Michael wrote:

Hi Gus

I can see some non-existing pages in your wiki contents. This probably because you deleted them using plone UI or ZMI (not zwiki delete). In this case the cached wiki outline gets out of sync. If you visit .../FrontPage/updateWikiOutline it will be fixed.

I welcome ideas to make this just work.

wiki contents --SimonMichael, Wed, 09 Jun 2004 07:36:56 -0700 reply
and/or qmail.. something was down.

Hi Simon -- Wed, 09 Jun 2004 10:39:49 -0700 reply
Please , Where I must update througth WikiOutline?. Thanks Gus

Hi Simon --Simon Michael, Wed, 09 Jun 2004 11:46:08 -0700 reply
Gus - visit http:.../AnyPage/updateWikiOutline in your web browser. You won't see any response. After this, try viewing the wiki contents again, it should be fixed. Does this make sense ?

But note, this was introduced in Zwiki version 0.27. Older versions need a different procedure.

Simon -- Wed, 09 Jun 2004 11:56:24 -0700 reply
I have zwiki -0-31-0 Plone 2 .. Any idea? Gus

ZWiki Issue Tracker Customization? --S. D., Wed, 09 Jun 2004 12:00:38 -0700 reply
Holy moly! The issue tracking aspect of ZWiki just hit home! When I'd seen mentions of "Issue Tracker" before, I thought you were discussing the other Zope/Plone product named "Issue Tracker" which I'd tried long ago. I didn't realize you were discussing a mode of operation available from within ZWiki. Cool!

As Simon already knows, I've got ZWiki set up (inside Plone 2.0.3 on Win 2K) to accept input from a DTML page. The page sends the data to the ZWiki with this command:

----- < dtml-call "downloadwiki.comment(text='Name: %s\n\nEmail: %s\n\nInstitution Name: %s\n\nCountry: %s\n\nCollection Type: %s\n\nComments: %s' % (username,useremail,institutionname,country, collectiontype,comments), subject_heading='Registration', REQUEST=REQUEST)" > -----

Can I customize ZWiki's issue tracker in such a way that the issue tracker will accept and display this information? If so, can I simply shift gears on the existing "downloadwiki" page or do I need to tweak some files?

Thanks!

Scott

Simon --Simon Michael, Wed, 09 Jun 2004 12:05:21 -0700 reply
That's good. Follow the steps in my last message, or let us know if it's not clear.

Re: ZWiki Issue Tracker Customization? --Simon Michael, Wed, 09 Jun 2004 12:07:43 -0700 reply
Scott - look at the add issue form on the IssueTracker page. Do whatever it does and you'll create an issue instead. :)

spam war warming up --Simon Michael, Wed, 09 Jun 2004 12:12:53 -0700 reply
The days of anonymous comments as we know them may be numbered, I'm afraid. The new banned_links feature works only for repeat offenders, not new urls. Hopefully today's spams are isolated.

reStructured Text Code Generation? --S. D., Wed, 09 Jun 2004 13:11:56 -0700 reply
I doubt that this problem originates in ZWiki, but since ZWiki is the most reStructured-text-friendly Zope product, someone here might know the answer to this question.

We have the ZWiki shifted in to reStructured text mode (Zope 2.7.0, Plone 2.0.3, Win 2k). When we want a nested list of bulletted items, we enter the following reST code:

 -----

 Title
 ===

 - Home

   - Projects

     - Project A

       - Documentation

       - Download

     - Project B

 -----

The HTML that is generated comes out looking like this:

 -----
<h2 class="title">Title</h2>
<ul>
<li><p class="first">Home</p>
<blockquote>
<ul>
<li><p class="first">Projects</p>
<blockquote>
<ul>
<li><p class="first">Project A</p>
<blockquote>
<ul class="simple">
<li>Documentation</li>
</ul>
</blockquote>
</li>
...
 -----

This code produces output with too much whitespace and none-too-appealing formatting by default. I'm looking for the style sheets and/or templates that control these pages but I can't find them. For example, where are the classes named "first" and "simple" located? I don't see them in either the zwiki_plone material or in a Plone style. Also, I might want to replace "

Is this stuff buried in the reStructured text code somewhere? Can anyone point me at a pertinent file or two?

Thanks!

Scott

Re: reStructured Text Code Generation? --Simon Michael, Wed, 09 Jun 2004 14:15:36 -0700 reply

Is this stuff buried in the reStructured text code somewhere? Can anyone point me at a pertinent file or two?

That would be my guess.. they're not zwiki styles. Check the RST code in zope software home (http://zopewiki.org/zpydoc may show you where to look)

HI Simon -- Wed, 09 Jun 2004 14:21:28 -0700 reply
I have a problem. I have the same problem I don't see the help and others I use 0.31.0 and plone 2.03

http://www.raec.clacso.edu.ar:8080/raec/Members/gus/FrontPage/contents#FrontPage

Could you help me... regards Gus

HI Simon --Simon Michael, Wed, 09 Jun 2004 14:27:34 -0700 reply
Here is the url I meant: http://www.raec.clacso.edu.ar:8080/raec/Members/gus/FrontPage/updateWikiOutline

But, I tried it and got TypeError? iteration over non-sequence. You probably get the same. Can you post the traceback for this error, which you fill find in /error_log.

Or, just start again with a new wiki.

need a browser test --Simon Michael, Thu, 10 Jun 2004 16:08:22 -0700 reply
Could someone check the latest http://zwiki.org/IssueTracker add issue form layout in IE, safari, opera etc. Thanks.

need a browser test --eXt, Sat, 12 Jun 2004 03:05:37 -0700 reply
Opera - perfect, wunderful, great :), IE - IssueTracker is ok, but comment box looks like.. cutted on the right edge. I'll send you a screenshots.

need a browser test --simon, Sat, 12 Jun 2004 11:57:44 -0700 reply
Thank you - these look good enough. I was worried about the width declarations causing havoc.

zwiki: "Site Error" -- Sat, 12 Jun 2004 13:45:21 -0700 reply
My zwiki produces only error messages. It ends by "URL: wikipage_macros Line 240, Column 0 Expression: " I tested Zope 2.7.0 with Python 2.2 AND Python 2.3, both failed. Did I forget something when creating a wiki (I simply added "zwiki")? Thanks in advance. Anton

zwiki: "Site Error (2)" -- Sat, 12 Jun 2004 13:59:10 -0700 reply
My zwiki "index_html" reads as follows: " < dtml-call "RESPONSE.redirect(_['URL1'] + '/FrontPage')"> ". Do I have to modify "URL1"? -- Anton

zwiki: "Site Error (2)" --Simon Michael, Sat, 12 Jun 2004 14:10:12 -0700 reply

My zwiki "index_html" reads as follows: " < dtml-call "RESPONSE.redirect(_['URL1'] + '/FrontPage')"> ". Do I have to modify "URL1"? -- Anton

Hi.. no. Modify "FrontPage" if your default page is called something else.

zwiki: "Site Error" --Simon Michael, Sat, 12 Jun 2004 14:14:58 -0700 reply
The python: False at that line in ZWiki/skins/standard/wikipage_macros is a python 2.3-ism I believe. It works fine with python 2.3 here. You could replace False with 0 as a temporary workaround but it will be easiest all round if you use python 2.3.

Re: need a browser test --S.D., Sat, 12 Jun 2004 16:03:12 -0700 reply
It looks OK in Safari 1.2.2.

Scott

Re: need a browser test --simon, Sat, 12 Jun 2004 19:48:57 -0700 reply
Excellent

Place for Zwiki-Questions? --Simon Michael, Sat, 12 Jun 2004 19:55:30 -0700 reply

Is this a place for basic zwiki questions? If not, please delete (http://www.zwiki.org/GeneralDiscussion only shows strange redirect to main page).

Hi Anton - you were on the right page. I have fixed the redirect problem (some unquoted DTML code).

You can change False to 0 in your ZWiki/skins/standard/wikipage_macros.pt around the indicated line to fix this. It has been fixed for next release.

I don't think your zope was really using python 2.3, or this would just work. I'd recommend using 2.3 on windows as well.

IssueTracker Augmentation? --S.D., Sun, 13 Jun 2004 08:56:21 -0700 reply

I want to add a few text boxes to the Issue Tracker option, so, to start to familiarize myself with modifying the ZWiki World, I simply added a new "newtext" text box to the mix, calling it "newtext2".

I went through the various ZWiki elements that seemed pertinent, simply taking "newtext" mentions whereever I found them and adding an identical "newtext2" right beneath it. For example, here's the most obvious place for such a modification:

   < dtml-let
    newtitle="getattr(REQUEST,'newtitle','')"
    newtext="_.getattr(REQUEST,'newtext','')"
    newtext2="_.getattr(REQUEST,'newtext2','')"
    newcategory="_.getattr(REQUEST,'newcategory','zwiki: general')"
    newseverity="_.getattr(REQUEST,'newseverity','normal')"
    newstatus="_.getattr(REQUEST,'newstatus','open')"
    >
     < dtml-call "createNextIssue(
       newtitle,newtext,newtext2,newcategory,newseverity,newstatus,REQUEST=REQUEST)">
     < dtml-call "RESPONSE.redirect(URL+recentlisting+scrollto)">
   < /dtml-let>

Also, in Tracker.py, I made modifications whereever I found a suspicious-looking "text" declaration, such as:

    def createIssue(self, pageid='', text='', text2='', title=None,
                    category='', severity='', status='', REQUEST=None):

After all of this meticulous and well-thought-out effort, I still got an error! Here it is:

 Traceback (innermost last):
 Module ZPublisher.Publish, line 163, in publish_module_standard
 Module Products.PlacelessTranslationService.PatchStringIO, line 51, in new_publish
 Module ZPublisher.Publish, line 127, in publish
 Module Zope.App.startup, line 203, in zpublisher_exception_hook
 Module ZPublisher.Publish, line 100, in publish
 Module ZPublisher.mapply, line 88, in mapply
 Module ZPublisher.Publish, line 40, in call_object
 Module OFS.DTMLDocument, line 128, in __call__
 < DTMLDocument instance at 408ec80>
 URL: http://localhost:8282/Plone/issuefolder/issuewikimethod/manage_main
 Physical Path:/Plone/issuefolder/issuewikimethod
 Module DocumentTemplate.DT_String, line 474, in __call__
 Module DocumentTemplate.DT_Util, line 201, in eval
 __traceback_info__: newtext
  Module <string>, line 1, in <expression>
 TypeError: createNextIssue() got multiple values for keyword argument 'REQUEST'

Apparently "newtext" and "newtext2" are fighting for the attention of createNextIssue. What have I done wrong?

Thanks!

Scott

IssueTracker Augmentation? --simon, Sun, 13 Jun 2004 12:39:41 -0700 reply
Hi Scott.. I fixed GeneralDiscussion, there was one unquoted piece of dtml.

This seems like a DevDiscussion? thread, but if everyone else is happy, I'm not going to worry about it.

Good approach. You don't show that you added the argument to createNextIssue above.. if that's not it it's something similar.

server downtime --simon, Sun, 13 Jun 2004 12:40:44 -0700 reply
The server has been down quite a lot in the last 12 hours, due to some upheaval in page types. Bear with me.

site upgraded to 2.7.1b2; downtime due to developer screwup (darcs conflict) --simon, Mon, 14 Jun 2004 07:34:48 -0700 reply

wiki mail -- Mon, 14 Jun 2004 09:56:38 -0700 reply
Hi I need setup in my wiki mail of plone the option subscribe... Anyone have idea... Could you help me.. regards gus

... -- Fri, 18 Jun 2004 13:06:47 -0700 reply
I'd like to send the output from a form to two wikis: One wiki set up in the convetional way and one set up in issue-tracking mode. I assume that it is dangerous to have issue-tracking and non-issue-tracking wikis contained in the same folder so I created a subfolder ("downloadsubfolder") in the main form/wiki folder to contain the issue-tracking wiki. My question is this: What do I have to do to send the information from the form to the issue-tracking wiki contained in the subfolder? I tried to indicate the subfolder in the traditional way by using a slash like this:

 <dtml-call "DownloadWiki.comment(text=';\n\nName: %s;\n\nEmail: %s;\n\nInstitution Name: %s;\n\nCountry: %s;\n\nCollection Type: %s;\n\nComments: %s\n\n;' % (username,useremail,institutionname,country,collectiontype,comments), subject_heading='Registration', REQUEST=REQUEST)">
 <dtml-call "downloadsubfolder/Downloadissuetracker.createNextIssue(username,usermail,institutionname,country,collectiontype,comments,REQUEST=REQUEST)">
 <dtml-call "RESPONSE.redirect('downloadresponse')">
-----

That didn't work. Does anyone have a suggestion?

Also any tips on how to customize fields in the issue-tracking wiki would be most welcome. I've got what seems to be a crude, brute-force technique that involves simply copying and editing existing entries, but maybe there are approaches more sophisticated than mine?

Thanks!

Scott

... --S. D., Fri, 18 Jun 2004 13:12:12 -0700 reply
I wrote:

I'd like to send the output from a form to two wikis...

I didn't intend this message to appear on the list this many times. When I entered this message through ZWiki.org's comment areas, I received error messages so I didn't think the messages were posted. Now I peek in through the newsgroup reader and I see the message three times!

Sorry!

Scott

wiki mail follow-up --DeanGoodmanson, Fri, 18 Jun 2004 13:46:06 -0700 reply
It was the unescaped DTML in your post that may have caused the error.

... --Simon Michael, Fri, 18 Jun 2004 15:07:37 -0700 reply
Look how the IssueTracker add form does it, or the end of mailin.py. Perhaps this will make it clearer.

History browsing and diff functionality -- Mon, 21 Jun 2004 04:49:27 -0700 reply
I think it is a question with a maybe simple answer (but I don't know for sure): I want to view page history by clicking on the "last edited by someone some time ago" link. I thought that this was a standard feature in a earlier wiki version. How do I restore this feature in the current version?

Thank you in advance for your tips!

thanks for cleanup --SimonMichael, Mon, 21 Jun 2004 07:59:58 -0700 reply
Thanks Dean. Well I think the day has arrived.. simple anonymous comments on a known public wiki are no longer practical. We must do something.

You all should check out RecentChanges?, best change notes ever! :)

thanks for cleanup --Bob McElrath?, Mon, 21 Jun 2004 08:09:30 -0700 reply
SimonMichael [zwiki-wiki@zwiki.org]? wrote:

Thanks Dean. Well I think the day has arrived.. simple anonymous comments on a known public wiki are no longer practical. We must do something. =20 You all should check out RecentChanges?, best change notes ever! :)

I wonder if it would be practical to pipe incoming comments through spamassassin? Obviously there would be no header analysis, but perhaps a score from the body analysis could be useful?

Also multiple posts from the same source in a short period of time should be detectable/blockable.

Perhaps a block-revert tool that can revert all changes from a given IP? Mediawiki seems to have this feature:

http://meta.wikipedia.org/wiki/Vandalbot

mystery zope hangs are back, site outages --SimonMichael, Wed, 23 Jun 2004 09:39:28 -0700 reply

mystery zope hangs are back, site outages --DeanGoodmanson, Wed, 23 Jun 2004 15:26:26 -0700 reply
So that's what they meant by "Zope on a rope!" :

 ___or maybe: "Z*pe *n a r*pe". 
  |
  o
 /Z\
  |
 / \

History browsing and diff functionality --Simon Michael, Wed, 23 Jun 2004 17:35:39 -0700 reply

I think it is a question with a maybe simple answer (but I don't for sure): I want to view page history by clicking on the "last edited by someone some time ago" link. I thought that this was a standard feature in a earlier wiki version. How do I restore this feature in the current version?

It was, but it's a little more hidden at present: use the y access key (historY). Eg alt-y.

History browsing and diff functionality -- Wed, 23 Jun 2004 23:41:41 -0700 reply
Ok, thanks; But here a small additional question: Is the following true: a) /diff shows differences of a page, This feature is accessible for all users b) /manage_change_history_page shows the versions; This is only accessible for admins or other users with additional rights (which?) c) a beautiful history page, as seen in http://www.ida.liu.se/zope/groups/cugs/FrontPage (with the addtion pagehistory is no (!) standard feature and needs configuration / programming... Let's see, if I am right!?!?

holy cow --Simon Michael, Thu, 24 Jun 2004 09:36:42 -0700 reply
It's the 24th. I do not feel ready for an rc. :) Thanks for the recent patches, I will push them asap. I have to leave for a rafting weekend on the Kern river today, goodness me how unfortunate, but it may wash away the mental cruft of sysadmin hassles.

Re: holy cow --Simon Michael, Thu, 24 Jun 2004 10:52:37 -0700 reply

Simon Michael wrote:

It's the 24th. I do not feel ready for an rc. :) Thanks for the recent patches, I will push them asap. I have to leave for a rafting weekend on the Kern river today, goodness me how unfortunate, but it may wash away the mental cruft of sysadmin hassles.

PS hopefully the server will make it through the next four days without an issue 0856 hang, if not I apologize. I'm not sure if I'll manage to set up a reliable workaround before I leave.

History browsing and diff functionality --Simon Michael, Thu, 24 Jun 2004 14:29:07 -0700 reply

a) /diff shows differences of a page, This feature is accessible for all users

True, I believe
b) /manage_change_history_page shows the versions; This is only accessible for admins or other users with additional rights (which?)

This should depend on a zope permission (some combination of manage history, manage properties, access contents information) but there was a zope bug here last I checked: viewing a historical version as anonymous always required a login even if permissions are granted.
c) a beautiful history page, as seen in http://www.ida.liu.se/zope/groups/cugs/FrontPage (with the addtion pagehistory is no (!) standard feature and needs configuration / programming...

That is how the page history looked in the old WikiForNow variant of Zwiki. I didn't know anyone was using this, nice-looking site too. It's the ZMI history page with a different presentation, you could find the template in the WikiForNow code.

History browsing and diff functionality --Bob McElrath?, Thu, 24 Jun 2004 14:39:06 -0700 reply
Simon Michael [zwiki-wiki@zwiki.org]? wrote:

=20
=20 b) /manage_change_history_page shows the versions; This is only accessib=
le for admins or other users with additional rights (which?)
=20
This should depend on a zope permission (some combination of manage=20 history, manage properties, access contents information) but there was a=
=20
zope bug here last I checked: viewing a historical version as anonymous=
=20
always required a login even if permissions are granted.

I just sent Simon a patch that implements a "revert" button on the /diff page, and only show it if the user has "Edit" permission...

Replaces the "cancel" button, which didn't work anyway...

I'd like to work toward "revert only this change" if i.e. someone made a comment after a spam. Also a "revert all comments from this IP" button.

History browsing and diff functionality --DeanG, Thu, 24 Jun 2004 14:42:21 -0700 reply
Could you post the code somewhere so upgrade loafers like me can consider jamming it into an older version?

History browsing and diff functionality --Bob McElrath?, Thu, 24 Jun 2004 14:57:36 -0700 reply
DeanG [zwiki-wiki@zwiki.org]? wrote:

Could you post the code somewhere so upgrade loafers like me can consider jamming it into an older version?

Is that loafer as in banana nut? Or questionable footwear? Is that jam as in raspberry marmalade? I hope you're not putting marmalade in your footwear.

http://bob.mcelrath.org/darcs/zwiki/

History browsing and diff functionality --DeanG, Thu, 24 Jun 2004 15:26:52 -0700 reply
Alright....you asked for it.....Loafer as in:

(I'm running on OSX and haven't bitten the bullet to compile Zope and Python and move forward my current tweeks, and or switch to a different server...I'm loafin' around.)

Zwiki editing a database -- Fri, 25 Jun 2004 15:56:42 -0700 reply
Hi, i was wondering if you could edit a page, which instead of being a single document is actually built up of several fields taken from a database. For example I can have a description a country, then a description of the capital, etc etc. Each paragraph if you wish represents a field of a database.

The easiest way I could visualise this is by getting a form when you press "edit" where different fields can be edited, at the same time, which are then consecutively saved.

Is this at all feasable, or can you only edit one single document with zwiki ?

Thanks for your help !

Patrick Slavenburg

Zwiki / Epoz spell check -- Fri, 25 Jun 2004 16:08:37 -0700 reply
Hi,

is there a spell check possibility, or can it be programmed into, the Zwiki and WYSIWYG Epoz editor ?

I'd appreciate any insights !

patrick

History browsing and diff functionality -- Wed, 30 Jun 2004 10:41:19 -0700 reply
PHPWiki? http://phpwiki.sourceforge.net/phpwiki/ has the best history view IMHO :-)

The python CVS viewing CGI script called ViewCVS? http://viewcvs.sourceforge.net/ should have all the parsing code needed ...

History browsing and diff functionality -- Wed, 22 Sep 2004 13:50:06 -0700 reply
Ay Simon Michael, why is the manage_change_history_page not enabled @ zwiki.org; It would be beautiful to check it out...

History browsing and diff functionality --Simon Michael, Wed, 22 Sep 2004 13:56:29 -0700 reply
It allows web robots into the ZMI, where they can roam endlessly wasting server resources and indexing things they shouldn't.