comments:

Zwiki 0.35 released --Simon Michael, Fri, 01 Oct 2004 09:36:20 -0700 reply
Summary: Spaced wikiname display, a basic MoinMoin page type, better search engine indexability, i18n updates, bugfixes.

See http://zwiki.org and http://zwiki.org/ReleaseNotes .

I didn't have time for a release candidate, I just called for help with bugs and patches and released when I felt it was ready. This simplified things nicely. Thanks for your input. As always, more documenters/bug trackers/translators/developers/funders are welcome.

-Simon

LatexWiki 0.35 released --Bob McElrath?, Fri, 01 Oct 2004 14:23:24 -0700 reply
Summary: put latex in img alt attribute, use non-blocking I/O so large pages don't hang, bug fixes, refactoring in anticipation of merging axiom and reduce wiki code:

    http://mcelrath.org/Notes/LatexWiki
    http://mcelrath.org/Notes/ChangeLog

Oct. 2 issue changes -- Sat, 02 Oct 2004 23:56:41 -0700 reply
These are odd. Are these mass issue-tracker changes a development fluke or spam,remove,pack ? As "revert" has to change the last_edit_time, can it tag these pages with a Log value of "reverted" (at least in the Catalog?)

ZWiki 0.35 upgrade problem -- Sun, 03 Oct 2004 17:06:11 -0700 reply
I updated from 0.34 to 0.35 today (Zope 2.7.2 on WindowsXP?). I stopped Zope and replaced the ZWiki product folder with the new one. Then I restared but I get this error for all the zwiki pages:

This object is broken because the ZWiki product that created it is no longer installed or is installed incorrectly. [snip]?

I can downgrade by replacing the 0.34 product folder and restarting.

Do I need to do anything else to upgarde?

Thanks.

Miguel

ZWiki 0.35 upgrade problem -- Mon, 04 Oct 2004 11:03:25 -0700 reply
I narrowed dow the problem to Zope 2.7.2 with Plnoe 2.0.4 (installed from the package on the Plone site) on Windows. Under that situation, after a clean install, the ZWiki installa fails with:

 Import Traceback

 Traceback (most recent call last):
  File "C:\Program Files\Plone 2\Zope\lib\python\OFS\Application.py", line 654, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "C:\Program Files\Plone 2\Data\Products\ZWiki\__init__.py", line 10, in ?
    import ZWikiPage, ZWikiWeb, Permissions, Defaults
  File "C:\Program Files\Plone 2\Data\Products\ZWiki\ZWikiPage.py", line 76, in ?
    from Admin import AdminSupport
  File "C:\Program Files\Plone 2\Data\Products\ZWiki\Admin.py", line 17, in ?
    from pagetypes import PAGE_TYPE_UPGRADES
  File "C:\Program Files\Plone 2\Data\Products\ZWiki\pagetypes\__init__.py", line 128, in ?
    m = re.search(r'%s([^%s]+?)\.py$'%(os.sep, os.sep), file)
  File "C:\Program Files\Plone 2\Python\lib\sre.py", line 137, in search
    return _compile(pattern, flags).search(string)
  File "C:\Program Files\Plone 2\Python\lib\sre.py", line 229, in _compile
    raise error, v # invalid expression
 error: unexpected end of regular expression

This does not happen under Linux.

ZWiki 0.35 upgrade problem --Simon Michael, Mon, 04 Oct 2004 14:53:44 -0700 reply
Thanks.. Stefan Rank submitted a patch for this today, the latest from http://zwiki.org/DarcsRepos or http://zwiki.org/zwikidir should work.

ZWiki 0.35 upgrade problem -- Mon, 04 Oct 2004 19:38:54 -0700 reply
I did a darcs get like it says in the CodeRepos page and the problem was solved. Thanks.

mail was blocked --Simon Michael, Tue, 05 Oct 2004 12:38:12 -0700 reply
The joyful.com mailserver was broken for part of the last day or so, mail should flow normally now.

ZWiki 0.35 upgrade problem --Bob McElrath?, Tue, 05 Oct 2004 12:56:09 -0700 reply
Is this due to the fact that os.sep=\ on windoze, and it needs to be doubled in the regex?

Try changing that line to: m = re.search(r'\\([^\\]?+?)\.py$', file)

Of course that won't work in linux. How are you supposed to do this in an OS-independent manner?

Love MS for making \ the path separator, just to be different.

Do you know enough about regexes to fix this? I don't have any windows machines to test on.

anonymous [zwiki-wiki@zwiki.org]? wrote:

I narrowed dow the problem to Zope 2.7.2 with Plnoe 2.0.4 (installed from the package on the Plone site) on Windows. Under that situation, after a clean install, the ZWiki installa fails with:

Import Traceback

Traceback (most recent call last): File "C:\Program Files\Plone 2\Zope\lib\python\OFS\Application.py", line 654, in importproduct product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\Plone 2\Data\Products\ZWiki\__init__.py", line 10, in ? import ZWikiPage, ZWikiWeb?, Permissions, Defaults File "C:\Program Files\Plone 2\Data\Products\ZWiki\ZWikiPage.py", line 76, in ? from Admin import AdminSupport? File "C:\Program Files\Plone 2\Data\Products\ZWiki\Admin.py", line 17, in ? from pagetypes import PAGE_TYPE_UPGRADES File "C:\Program Files\Plone 2\Data\Products\ZWiki\pagetypes\__init_.py", line 128, in ? m = re.search(r'%s([^%s]?+?)\.py$'%(os.sep, os.sep), file) File "C:\Program Files\Plone 2\Python\lib\sre.py", line 137, in search return _compile(pattern, flags).search(string) File "C:\Program Files\Plone 2\Python\lib\sre.py", line 229, in _compile raise error, v # invalid expression error: unexpected end of regular expression

This does not happen under Linux.
forwarded from http://zwiki.org/GeneralDiscussion#msg20041004110325-0700@zwiki.org

add zwikipage programmatically -- Tue, 05 Oct 2004 22:46:06 -0700 reply
in my zope product I have following code: from Products.ZWiki.ZWikiPage import ZWikiPage wikiobj = ZWikiPage(source_string='', __name__=name) f._setObject(name,wikiobj)

and get back Module Products.ZWiki, line 131, in manage_afterAdd Module Products.ZWiki.OutlineSupport?, line 248, in wikiOutline

AttributeError?: aq_base

zwiki is 0.35 it used to work with some older zwikis...

POLL: anti-spam options for zwiki.org --Simon Michael, Wed, 06 Oct 2004 08:07:13 -0700 reply

Please do not delete,I send this message only one time,in order to introduce some china website.IF you delete,I will publish every day.

Oh great, now it's spam and threats. :)

A recap of the current situation:

Anyone can send mail to the wiki & subscribers. Spam doesn't get in this way because mail from non-subscribers is moderated and I reject the spams. Anyone can post comments via the comment form, unless their comment contains one of the urls in the banned_links list. Spammer's IP address can be identified from the logs and I can sometimes block by manually adding to the apache config file. Zwiki doesn't have any other spam filtering mechanism built in. So, we can usually stop repeat spams with manual intervention, but first-time spams posted via the web always go out to all subscribers (except people reading via gmane, which does spam filtering). This currently happens once or twice a week and it will probably increase.

POLL: what should we do ?

  1. continue to tolerate the current level of spam in the interest of simplicity and openness
  2. read the gmane newsgroup instead of subscribing to the mail list. People who prefer to receive mail or digests, and page subscribers, would still see the spams.
  3. restrict who can post web comments. It's regrettable and a loss of wikiness, but it should stop spams for at least a while, and might reduce junk comments too. Hopefully spammers will not discover the edit link for a while; if they do we'd have to restrict that as well. It has to be clear to users. This will take some experimentation and work. Options include: require a username cookie... put up a login form that links to a password in the FAQ...
  4. restrict web comments' content. Eg don't allow more than N urls in a comment. For both this and the above option, we get into needing a wizard that previews the comment, explains when it's not acceptable and helps to fix it, etc...
  5. add full-blown spam checking to zwiki somehow
  6. something else ?

POLL: anti-spam options for zwiki.org --Bob McElrath?, Wed, 06 Oct 2004 09:03:40 -0700 reply
Simon Michael [simon@joyful.com]? wrote:

Please do not delete,I send this message only one time,in order to introduce some china website.IF you delete,I will publish every day.

Oh great, now it's spam and threats. :)

Joy.

POLL: what should we do ? 4. restrict web comments' content. Eg don't allow more than N urls in a comment. For both this and the above option, we get into needing a wizard that previews the comment, explains when it's not acceptable and helps to fix it, etc...

  1. add full-blown spam checking to zwiki somehow

Deliver all web-form comments via SMTP, feed to spamassassin, and dump into moderator's mailbox if the score is too high.

Firefox search -- Wed, 06 Oct 2004 10:28:15 -0700 reply
I really hate the Firefox/Mozilla will not search(find-in) the contents of a text box. This, (and windows networking authentication) is a significant factor in keeping windows folks using IE for editing a wiki over others.

But, I found an odd workaround to the search issue. Firefox 1.0 has a very nice "highlight" feature which highlights all occurances of the Fifnd: text--Including within a text edit window! (But strangely, you can't step your cursor through the highlight..)

Also, don't forget ExternalEditor.

Firefox search --Simon Michael, Wed, 06 Oct 2004 10:35:41 -0700 reply

Firefox 1.0 has a very nice "highlight" feature which highlights all occurances of the Fifnd: text--Including within a text edit window!
So it does, that's good to know. Note you may need to click the highlight button in the popup bar once - mine was off and I didn't notice it.

I imagine they'll fix find in text fields pretty soon.

add zwikipage programmatically --Simon Michael, Wed, 06 Oct 2004 10:38:38 -0700 reply
This is because your f doesn't have the usual Zope acquisition wrapper. Try f = f.__of__(some zope object) first.

See also the add method we use for the ZMI, manage_addZWikiPage I believe. If you already have a page to work from, I would use page.create() instead.

POLL: anti-spam options for zwiki.org -- Wed, 06 Oct 2004 14:23:43 -0700 reply
How about banning all links except those formatted as StructuredText? Racing.

scaled images in restructured text --Elan Ruskin, Wed, 06 Oct 2004 18:57:14 -0700 reply
I have a user-type question about the :image directive in RestructuredText. The documentation for ReST indicates that images may be dynamically scaled by ZWiki using the :scale: attribute "if PIL is installed" (which it is). However when I specify the :scale: attribute on an image in my ReST wikipage nothing happens. Is ZWiki actually capable of rescaling images on the fly as the ReST documents allege? Is there some kind of additional hoop that must be jumped through to make Zope aware of PIL? (I have verified that the PIL module is available for import from a zopectl listener.)

Any help would be much much appreciated.

discussion --Simon Michael, Thu, 07 Oct 2004 10:23:43 -0700 reply
PPS and this, I should have sent to GeneralDiscussion. Please reply on GeneralDiscussion.

Simon Michael wrote:

PS I do post major things on GeneralDiscussion/DevDiscussion? at times, but in general I assume that people who want to be fully up-to-date are subscribed to the whole wiki. That way things can be posted where they best belong.

Related: what about renaming GeneralDiscussion to GeneralDiscussion. This better reflects the reality that "development" topics can pop up there, and communicates that it's a catch-all, while still keeping DevDiscussion? as a place for in-depth dev topics.

Eargh--alt E looses any current edits! -- Fri, 08 Oct 2004 19:07:33 -0700 reply
This seems to be where I'm direct to post comments about zWiki as a user. If I'm in the wrong place...well, if this is standard 'net folk, I'm sure someone will tell me. :)

It is driving me nuts that zwiki insist that alt-E (which in Mozilla, firefox, IE, and a lot of other programs accesses the Edit menu of the program) means to open a new edit window for the current page. Every time I've used it, I just want to copy and/or paste whatever I have highlighted.

If you have the bad luck to be editing a page when you do this, it clears all your changes. EXTREMELY annoying. I've just lost another bunch of work because zWiki takes over a very useful standard command and morphs it into something much less useful (and only related, not the same). Saving often only saves you so much--loosing a little bit of work regularly adds up to a lot of time. And I don't want to have to save because the program has a "feature" which eats my work.

I think people can hit the "Edit" button easily enough, or learn a zwiki-specific alt command. That would be much prefered to having a keyboard habit that works in almost all programs (and on most other web pages) suddenly not work properly, and even worse, lose edits!

Is there any way to disable zWiki's capture of alt-E? Preferably as a user, but if it takes an admin that's better than nothing.

Tables - Structured text rendering problem -- Sat, 09 Oct 2004 05:18:00 -0700 reply
I recently set up a zwiki site on http://wikicles.objectis.net (version 0.25) and decided to modify the wikipage and wikipage_macros templates to suit my needs. The problem is that now, when trying to insert a table in a wiki page using the structured text formatting rules I get this error message (or better, this message is displayed instead of the table):

  Structured Text rendering failed:
  Traceback (most recent call last):
  File "/gaspard/z8080/lib/python/Products/ZWiki/PageTypes.py", line 199, in renderStxInt =                                              
  StructuredText.HTMLWithImages(
  File "/gaspard/z8080/lib/python/StructuredText/DocumentClass.py", line 316, in __call__
  doc=ST.StructuredTextDocument(self.color_paragraphs(
  File "/gaspard/z8080/lib/python/StructuredText/DocumentClass.py", line 415, in color_paragraphs
  r=pt(paragraph)
  File "/gaspard/z8080/lib/python/Products/ZWiki/PageTypes.py", line 529, in doc_table
  COLS[index][2] = row[index][2]
  IndexError: tuple index out of range

Here's what I modified in the wikipage template:

  <div style="position: absolute; top: 80px; width: 100%">
    <div id="menu">
      <div tal:replace="structure container/menu">
        menu goes here
      </div>
    </div>

    <div id="content">
      <div tal:replace="structure options/body">
        page body goes here..
      </div>
    </div>
    <br/>
    <div id="pagemanage" tal:condition="python:
      request.get('zwiki_showpagemgmt',1)
      and request.get('zwiki_displaymode',0)=='full'
      and (   user.has_permission('Zwiki: Rename pages',here)
      or user.has_permission('Zwiki: Reparent pages',here)
      or user.has_permission('Zwiki: Delete pages',here))
      and (user.has_role('Authenticated') or request.get('zwiki_username',''))
    ">
      <!-- page management panel -->
      <span metal:use-macro="macros/pagemanage"></span>
    </div>
  </div>

Any suggestion would be appreciated!

Tables - Structured text rendering problem --Bob McElrath?, Sat, 09 Oct 2004 09:29:41 -0700 reply
Apparently objectis.net is using an old version of zwiki. This is one of the many known drawbacks with stx tables. I believe your problem may be caused by having more than one line in a cell of the table. It may be fixed in newer versions, but I doubt it. Since you can embed html in a stx wiki page, I highly recommend using an HTML table instead.

BTW, very nice looking site!

Tables - Structured text rendering problem -- Sat, 09 Oct 2004 14:54:44 -0700 reply

Apparently objectis.net is using an old version of zwiki.
Yep. I had already asked the administrators to update it, but I argued from their answer that it would not be that easy... they don't even know how many of their users have installed a ziki site. Anyway, in my country we use to say "a caval donato non si guarda in bocca" (which means: after all it's for free, and you better not split hairs).
I believe your problem may be caused by having more than one line in a cell of the table.
Hmm, I don't think so. However, I'll try to reproduce the "experiment" on my pc with the last zwiki version, and see whether the problem persists or not.
BTW, very nice looking site!
Thank you! :)

Tables - Structured text rendering problem -- Sat, 09 Oct 2004 15:47:11 -0700 reply
It's me again (btw, my name's Marco Rimoldi, I keep posting anonimously because the user options page, it seems, doesn't work properly). Well, I think I found "the problem"!... or at least an empirical way to prevent it. I found that the error message is displayed every time I do not end the table with a final cr/lf... as to say, pressing ENTER after the final |. The number of lines per cell doesn't seem to affect the rendering, luckily. I was starting to wonder how I was going to teach users how to insert tables using HTML... phew! :) Anyway, thank you for your suggestion Bob.

Eargh--alt E looses any current edits! -- Sat, 09 Oct 2004 16:11:36 -0700 reply
You can fix this problem, but not as a simple user (as far as I know). Basically you just have to tweak some html code: you should modify the default wikipage_macros file and set a different access key for the edit form. Search for this piece of code in the template (I'm pasting it from zwiki ver. 0.25, so in your case it could be slightly different):

  <span metal:define-macro="quickaccesskeys" tal:omit-tag="">
    <!-- quick access keys -->
    <a href="" title="quick access key for page source" accesskey="q"
    tal:attributes="href string:${here/page_url}/src"></a>
    <a href="" title="quick access key for clearing page render cache" accesskey="w"
    tal:attributes="href string:${here/page_url}/clearCache"></a>
    <a href="" title="quick access key for edit" accesskey="e"
    tal:attributes="href string:${here/page_url}/editform"></a>
    <a href="" title="quick access key for external edit" accesskey="x"
    tal:attributes="href python:
    here.wiki_url() + '/externalEdit_/' +
    modules['Products.PythonScripts.standard'].url_quote(here.id()) +
    '?borrow_lock=1'"
    ></a>
  </span>

This line in particular is that which you're probably interested in:

  <a href="" title="quick access key for edit" accesskey="e" 

Marco

ZWiki and Scripts -- Sun, 10 Oct 2004 22:13:37 -0700 reply
Today I tried to use a script (a simple javascript) to hide my emailadress from spammers (just some crap which use a doc.write() to write the email adress from a binary codes array).

Now I noticed that ZWiki identified the <disabled script> tag and diabled it. I understand the intention might be no one can insert script code to avoid malicious scriptcoding in the page ...

This I can understand ;) But:

Is there a way that I (the author) can add some script code ?

ZWiki and Scripts --DeanG, Mon, 11 Oct 2004 07:16:39 -0700 reply
The first line of Defaults.py contains a constant to change to allow j*vascript.

Diffs and reply in Zwiki 0.32, Plone -- Mon, 11 Oct 2004 16:25:18 -0700 reply
Finally I try to establish a Plone portal in Objectis.net. Here, we have 0.32 version under Plone 2. Unfortunately, the links to date of comment (timestamp) and to "reply" seem not to work. Any ideas? Samotnik

Diffs and reply in Zwiki 0.32, Plone -- Wed, 13 Oct 2004 12:10:09 -0700 reply
Strange - now is working. Probably it was a conflict with this awful CMFBoard? :), and disappeared when I resolved a conflict. Samotnik

ZWiki RecentChanges? -- Thu, 14 Oct 2004 00:19:53 -0700 reply
Hi all,

I deployed my homepage using Zwiki on http://thew4.freezope.org/wiki/w4/ - warning: German Language ;)

At http://www.freezope.org they currently use Zwiki 0.22

I noticed that RecentChanges? (http://thew4.freezope.org/wiki/w4/RecentChanges) just states every edit with the same (!) time :(

Any ideas that might help ?

title vs. getId -- Thu, 14 Oct 2004 02:43:58 -0700 reply
I'm confused about using zwiki's pagename and title. I have an option to create zwiki with name(id?) say BillyZoom? and title My nice Test page when I edit that page, I get totally new page with pagename(id) MyNiceTestPage?

why is that? Can I edit page which has different id and title?

ZWiki RecentChanges? --Simon Michael, Thu, 14 Oct 2004 08:41:58 -0700 reply
The default RecentChanges? on freezope has problems it seems. Other people have fixed this by copying the RC page from a later version. Try the latest from http://zwiki.org/RecentChanges , if not then try to find one of the working http://zwiki.org/ZwikiSites at freezope. We should provide a link on FAQ.

testing -- Thu, 14 Oct 2004 08:45:10 -0700 reply
I am behind with mail.. thanks for your patience, and try me on #zwiki if you don't get an answer.

Re: ZWiki reparent question --Simon Michael, Thu, 14 Oct 2004 08:49:08 -0700 reply
Hi Miguel.. sorry, a temporary problem. I'm cc'ing the page again.

Miguel Koren OBrien? de Lacy wrote:

Simon;

I was posting this question on the user discussion page but I got an error. Afterwards I could not access the page (same error), so I thought I would send you this directly.

I do some experimenting with Zope on a notebook (Windows) in stand alone mode, especially when I travel and have to document some developmente work. We use ZWiki for development documentation. After getting back to the office I export and import whatever I was working on to the server Zope installation (Linux). This works great for ZWiki (at least in versions 0.34 and 0.35-1 that I use) but after the import I lose the hierarchy information of parent pages, in the sense that I can not see the parent "track" visually. So far I've just redone it manually but the instalation now got too big to do that. Is there a procedure for reparenting all pages automatically?

Yes - visit SOMEPAGE/updateWikiOutline once. It relies on some cached info for speed, and this rebuilds it. We should make that cache a persistent object so that it stays with the folder. Thanks for the usage notes, it is always interesting to see what people are doing.

Re: ZWiki reparent question -- Thu, 14 Oct 2004 08:58:40 -0700 reply

Yes - visit SOMEPAGE/updateWikiOutline once.

Whoo-hoo! I had a page's parent that wouldn't go away, and this worked!

title vs. getId --Simon Michael, Thu, 14 Oct 2004 09:00:07 -0700 reply

I'm confused about using zwiki's pagename and title. I have an option to create zwiki with name(id?) say BillyZoom? and title My nice Test page when I edit that page, I get totally new page with pagename(id) MyNiceTestPage?

why is that? Can I edit page which has different id and title?

No; Zwiki lets you set any title but chooses the id itself for performance reasons.

(We don't yet have good documentation of this. cf #551 #620, #921, FaqCandidate?.)

FYI --Simon Michael, Thu, 14 Oct 2004 09:10:59 -0700 reply
Sorry for the duplicate.. just forwarding this to GeneralDiscussion so the page subscribers there will see it.

This WikiBadge marks something - a question, answer, or both - that should be added to FAQ. It makes these easier to find later. When the FAQ has been added, the marker can be removed.

When you ask a question you may see this in the answer. Note this is not a put-down or command - feel free to ignore it. But if the answer helped you, and you feel like giving something back to the community, please add the item, even in rough form, to the FAQ page yourself. This is much appreciated and helps our community to grow and to waste less time. -- forwarded from http://zwiki.org/FaqCandidate#msg20041014090821-0700@zwiki.org

Diffs and reply in Zwiki 0.32, Plone --Simon Michael, Thu, 14 Oct 2004 09:14:41 -0700 reply
Samotnik reported this is working ok.

POLL re discussion ideas -- Thu, 14 Oct 2004 09:29:38 -0700 reply
I wrote:

PS I do post major things on GeneralDiscussion/DevDiscussion? at times, but in general I assume that people who want to be fully up-to-date are subscribed to the whole wiki. That way things can be posted where they best belong.

Related: what about renaming GeneralDiscussion to GeneralDiscussion. This better reflects the reality that "development" topics can pop up there, and communicates that it's a catch-all, while still keeping DevDiscussion? as a place for in-depth dev topics.

Any reactions to this ?

Or, to this: just discontinue the DevDiscussion? page, and instruct developers to use the mailing list (ie no wikiname in the subject, except when they want to cc something to a page). As Bob has been doing lately. Developers will receive traffic from all pages but I think that's a good idea.

POLL re discussion ideas --DeanG, Thu, 14 Oct 2004 11:12:27 -0700 reply
+1 for User -> General

POLL re discussion ideas -- Thu, 14 Oct 2004 14:06:59 -0700 reply
+1 for User -> General. Racing

discussion ideas --Simon Michael, Fri, 15 Oct 2004 15:19:00 -0700 reply
> just discontinue the DevDiscussion? page, and instruct developers to use the mailing list (ie no wikiname in the subject, except when they want to cc something to a page).

I think I'm +1 on this..

what about renaming GeneralDiscussion to GeneralDiscussion. This better reflects the reality that "development" topics can pop up there, and communicates that it's a catch-all, while still keeping DevDiscussion? as a place for in-depth dev topics.

and once again -1 on this. I added a diagram at http://zwiki.org/AboutZwikiDiscussion to try and clarify the current/proposed situation; comments welcome.

discussion ideas --Simon Michael, Fri, 15 Oct 2004 15:19:29 -0700 reply
> just discontinue the DevDiscussion? page, and instruct developers to use the mailing list (ie no wikiname in the subject, except when they want to cc something to a page).

I think I'm +1 on this..

what about renaming GeneralDiscussion to GeneralDiscussion. This better reflects the reality that "development" topics can pop up there, and communicates that it's a catch-all, while still keeping DevDiscussion? as a place for in-depth dev topics.

and once again -1 on this. I added a diagram at http://zwiki.org/AboutZwikiDiscussion to try and clarify the current/proposed situation; comments welcome.

browser test, let's have more diagrams --Simon Michael, Fri, 15 Oct 2004 15:27:18 -0700 reply
More on the diagram at AboutZwikiDiscussion - I'd like to hear from people using non-mozilla-based browsers, to make sure this diagram and the clickable areas work for everyone.

I made it with sodipodi, exported to png and added the clickable areas with gimp's imagemap filter. This seems to be a reasonable procedure. (Other contenders are squeak, and just freehand in gimp).

I'd like to make and see more diagrams. What would be some high-impact explanatory diagrams we could add ?

browser test, let's have more diagrams -- Fri, 15 Oct 2004 16:36:38 -0700 reply
Works fine on IE6 and Firefox 1.0.

Other diagrams: Features in a layered diagram, with bottom layer vanilla wiki functionality.

How to remove the "comments" heading in page -- Sat, 16 Oct 2004 08:44:43 -0700 reply
I would like to be able to remove the "comments" heading that appears at the start of comments on each wiki page. I like being able to integrate comments into the page and sometimes and have content, comments, then content again underneath and then more comments. But the "comments" heading only shows up in one place. I would prefer to just remove, but I haven't been able to find where it is in the templates or pydocs.

How to remove the "comments" heading in page -- Sat, 16 Oct 2004 09:43:04 -0700 reply
Can you hide it through CSS?:

 <span class="commentsheading">comments:</span>

How to remove the "comments" heading in page --Bob McElrath?, Sat, 16 Oct 2004 10:52:06 -0700 reply
anonymous [zwiki-wiki@zwiki.org]? wrote:

Can you hide it through CSS?:

< span class="commentsheading">comments:

You could hide it but the page is fundamentally split in exactly two pieces, the page part and the comment part. You can't add content after a block of comments.

I've never really liked this...it doesn't have the flow of a conversation (like a threaded email/newsgroup discussion) and it discourages people from editing when they can comment instead.

Do you have a better idea?

How to remove the "comments" heading in page --Simon Michael, Sat, 16 Oct 2004 17:27:10 -0700 reply
Disable comment permission ?

outage --Simon Michael, Mon, 18 Oct 2004 12:55:07 -0700 reply
Another outage due to #938, this time about 2 hours.

Re: ZWiki reparent question -- Mon, 18 Oct 2004 14:37:43 -0700 reply
I'm not experienced enough with Zope to find UpdateWikiOutline?. If my ZWiki is in http://10.1.9.170/desenv, where would I find or run UpdateWikiOutline? from?

Re: ZWiki reparent question --Simon Michael, Mon, 18 Oct 2004 14:45:09 -0700 reply
Visit http://10.1.9.170/desenv/FrontPage/updateWikiOutline in your browser (replace "FrontPage" with the id of any page if you don't have a FrontPage).

This will not produce any output (unless you are watching event log), but your wiki contents will now be up to date.

test needed --Simon Michael, Tue, 19 Oct 2004 08:14:51 -0700 reply
Hi.. if someone has time, could they please test how the preview button in the editform interacts with file upload.

MartijnFaassen -- Tue, 19 Oct 2004 12:09:42 -0700 reply

Any thoughts on why MartijnFaassen's page is such an attractant to spam attacks?

ZWiki in the spotlight... -- Tue, 19 Oct 2004 13:14:53 -0700 reply
Blog entry noting Zwiki by ZopeWiki:JonUdell here http://weblog.infoworld.com/udell/2004/10/19.html#a1098

Regarding this InfoWorld? article on wiki's and build up to JotSpot?: http://www.infoworld.com/article/04/10/15/42OPstrategic_1.html

Re: ZWiki reparent question -- Tue, 19 Oct 2004 18:54:46 -0700 reply
I tried that in the Wiki on the notebook where I called FrontPage, Home: http://127.0.0.1:8080/desenv/Home/UpdateWikiOutline

But I get "Sorry, the requested resource does not exist.". I'm sure you don't mean this as "no output". ;-)

The Z2 log shows:

((127.0.0.1 - miguelk [19/Oct/2004:22:47:02 -0300]? "GET /desenv/Home/UpdateWikiOutline? HTTP/1.1" 404 1313 "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)"))

Where would I find "UpdateWikiOutline?" inside Zope to check what's going on?

Re: ZWiki reparent question --Bob McElrath?, Tue, 19 Oct 2004 19:06:31 -0700 reply
It needs to be a lower case u, and if "Home" is not a wikipage, then you must insert a page name:

http://127.0.0.1:8080/desenv/Home/FrontPage/updateWikiOutline

anonymous [zwiki-wiki@zwiki.org]? wrote:

I tried that in the Wiki on the notebook where I called FrontPage, Home: http://127.0.0.1:8080/desenv/Home/UpdateWikiOutline

But I get "Sorry, the requested resource does not exist.". I'm sure you don't mean this as "no output". ;-)

The Z2 log shows:

  1. 0.0.1 - miguelk [19/Oct/2004:22:47:02 -0300]? "GET /desenv/Home/UpdateWikiOutline? HTTP/1.1" 404 1313 "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)"

Where would I find "UpdateWikiOutline?" inside Zope to check what's going on?

-- forwarded from http://zwiki.org/GeneralDiscussion#msg20041019185446-0700@zwiki.org

How to remove the "comments" heading in page -- Tue, 19 Oct 2004 20:35:14 -0700 reply
Where is the line of code mentioned above:

 <span class="commentsheading">comments:</span>

I can't seem to find any reference to it when doing a simple search of the Zwiki folder contents. I am just interested in deleting the phrase "comments" and using something else instead; I still want the comment function available.

How to remove the "comments" heading in page --Bob McElrath?, Tue, 19 Oct 2004 21:32:22 -0700 reply
anonymous [zwiki-wiki@zwiki.org]? wrote:

Where is the line of code mentioned above...

comments:

I can't seem to find any reference to it when doing a simple search of the Zwiki folder contents. I am just interested in deleting the phrase "comments" and using something else instead; I still want the comment function available.

It's in pagetypes/common.py.

How to remove the "comments" heading in page -- Wed, 20 Oct 2004 07:13:06 -0700 reply
If someone could provide the CSS Example for making the CSS class "commentsheading" render with white text and white background, I think this might solve our dilema. Noting where the stylesheet is (or should be copied from, created, and modified) is also helpful. Apologies for suggestions and no detail...no time to dig this morning.

Re: ZWiki reparent question -- Wed, 20 Oct 2004 20:04:59 -0700 reply
I ran it with a lower case "u" and it seemed to work. Unfortunately nothing changed in the data to show the parent tree on the pages so maybe it didn't work as intended. The event log does not show anything about this process. Where can I find the "updateWikiOutline" object to take a look? Is there anything I can set in zope.conf to make the log more interesting for this purpose?

How to remove the "comments" heading in page --Racing Pitoune, Wed, 20 Oct 2004 20:05:46 -0700 reply
This should be enough:

.commentsheading {
    color:white;
}

Re: ZWiki reparent question --Simon Michael, Thu, 21 Oct 2004 09:26:06 -0700 reply

I ran it with a lower case "u" and it seemed to work. Unfortunately nothing changed in the data to show the parent tree on the pages so maybe it didn't work as intended. The event log does not show anything about this process. Where can I find the "updateWikiOutline" object to take a look? Is there anything I can set in zope.conf to make the log more interesting for this purpose?

Yes, set your event log to show at least BLATHER priority.

Re: ZWiki reparent question -- Thu, 21 Oct 2004 20:33:07 -0700 reply
I ran it with debug enabled in the log on the Windows notebook and it worked. The only difference to yesterday is the debug setting, so it's a mystery. When I tried the same thing on the Linux server it did not, altough I followed the same steps and the log on both machines shows:

200422T00:22:59 BLATHER(-100) ZWiki saving outline data for wiki desenv

On the server I'm using version 0.35 (downloaded) and on the Windows notebook, 0.35 gotten from Dracs on Oct. 4th. What else can I check?

How to remove the "comments" heading in page --Simon Michael, Fri, 22 Oct 2004 11:33:52 -0700 reply
Racing, if your wiki is public let us know; I'd like to see how your heading tweaks look.

Re: ZWiki reparent question --Simon Michael, Fri, 22 Oct 2004 11:34:11 -0700 reply
Hi Miguel - I think there must be something simple. I have high confidence that updateWikiOutline makes the page hierarchy (wiki contents, page heading context) current with what's in the parents property of all pages. If you ran it, there was no error and the hierarchy still looks wrong, I'd suspect that some page needs to be reparented. If your wiki is accessible, I could take a look.

VeryLowLevelQuestion? --Simon Michael, Fri, 22 Oct 2004 11:34:27 -0700 reply
Hi there,

(I've changed the topic tag in the subject to GeneralDiscussion, so as not to create a new "setupTracker" page).

IloChab? wrote:

ciao!

I'm just at the very beginning with ZWiki & Zope. I've just installed zope to let run zwiki on it and I'm not able to understand what means, in chapter 17:

"As manager, visit YOUR_WIKI_FRONTPAGE/setupTracker"

I created my zwiki site adding a ZWiki object with type basic. In this way I got a directory with 4 zwiki pages and 2 DTML methods but none of them it's called setupTracker. So: I tryed to create a new page with that name but nothing appened I tryed to add an External method with that name but I didn't find anything

I know it must be something obivious but I cant guess what.

I tested 2 versions on windows:

Zope 2.5 + zwiki 0.28 Zope 2.7 + zwiki 0.34.b1

Pease help, I liked very much zwiki features but I cant get them work.

IloChab?.

Visit one of your pages; the url will be something like http://your.site/wikifolder/FrontPage .

Now click in your browser's url field, and add /setupTracker to the above url. So you are going to visit http://your.site/wikifolder/FrontPage/setupTracker .

Hope this helps :)

Re: ZWiki reparent question -- Fri, 22 Oct 2004 19:52:17 -0700 reply
It's not that the hierarchy is wrong, rather there is no hierarchy. At the moment this is not a problem, more of a mystery. As a test I exported the wiki from the linux server and imported it into the windows notebook. As expected there was no hierachy. I ran updateWikiOutline and the hierarchy appeared. From this I conclude that the data is not the problem. Then I installed on the linux server the same version I have on the notebook (0.35.0-1 which I got from Dracs on Oct. 4th). I tried updateWikiOutline with that but the hierarchy did not appear. So it seems to be related to the zope installation on the linux server. In fact, after making some more tests I believe I have destroyed it because I got into a situation where I can't export anything. So, I'll reinstall and report back.

Re: ZWiki reparent question --simon, Fri, 22 Oct 2004 20:24:22 -0700 reply
Check your pages' parents property in the ZMI properties tab, perhaps this will shed some light.

mail glitch --simon, Fri, 22 Oct 2004 20:26:02 -0700 reply
I broke mailout briefly by once again making a MailHost page. This weakness has finally been laid to rest!

Re: ZWiki reparent question -- Sat, 23 Oct 2004 19:10:40 -0700 reply
I didn't need to reinstall. The problem was very simple. Due to some unfathomable reason I was typing a suffix (.zexp) at the end of the object name :-( Simon, would you need access to this wiki or the entire zope installation to see this problem?

Re: ZWiki reparent question --Simon Michael, Sat, 23 Oct 2004 21:37:22 -0700 reply
Sorry, I've lost track. What problem remains ?

Re: ZWiki reparent question -- Sun, 24 Oct 2004 12:14:08 -0700 reply
The problem is that I can't make the hierarchy appear for the wiki.

Re: ZWiki reparent question --Simon Michael, Sun, 24 Oct 2004 18:24:29 -0700 reply
anonymous wrote:

The problem is that I can't make the hierarchy appear for the wiki.

When you click "full" and then "contents", do you see some interesting hierarchy ?

VeryLowLevelQuestion? --Simon Michael, Mon, 25 Oct 2004 03:45:06 -0700 reply
What's your zwiki version ?

VeryLowLevelQuestion? -- Mon, 25 Oct 2004 16:09:48 -0700 reply
.17

Re: ZWiki reparent question -- Mon, 25 Oct 2004 16:50:12 -0700 reply
Ok, now I understand! Everything is ok. I just didn't know and never explored what "full", etc. does. If I put it on minimal, the hierarchy does not show. Is this correct?

Re: ZWiki reparent question --Simon Michael, Mon, 25 Oct 2004 17:00:17 -0700 reply
Hurrah! :) That is correct, in minimal mode the hierarchy is partly hidden from view.

VeryLowLevelQuestion? --Simon Michael, Mon, 25 Oct 2004 17:09:54 -0700 reply

File E:\Programmi\Internet\Zope\lib\python\Products\ZWiki\Admin.py, line 490, in setupCatalog (Object: FrontPage) AttributeError?

Hi,

I think this traceback must have come from your zope 2.5/zwiki 0.28 setup, and your line 490 is:

            if not i in catalogindexes: PluginIndexes.manage_addDateIndex(i)

Is this correct ?

I would blame zope 2.5's older catalog implementation, but I believe you got the same error with zope 2.7. Do you have any non-standard catalog products installed, or configuration in your catalog ? If you already have a catalog in your wiki folder, remove it and try /setupCatalog again. (If you're in plone, just try this test in a new wiki outside of plone). Come on #zwiki if you can, it will be easier to troubleshoot this further.

Re: ZWiki reparent question -- Mon, 25 Oct 2004 18:22:31 -0700 reply
Actually the root of the problem I was having, apart from not having read the documentation, is that the linux server behaves differently than the windows notebook. Using the wiki on the linux server I can see directly the effects of full, simple and minimal. In minimal, the hierarchy is completely hidden. You said partially, but perhaps we are talking about the same thing. I mean that you see the title of the page and nothing else related to parents. On Windows however there is no apparent difference between full, simple and minimal (on my notebook) and the hierarchy is always shown. This doesn't really matter to me because the production use is on Linux but I just wanted to let you know in case something has to be changed for the Windows case in a future version.

Re: ZWiki reparent question --Simon Michael, Mon, 25 Oct 2004 19:24:33 -0700 reply

hierarchy is completely hidden. You said partially, but perhaps we are talking about the same thing. I mean that you see the title of the page and nothing else related to parents.
Yes, there are several places showing signs of hierarchy, and the behaviour vis-a-vis minimal mode has just changed. But the main thing is the appearance of "context" - any parents and ancestors are displayed above the page title, and ... appears if there are children. This parent context is shown in full & simple modes but not in minimal mode.
On Windows however there is no apparent difference between full, simple and minimal (on my notebook) and the hierarchy is always shown.
Well that is interesting! And bad. It may be cookie-related. Try with other browsers. Does anyone know where we would find this in the tracker.

[Wiki Organization]? -- Mon, 25 Oct 2004 20:31:29 -0700 reply
I'm so tired of hearing this from wiki reviews, even long ones.... -- "On a side note, I'm rapidly coming to the conclusion that wikis aren't necessarily the best place to provide documentation -- yes, they're easy to contribute to, but they tend towards meandering, non-hierarchical layouts and can be rough for end-users to follow."

Is Zwiki's a. Page Heirarchy, b. Subtopics, c. Next/Prev features overlooked by reviewers, or search engines??

As for the rest of the stuff, OK fine. I appreciate his desire for a non-hosted solution. I sort of feel like there's too much noise out there for a Zwiki comment.

Re: ZWiki reparent question -- Tue, 26 Oct 2004 08:46:52 -0700 reply
This is what happens: a) Linux/Netscape = OK b) Linux/IE 6 = OK c) Windows/Netscape = always shows hierarchy, no difference with modes d) Windows/IE 6 = NEVER shows hierarchy, no difference with modes

This should be taken with some scetpisism because my notebook installation may be damaged, although everything else works fine.

Re: ZWiki reparent question -- Tue, 26 Oct 2004 08:51:11 -0700 reply
Full/Simple/Minimal page name hierarchy displayed fine on my IE6 for me. (Do you have a cookie issue?)

Re: ZWiki reparent question -- Tue, 26 Oct 2004 18:56:25 -0700 reply
Both Netscape (7.2) and IE accept cookies. Note that the behaviour is different in Netscape although in both the modes make no difference (with a Windows Zope).

outage --Simon Michael, Wed, 27 Oct 2004 11:35:41 -0700 reply
Sites are back up after another #938 startup failure. Sorry.

Wiki page "printable version" --rimarko, Wed, 27 Oct 2004 12:22:34 -0700 reply
(I'm using Zwiki 0.25) I've decided to change the wiki layout by adding a side menu and some graphics. Now I realised that it would be useful to add the possibility for the user to switch to a printable version of the page (in other words, a more classic zwiki layout). Could you suggest me the easiest way to achieve this? For example I thought about switching between two different CSS, but I think that Zope offers a more effective way to do this (unfortunately, I'm still new to Zope and I cannot figure it out myself). Thanks!

UnicodeEncodeError? --Elan Ruskin, Wed, 27 Oct 2004 12:22:46 -0700 reply
Need help with another ZWiki error. We've set up an internal zwiki at our office here. About half the time when I copy and paste something into it containing an employee name I get an error like:

An error was encountered while publishing this resource. UnicodeEncodeError? Sorry, a site error occurred. Traceback (innermost last): Module ZPublisher?.Publish, line 163, in publish_module_standard Module Products.PlacelessTranslationService?.PatchStringIO?, line 51, in new_publish ...

I gather this is because many of our employees have names with accents in them. The only documentation Google has turned up on the subject (http://sourceforge.net/mailarchive/message.php?msg_id=7700795) suggests that this is because ZWiki is incorrectly feeding Docutils an ascii7 encoding, rather than UTF8 which is what we need. How can I get ZWiki to speak utf8? Based on this site it's clear it has to be possible (I put an É into this message and nothing crashed), but I can't for the life of me see how to do it.

Thanks. -e

Wiki page "printable version" -- Wed, 27 Oct 2004 12:32:53 -0700 reply
See ZwikiPrinting , and keep your CSS handy! (You may want to suppress "newpages" style, etc.) Feedback appreciated.

Consider wrapping your side-layout in a <dtml-unless bare> . I'd also like to hear if you're able to leverage the "document" method.

UnicodeEncodeError? --Simon Michael, Wed, 27 Oct 2004 12:36:32 -0700 reply
Hello Elan,

I assume you're using the restructured text page type, a recent zwiki version, and zope 2.7.x. Have you set the two RST encoding options in zope.conf. If you still have problems I would try the very latest Zope 2.7.3 - see zope's CHANGES.txt for the ongoing fixes in this area.

There are other things to suggest but I might confuse the issue. See if it works in a Structured Text page. Contact me on #zwiki if you like.

Wiki page "printable version" --rimarko, Wed, 27 Oct 2004 12:44:15 -0700 reply
Thank you very much, I didn't know about using ?bare=1 in the url... that's exactly what I needed! (the menu in fact is not part of the body, it's a structure made up collecting information from a property I added to the wiki folder... quite ugly of a solution, I suppose!). btw, here's the site if you're curious: http:\\wikicles.objectis.net

How to disable WikiName linking? --JanetSwisher?, Wed, 27 Oct 2004 13:15:11 -0700 reply
I'm new to running Zwiki (under Plone). Is there a way to globally disable linking of [draft 1]?, so that only free form (bracketed) links or HTML links are treated as links? In the wiki I'm running, software packages are often mentioned that have names in camel-case (as is fashionable these days). We don't want to have links for all these instances, and users find the extra "?"s very distracting. I know you can escape individual words with "!", but I'm looking for a global solution.

How to disable WikiName linking? --Simon Michael, Wed, 27 Oct 2004 13:19:29 -0700 reply
Welcome, Janet. Yes, you can configure a property on the folder or plone site. See QuickReference.

UnicodeEncodeError? --Elan Ruskin, Wed, 27 Oct 2004 15:15:10 -0700 reply
Simon -- thanks. You were correct that the problem was RST-specific (sorry not to have mentioned it before), and it was resolved by adding ``rest-output-encoding utf-8`` to zope.conf. Thanks for responding so promptly!

UnicodeEncodeError? --Simon Michael, Wed, 27 Oct 2004 16:06:17 -0700 reply
Glad I could help.

Wiki page "printable version" -- Thu, 28 Oct 2004 05:48:43 -0700 reply
One drawback of '?bare=1': Unforunately it kills german umlauts and font settings...

Sync 2 zwikis -- Thu, 28 Oct 2004 06:10:07 -0700 reply
Hi,

I have a zwiki at work and at home. Is there a possibility to get these 2 versions synchron (no connection between the computers).

Thanks for hints.

Regards sentor

Wiki page "printable version" -- Thu, 28 Oct 2004 09:07:39 -0700 reply
It kills your header, eh? I'm not sure what's the best solution for a. You, b. Zwiki product regarding internationalization efforts.

Wiki page "printable version" --Simon Michael, Thu, 28 Oct 2004 09:10:32 -0700 reply
Look for "utf-8" in the Zwiki page templates (on the filesystem). You need to add that line to your custom wikipage or wikipage_macros template.

Troubleshooting page --Elan Ruskin, Thu, 28 Oct 2004 11:19:12 -0700 reply
Is there any inclination to set up a TroubleShooting? page linked off the ZWiki frontage? It would basically contain a big list of solutions to specific problems that people encounter, so that if some end-user out there hits a particular snag and runs a Google on the error message, there will be someplace useful for it to take him. Attempting to find an answer to a specific problem "ground up" by reading all the docs and hoping to find the answer in there seems to be rather a fool's errand and is costly of time anyway.

Troubleshooting page --Simon Michael, Thu, 28 Oct 2004 11:21:09 -0700 reply
Good idea :) KnownIssues , IssueTracker.

Re: server debugging in progress --Simon Michael, Thu, 28 Oct 2004 22:30:54 -0700 reply

>> The server is up and down right now, apologies. This may continue >> until I get to the bottom of this hang.
Curses! One more try.

The server will restart more frequently overnight; hopefully in the morning I will have caught a hang with more data.

Zwiki 0.36 released --Simon Michael, Sun, 31 Oct 2004 17:21:17 -0800 reply
Zwiki 0.36 "Hallowe'en" is available at http://zwiki.org . Thank you new translators, contributors, and Canonical for two bounties this month. I'll be offline for the next week. US citizens, don't forget to VOTE. Good luck, world!

-Simon

Zwiki 0.36.0 2004/10/31

Summary

Skin switching in CMF/Plone, better MoinMoin markup support, edit preview, easier issue page names and links, russian & hebrew translations, bugfixes.

Upgrade notes

Skin switching hotkeys have changed slightly

Issue pages have a new #N naming scheme. Your old IssueNo? pages will still work; upgradeAll will rename them all.

We now add an optional Zwiki skin in CMF/Plone sites at install time; if you want to enable skin switching within CMF/Plone, re-install Zwiki in plone setup -> add/remove products

Changes

Installing/upgrading

Creating/configuring

Browsing

Editing

Page hierarchy

Mail

Issue tracking

Fit tests

General - i18n

General