Archived GeneralDiscussion (please add new comments on that page).

2003/01/03 07:13 GMT (via web):
SubWikiLinks? and WikiLinkingIssues ...forgive the feature speculation, I realize we're shooting towards 1.0 and more effecient regexp's..

Perhaps the issues of free-form links within a SubWiki scenario could be solved by using a different RemoteWikiLink? token which would try to apply wikilink actions on the RHS. My suggestion would be $ unless it's not handy on international keyboards. OverThere?#ThatPage?, AroundHere?$[Local Page]? AroundHere?$LocalPage? ($ is for the primary case of SubWiki's)

As far as parameters on a WikiLink, I'd say let them happen only on FreeFormLinks?, and only specific tokens: ?, "#", etc., unless it's not much extra burden..

2003/01/03 07:18 GMT (via web):
PersonalWiki

Tonight I got ponderous about personal wiki's, and how they fit nicely into a SubWiki in a FreeHosting on and off an intranet. Rollout and explanation is the hard part, so I created the above page in the spirit of the current install "FrontPage" (intent...) and perhaps someday as a seperate install skin. Comments appreciated, Additions more than welcome.

DeanGoodmanson, 2003/01/03 15:14 GMT (via web):
PersonalWiki

Sorry I wasn't able to post this yet. Battery went dead, and I didn't even think that post went in. :-( Will update soon.

SimonMichael, 2003/01/06 23:28 GMT (via web):
Happy New Year all!!

0.14rc1 is out. It's only relevant if you're using mailin.

SimonMichael, 2003/01/06 23:36 GMT (via web):
14-day pack: 427 -> 97M.

DeanGoodmanson, 2003/01/07 21:42 GMT (via web):
More on crashes from an OS X point of view

Last few days I've experienced similar crashes on Zwiki 0.11.0rc1, SPVI Zope 2.5.1 on OS X. Database: 85M, in need of packing to usual ~25M.

  1. Create a page, add a huge chunk of Word Generated HTML html & body tags incl. Later added without and no crash.
  2. Browsing through the diff of a 48K page.

I've updated the [on FreeBSD, python may crash repeatably when viewing or saving certain wiki pages]? closed Issue page, but not sure if that's the best spot.

Will report (and cry for help ;-)) more after seeing if Python patches are relevant.

Also, reported another SubWiki'ism on SubWikiDiscussion.

Cliff, 2003/01/08 05:10 GMT (via web):
I still have a couple of problems with my wiki:

  1. The contents link in the tree that's displayed in Full mode produces a list of the page Titles - with spaces. The links on this page include the expanded spaces (as in http://fishability.biz/SCHeritage/SCwiki/Coast%20Reporter), and since the names created by Zwiki have no spaces, they don't work.
  2. How do I change the Titles of pages? In the ZMI, nothing changes when I change a Title, even though the page indicates it was updated. I don't see any way to do this other than in the ZMI.

What's happening? My workaround has been to delete the page and recreate it with the right Title.

Cliff, 2003/01/08 05:20 GMT (via web):
A couple more I forgot:

  1. The help text displayed when I hover over all links in my pages says !"xxx zwiki bug - couldn't find page.
  2. The same problem as item 1 above occurs in all the links in the tree in the header in Full view.

I am running ZWiki-0-12-0rc1, Zope 2.6.0 (binary release, python 2.1, win32-x86), python 2.1.3, win32 under W98SE on a Pentium 200 with 128MB ram.

TIA. I think Zwiki is very cool, and tomorrow I will be trying to get a dozen people hooked demoing at a meeting.

Justin Clift, 2003/01/08 05:57 GMT (via mail):
Cliff wrote:
> 2 How do I change the Titles of pages? In the ZMI, nothing changes when I
> change a Title, even though the page indicates it was updated. I don't see any
> way to do this other than in the ZMI.
>
> What's happening? My workaround has been to delete the page and recreate it
> with the right Title.

Hi Cliff,

Pretty sure this bug is fixed in the latest release of ZWiki. The workaround I used to use was changing the page title through the "Properties" tab of the ZMI instead of through the Edit tab or the ZMI.

That might work for you too until you have a chance to upgrade.

:-)

Regards and best wishes,

Justin Clift

PieterB, 2003/01/08 09:19 GMT (via web):
Simon, could you check my fix for [add a doctype and charset to the default skins to make them ValidHTML]? into CVS for zwiki 0.14 final?

Bill Kerr, 2003/01/08 11:47 GMT (via web):
**UserOption problem:**

I've installed a zwiki and in general it seems to work OK but when I go to UserOption I can't create a new user. I'm typing in a User name and Email address and clicking the Save options button.

Just tried to post the traceback but it scrambled, I'll chop it for now

I've tried adjusting my cookie security levels but this hasn't solved the problem. My operating system is Windows XP and running zope_2.6.0 locally. Any help much appreciated.

Bill Kerr

DeanGoodmanson, 2003/01/08 15:11 GMT (via web):
Titles vs. Page Names

This is handy, but a bit problematic when it comes to SubWikis. I would avoid it when you can, aided by FreeFormLinks

Does the title change via ZMI will get Cataloged appropriately?

Justin Clift, 2003/01/08 15:36 GMT (via mail):
Re: Templates on ZWiki

Philip Hohn wrote:
> Dear Justin Clift!
> I was wondering if you could help me with a small problem on my wiki!
> I am trying to put different page-templates for different topics into
> one wiki.
> Is that possible? How can it be done?

Hi Philip,

Am CC'ing the Zwiki GeneralDiscussion mailing list with this too, as it's might help helpful for others as well. :)

Well, the approach that works for me is kind of... cheating.

I have Zope+Zwiki installed on a server, along with Apache 1.3.x.

The Apache server handles the incoming requests, and uses mod_rewrite to direct the requests to the Zope server.

On the one Zope server, there is a seperate Zwiki Web instance for each subdirectory (my site only goes one directory deeper than the root directory), and each instance has it's own look and feel from it's own standard_wiki_header and standard_wiki_footer files.

Not sure if that description helps, I'm really sleepy (2am here).

Maybe this will explain it better:

+ Apache 1.3.27 in front + Zope 2.6.0 sitting behind it \ Zwiki instance 1 + standard_wiki_header + standard_wiki_footer

\ Zwiki instance 2 + standard_wiki_header + standard_wiki_footer

"www.mysite.org/aboutus" is redirected by Apache to Zwiki instance 1

"www.mysite.org/casestudies" is redirected by Apache to Zwiki instance 2

This can be scaled up to many more Zwiki instances pretty well in theory, as everything in nicely seperated and pretty manageable.

Does this make sense to you?

:-)

Regards and best wishes,

Justin Clift


> I thought about something like subfolders in the wiki with another
> "wikipage.zpt" in each folder...
>
> Thanks for your reply
>
> Philip Hoh

PieterB, 2003/01/08 16:53 GMT (via web):
BillKerr, did you look at [with zope 2.6.0, dtml pages like UserOptions, RecentChanges, SearchPage are broken]? and other KnownIssues?

LarryP?, 2003/01/08 22:05 GMT (via web):
just wondering... has anyone written a handler for the ReplaceSupport product to do search&replace on ZWiki pages? It sounds like it's trivial from the included readme, but I'm a complete Python newbie. Thanks

DeanGoodmanson, 2003/01/08 23:19 GMT (via web):
browse cvs link, footer comments

FrontPage browse CVS link is down. (Noted that on my wikis footer the FreeFormLinks? get the spaces removed in the manage this page: section, yet at Zwiki they're OK. I need to get the latest footer...can do from other means.

Note on footers:

I put a <dtml-try><dtml-var footerExtras></dtml-try> link in my footer just above the manage this page section and conditione it to to hide on "minimal". Worked well for plopping in backlinks, /print links, etc. into a management dtml-method, not having to edit the footer code.

Is a similar approach something that could be considered for the main product? Would "headerExtras" be approprite for StyleSheets, etc?

DeanGoodmanson, 2003/01/08 23:54 GMT (via web):
RFC: OpenQuestions?

I'd think a lot of questions are falling through the cracks and archives. Is this a viable solution? Example at SubWikiDiscussion.

DeanGoodmanson, 2003/01/08 23:58 GMT (via web):
ReplaceSupport?

Wiki-Wide, or Page-Wide Find&Replace? For wiki-wide, the code for "rename and change all links" functionality sounds like a good place to start.

BillKerr, 2003/01/09 02:37 GMT (via web):
PieterB wrote, 2003/01/08 16:53 GMT (via web): BillKerr, did you look at [with zope 2.6.0, dtml pages like UserOptions, RecentChanges, SearchPage are broken]? and other KnownIssues?

Just read that and implemented the suggested changes to Zope, but it didn't fix the error. The error message I'm getting is NameError. The same error occurs when I click on the full,simple,minimal links at the bottom of a Zwiki page. Apart from these two things the Zwiki seems to be working fine.

Later: Have now fixed this problem, the fix is at IssueNo0345 at KnownIssues

PieterB, 2003/01/09 12:32 GMT (via mail):
zwiki script (fwd)

KristinaBuenafe? wrote (in private e-mail):


> I just installed a ZWiki Web on my Plone site and found the
> XHTML 1.0 transitional compliant skins for Zwiki and Plone
> that you posted at http://zwiki.org/IssueNo0419 - is the
> wikipage_view.pt file just supposed to say: In case master
> has no "header" macro.
> In case master has no "footer" macro.?
> thanks,
> Kristina Buenafe

I can't remember that it said that ;)

I'm going on a holiday now for a week, so I hope Simon or some other ZwikiContributor? can answer your question sooner than me. Otherwise, I'll have a look at it later.

Pieter

PieterB, 2003/01/09 12:53 GMT (via mail):
BillKerr wrote:


> Just read that and implemented the suggested changes to Zope, but it didn't
> fix the error. The error message I'm getting is NameError?.

See also: http://zwiki.org/IssueNo0349 or search for NameError? on zwiki.org

PieterB

JordanCarswell, 2003/01/09 16:04 GMT (via web):
For those interested, I've got a new "style" for ZWiki available for download and trial. You can just download the export file and import it from ZMI into Control Panel > Product Management > ZWiki and it shows up in your style choices when you create a new ZWikiWeb?. Includes CSS-based, HTML 4.0 compliant Zwiki template, some structural changes, re-designed editor interface, AllPages for site indexing, property for switching style sheet automatically, et al.

I would appreciate some feedback as you have time. This was an academics project that we are developing for faculty, but it could be used by anyone. I would apreciate your comments.

http://www.learningecology.org/Commonplace

SimonMichael, 2003/01/09 18:08 GMT (via web):
Way to go Jordan! But it seems like that domain's name servers may have a problem.

JordanCarswell, 2003/01/09 21:01 GMT (via web):
> But it seems like that domain's name servers may have a problem

Huh? What kind of problems are you having?

SimonMichael, 2003/01/09 22:34 GMT (via web):
A DNS lookup of the host name hung; of the two name servers, I could ping 198.64.16.250, but a dns query hung. At this moment I can ping both, and one of them knows about www.learningecology.org.

SimonMichael, 2003/01/09 22:44 GMT (via web):
Very nice indeed!

DeanGoodmanson, 2003/01/09 23:46 GMT (via web):
** Commonplace ** .. CommonPlace ??

First I just imported it straight into the ZMI. :-} Second time via adding into control panel. Below applies to both

+1, Very Nice.

Your address is the value in the mail_from :-/

I didn't notice a mailout_policy property.

When did the backlinks show up?

The link at the bottom should probably be moved to only one of the About pages. It seemed easy to end up lost at your site rather than mine.

You may also want to add the ZwikiPrinting dtml method for a "print this pge" functionality. (I need to recheck those pages here, I think the default does the current page and all under it [in the heirarchy]

Although perhaps not necesarily easy to fix, it carries some CSS baggage:

You've got a nice consice way of describing the environment...would like to hear more about the target audience for this, if it is scoped.

Simon Michael, 2003/01/10 00:31 GMT (via mail):
Zwiki 0.14 released

In december we had a mailin.py rewrite. If you don't use mailin, no need to upgrade. After installing this you'll want to click your external method's save button to update it. Note this version of mailin.py drops the special virtual host support.

Changes

Mail

Download: http://zwiki.org/releases/ZWiki-0.14.0.tgz or http://zope.org/Members/simon/ZWiki/ZWiki-0.14.0.tgz

Happy new year all, -Simon

SimonMichael, 2003/01/10 00:34 GMT (via web):
Pieter - sorry, it didn't seem worth another pre-release. I'll check that in for 0.15.

SimonMichael, 2003/01/10 00:36 GMT (via web):
Cliff - those %20 links will work if you have zwiki's special standard_error_message installed. You can copy that from a new wiki. Hope your demo went well.

SimonMichael, 2003/01/10 00:45 GMT (via web):
FYI there's a lot that needs doing but I am time-challenged right now. I need to focus energy on income-generating work. Hopefully the more active zwiki hacking will resume soon.

Simon Michael, 2003/01/10 15:37 GMT (via mail):
release notes addendum

I should have mentioned this: mailin.py no longer discards low precedence or mailing list messages.

SimonMichael, 2003/01/10 18:18 GMT (via web):
RFC: ZwikiFAQ? rename

Currently there's FAQ, an automatic list of all ...FAQ pages, and ZwikiFAQ?, an index of questions on all FAQ pages. I'm thinking of moving the content of ZwikiFAQ? to FAQ. Con: breaks the rule that all FAQ-type pages end with FAQ. Pro: one less page, and the "zwiki.org/faq" url will work.

DeanGoodmanson, 2003/01/10 18:29 GMT (via web):
RFC: ZwikiFAQ? rename

+1 . Suggest putting the reminder to place comments on GeneralDiscussion not at the FAQ page at the bottom, chucking the comment box, and potentially reviving the question form for auto-posting to GeneralDiscussion.

DeanGoodmanson, 2003/01/10 18:31 GMT (via web):

>> I should have mentioned this: mailin.py no longer discards low precedence or mailing list messages.

Does this affect Auto-Reply "Out of Office" discarding functionality?

SimonMichael, 2003/01/10 20:06 GMT (via web):
No, those are still discarded. mailin.py:isJunk() shows the exact situation.

Argh, and I thought I was done. Check out FAQ now.

FlorianKonnertz, 2003/01/10 21:13 GMT (via web):
How to set display mode to full by default? Could anybody point me to that, has anybody done this already?

SimonMichael, 2003/01/10 21:34 GMT (via web):
Florian - I added a response to CustomizationFAQ?.

FlorianKonnertz, 2003/01/10 22:01 GMT (via web):
*Thanks, Simon. I hope i manage the modification, i want new users to see the full functionality of zwiki at once. - BTW, after posting I noticed the new FAQ pages system. - Looks very good! :-) ..... Now it's time for me to sleep....!*

Chad Miller, 2003/01/10 22:34 GMT (via web):
I finally uploaded my MoinMoinMarkup changes. Please take a look.

FlorianKonnertz, 2003/01/10 22:34 GMT (via web):
ProjektWikiVerwendung?

Hi Simon, these people are from a german university and did an investigation of several WikiClones including ZWiki. The writings are very good and offer a good intro to wiki in general. For that reason i reparented these pages to TranslatedPages. - I asked them to introduce themselves to the whole community (once again), but as far by now they seem not to get the wiki way and unfortunately they post their pages in german to several other wikis (WikiWikiWeb:ProjektWikiVerwendung)... :-( Let's wait some days / weeks and then adjust (rename etc.) these pages as it's useful for us, ok? - Florian

SimonMichael, 2003/01/11 03:32 GMT (via web):
Thanks for your care-taking Florian. I'll leave this in your hands. I expect the pages will find a good home somewhere, meanwhile it's interesting to have them here to explore language issues.

2003/01/11 11:02 GMT (via web):
Hi,

I need LaTex? in my ZWiki. A've installed LatexWiki, applied the patch, create the images directory, put the standard_page_type property in the wiki folder and I have all the progras it requires (GhostScript?, teTex, ImageMagick? -the last Debian packages).

But it doesn't renders the LaTeX? code and when I create a new ZWiki page this error occurs:

Traceback (innermost last): File /usr/lib/zope/lib/python/ZPublisher?/Publish.py, line 150, in publishmodule File /usr/lib/zope/lib/python/ZPublisher?/Publish.py, line 114, in publish File /usr/lib/zope/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook (Object: FrontPage) File /usr/lib/zope/lib/python/ZPublisher?/Publish.py, line 98, in publish File /usr/lib/zope/lib/python/ZPublisher?/mapply.py, line 88, in mapply (Object: edit) File /usr/lib/zope/lib/python/ZPublisher?/Publish.py, line 39, in call_object (Object: edit) File /usr/lib/zope/lib/python/Products/ZWiki/ZWikiPage.py, line 1998, in edit (Object: FrontPage) File /usr/lib/zope/lib/python/Products/ZWiki/ZWikiPage.py, line 1845, in create (Object: FrontPage) File /usr/lib/zope/lib/python/Products/ZWiki/ZWikiPage.py, line 2338, in _setText (Object: LaTex?) File /usr/lib/zope/lib/python/Products/ZWiki/ZWikiPage.py, line 231, in _preRender (Object: LaTex?) File /usr/lib/zope/lib/python/Products/ZWiki/ZWikiPage.py, line 210, in _render (Object: LaTex?) File /var/lib/zope/Products/LatexWiki/__init_.py, line 39, in render_structuredtextlatex (Object: LaTex?) TypeError?

What's the problem?

I use Zwiki 0.11.0

Thanks

FlorianKonnertz, 2003/01/11 11:43 GMT (via web):
ProjektWikiVerwendung?

Alright, Simon. - I like this decent and tolerant way of treating off-topic content (and newbies) here on zwikidotorg. On WikiWikiWeb they got quite angry about these PWV-people... but i don't have the energy and time to flame and you don't either right?

What language issues do you explore BTW? German or general?

SimonMichael, 2003/01/11 16:12 GMT (via web):
I see you have /usr/lib/zope/lib/python/Products/ZWiki and /var/lib/zope/Products/LatexWiki which seems confusing. Shouldn't you have just one product (Zwiki) with the LatexWiki patches applied ?

Not to state the obvious, but the traceback says line 39 in /var/lib/zope/Products/LatexWiki/__init__.py is the problem. :) I don't have the code handy, post that line if you like.

FlorianKonnertz, 2003/01/11 17:04 GMT (via web):
I made an link panel for handy links to SisterSite?-s and added my older code for a backlinks panel to a howto. See AdditionalLinkPanel. - Cheers, Flo

DeanGoodmanson, 2003/01/12 16:02 GMT (via web):
StructuredText Hacks

After many months with StructuredText I'm comfortable, but primarily wishing for better table markup. (Although it pulls surprises once in awhile, I like that it's not as cryptic as some [WikiMarkup]?s with double & triple punctuation tokens.)

Currently with ZWiki we have good source maintainability with a mix of [STX]? and HTML, except for complex scenarios (I'm not sure I'd get adoption of a Wiki w/out HTML support, btw) and tables.

Could anyone direct me to the land of the mutant StructuredText so I can integrate an additional table markup support for my closed user base?

DeanGoodmanson, 2003/01/12 20:29 GMT (via web):
Having trouble finding the page which you can use to point at a ZWiki and extract the version.

alex bould, 2003/01/13 02:24 GMT (via web):
In versions 0.14.0 and 0.13.0, when I use square brackets to create a link on a page (not pure wiki style admittedly but readable to management) the URL for the page that gets created is altered to a mixed case version - a feature that I like. E.g. if I create a page [follow this link]? on FrontPage then the URL becomes FrontPage/FollowThisLink. However, when I try to navigate to the page using the navigation tree (rendered by standard_wiki_header.dtml with calls to python) the URL is FrontPage/follow%20this%20link which breaks the nav tree - NB to nav to this page using the nav tree I have to have created a further page within FrontPage/FollowThisLink so that I have somewhere to nav from. Also the tool tip that is rendered on FrontPage for the hyperlink "follow this link" (which correctly points at FrontPage/FollowThisLink) has the value "XXX zwiki bug - couldn't find page". A fix would be most appreciated

Cliff Quinn, 2003/01/13 02:41 GMT (via web):
This is exactly the same problem I have mentioned. ANy? ideas what's happening. Same thing is true of the "(sitename) contents" page. Have a look at http://fishability.biz/SCHeritage/SCwiki/

2003/01/13 05:45 GMT (via web):
XX zwiki bug ..

reported: [title attribute wrong on Issue links]?

Are you running with a Catalog?

I would suggest a. Cleaning out your recycle_bin folder, and b. removing all items in your catalog that map to any sub-folders, especially recycle_bin.. There's removing everything and re-searching, but that's drastic and probably won't take care of this scenario.

2003/01/13 07:11 GMT (via web):
I have replicated this error when I create a brand new zwiki on a clean install of zope. I'm not sure if the suggestion you gave is aimed at just the tool tip but the fact that the tool tip is wrong doesn't really worry me - I just mentioned it in passing since it seems related - the thing that is causing me grief is that the navigation from within the wiki header appears broken for links that have been created with square brackets - hope this clarifies things

DeanGoodmanson, 2003/01/13 16:06 GMT (via web):
Does the search page search titles? I would have expect an IssueNo... hit when searching on "attribute wrong on Issue links"

Simon Michael, 2003/01/13 16:48 GMT (via mail):

> Having trouble finding the page which you can use to point at a ZWiki and
> extract the version.

ZwikiAnalyzer

Simon Michael, 2003/01/13 16:57 GMT (via mail):
zwiki@zwiki.org (alex bould) writes:
> becomes FrontPage/FollowThisLink. However, when I try to navigate to the
> page using the navigation tree (rendered by standard_wiki_header.dtml with
> calls to python) the URL is FrontPage/follow%20this%20link which breaks the

Hi - these links in the map depend on a custom standard_error_message. In a new wiki this should be present and you should see these links working. Is this not the case ?


> from. Also the tool tip that is rendered on FrontPage for the hyperlink
> "follow this link" (which correctly points at FrontPage/FollowThisLink) has
> the value "XXX zwiki bug - couldn't find page". A fix would be most

That message has to go. There is not yet a solution for the underlying problem, which is that the current linking code is not so smart/fast that we can afford to look up a freeform link's target page in all circumstances. Namely, if the target page's id is not equal to (a) the link text or (b) the canonical page id for the link text, zwiki gives up looking. This happens with eg tracker issues and with pages where you've manually changed the title or id so they don't correspond (as on JordanCarswell's course site).

Simon Michael, 2003/01/13 17:02 GMT (via mail):
StructuredText Hacks

Dean, a place to do zwiki-specific STX customizations would be myDocumentClass in Utils.py. See doc_table where I already do some customization to the table handling. You may need to look at the StructuredText package for the larger picture. Good luck.

SimonMichael, 2003/01/13 17:18 GMT (via web):
Have HTTP connections to zwiki.org stopped terminating properly as of a couple of days ago ? Ie pages load but the browser throbber keeps going.

Simon Michael, 2003/01/13 17:46 GMT (via mail):

> Does the search page search titles? I would have expect an

Hmm, no. SearchPage? predates the use of title, and searches only id and body.

Cliff Quinn, 2003/01/13 18:38 GMT (via web):
Simon - I really appreciate the help so far. There is a in this wiki. At the bottom of the dump on the %20 error link, I get "(Also, an error occurred while attempting to render the standard error message.)"

TIA, Cliff

Cliff Quinn, 2003/01/13 19:34 GMT (via web):
Sorry - put code in by mistake. I have a zwiki standard_error_message version 0.10.0.

DeanGoodmanson, 2003/01/13 21:21 GMT (via web):
edit function

Is there a paremeter that can be added to an edit call to force a mail-out of the diff, regardless of mailout_policy. (Ideally mailout_policy property must exist for a mailout...)

Willing to implement this if it doesn't exist but first need a discussion.

Related to another thought: I like the new checkbox functionality with heading and mailout, and in general prefer the "Major Change gets a mailout" control. With that said, a checkbox on the editform to "notify subscribers" (with the log and diff) would be a nice addition to the current comment mode functionality.

This can be moved to WikiMailDiscussion at any time.

Denis Penard, 2003/01/14 13:13 GMT (via mail):
edit function

Hi,

How can I remove my email from the zwiki.org mailing list ? tks Denis

DeanGoodmanson, 2003/01/14 15:12 GMT (via web):
remove from the list

Specifically for GeneralDiscussion, visit http://zwiki.org/GeneralDiscussion/subscribeform .

Unsubscribing is available from the subscribe link on a page.

DeanGoodmanson, 2003/01/14 15:26 GMT (via web):
HelpPage

Updated the FAQ link on the HelpPage. Should the ZwikiIssueTracker link be changed to IssueTracker also?

Denis Penard, 2003/01/14 15:34 GMT (via mail):
remove from the list

Thank you very much

Denis

DeanGoodmanson, 2003/01/14 15:35 GMT (via web):
Style Sheets link in page

Is there any way to apply a stylesheet link tag to a single page through a dtml or other method in the contents of that page itself?

My only current workaround (thought) is a hack to the header to allow inserting a pages property into the standard_wiki_header.

SimonMichael, 2003/01/14 22:57 GMT (via web):
Denis, I don't know your email address - unsubscribe yourself the same way you subscribed. I just added details to the UsageFAQ? - let us know if you have trouble with this.

FlorianKonnertz, 2003/01/15 15:36 GMT (via web):
Has anybody already tried to improve the SearchPage?? I want to see the matches and context on the result page.

SimonMichael, 2003/01/16 01:44 GMT (via web):
HelpPage

Dean - yes, thanks.

FlorianKonnertz, 2003/01/16 14:44 GMT (via web):
Have you ever tested DocFinder? for documentation? Simon, you have to install it on ZwikiDotOrg?! It is worthwile having a look on all python, dtml, whatever stuff that has to do with a ZWikiPage, -Web, basic ZoPe functions etc. Orignally it looks much nicer than on my example page.

2003/01/16 17:26 GMT (via web):
A simple question (I hope) from a ZWiki newbie: How can I change the Site Logo?

FlorianKonnertz, 2003/01/16 18:43 GMT (via web):
Please see the CustomizationFAQ?.

JohnGreenaway, 2003/01/16 22:35 GMT (via web):
Been away for a bit. I'm fairly sure when I was here last the page count was around 1000ish. It's over 1600 now! Seems to have grown pretty fast over only a few weeks. (just looking at RecentChanges?, the entire page is covered by Florian - that's quite impressive). AllPages still seems fast though, which is good to know.

Dean - I've replied to your question on my page.

JohnGreenaway, 2003/01/16 22:59 GMT (via web):

> Is there any way to apply a stylesheet link tag to a single page through a dtml or other method in the contents of that page itself?

you should just be able to put:

 <link type="text/css" href="location_of_style_here" rel="stylesheet">

in the content. Or actually inside like:

 <style type="text/css">
        body{font-family: Verdana;}
 </style>

or inline like this

I've put a style on JohnGreenawayTestPage, seems to work OK. Depends how much HTML you want in the wiki content. I'm happy with it, but other seem to prefer "pure" wiki markup. Also ,without going to the w3c specs, I'm reasonably sure that css links should really go in the head of a doc, but they seem to work OK in the body.

JordanBaker?, 2003/01/17 06:51 GMT (via web):
Hi, I'm wondering if you can sub-class and add attributes to the ZWiki documents?

For example I have an application where I would like to index the ZWiki authored documents in several ways using a catalog.

DeanGoodmanson, 2003/01/18 06:27 GMT (via web):
quick thoughts

John - Thanks again. :-)

Jordan - Subclass in the ZMI, or on a file-system level? On the file-system level check out the Tracker.py and Fit.py code for examples of what it sounds like you might want to do...an in the mean time, please read over ZwikiRecordBook, I'd love to hear and collaborate on what your up to.

World - I'll be on again/off again for the next week or so due to my wife's latest release: . :-) All parties are doing well with no complications.

2003/01/19 01:02 GMT (via web):
I'm having some trouble with my zwiki and its interaction with the zope cache. Basically when I edit a page, the changes don't show up if I reload that page. If I re-edit that page, I see my previous changes. Doing this several times, I get a seemingly random assortment of old versions as I continue to reload the page. Focibly flushing the zope cache always causes me to get the most recent version (correctly). So this is a zope cache problem, not a browser cache problem. (I've tried running several browsers simultaneously to check) This happens both when I use the editform and external editor.

Any suggestions on this?

I'm using the following from debian unstable:

ii  zope           2.5.1-2.7      An Open Source Web Application Server
ii  zope-externale 0.6-1          Zope External Editor
ii  zope-zwiki     0.11.0-1       WikiWikiWeb on Zope
ii  zopeedit       0.6-1          Helper Application for Zope ExternalEditor

JordanCarswell, 2003/01/19 07:22 GMT (via web):
How do you do a HorizontalHeaderMenu using TAL as opposed to DTML? I tried adding the code as posted but had a TAL error returned.

SimonMichael, 2003/01/19 21:26 GMT (via web):
Caching - doesn't sound familiar. Note zwiki does it's own caching to speed up page rendering, does visiting PAGEURL/clearCache help ?

SimonMichael, 2003/01/19 21:29 GMT (via web):
quick thoughts

Dean - congratulations! :) Thanks for the picture.

SimonMichael, 2003/01/19 22:16 GMT (via web):
I unsubscribed two addresses from FrontPage, which doesn't receive comments.

Simon Michael, 2003/01/19 22:21 GMT (via mail):
comment not showing up on John Greenaway

zwiki@zwiki.org (DeanGoodmanson) writes:
> Thanks, John. Swishdot is still vaporware. There was some hope (via the
> zope list) that it would appear over Christmas vacation, but
> no. (Squishdot running on 2.6 did come through.) I worked on an RSS 2.0
> feed for Squishdot over break myself, and that has the same calls needed
> to produce a "dump" of squishdot content before a migration. Your
> AllPages initiative has proven to be quite helpful to me recently as
> I've gotten a request for more ways to help be a better WikiLinker?. --
> forwarded from http://zwiki.org/JohnGreenaway

That's odd, how did I receive this mail from JohnGreenaway yet the comment doesn't appear on the page or in the history.

Simon Michael, 2003/01/19 22:31 GMT (via mail):
zwiki skins happening

Jordan has updated his CommonPlace skin. I left a comment at CommonPlace:GeneralDiscussion; will probably continue to talk about it here unless things become really active over there (which they might).

If JohnGreenaway's skins were available, we'd have a nice little collection taking shape..

WikiTemplates is the home page for these things, but we'll probably end up using the word "skin", even though these often include wiki content as well.

It should be easy enough to configure these as CMF skins which could be selected on the fly.

Bob McElrath?, 2003/01/19 22:40 GMT (via mail):
SimonMichael [zwiki@zwiki.org]? wrote:
> Caching - doesn't sound familiar. Note zwiki does it's own caching to speed up
> page rendering, does visiting PAGEURL/clearCache help ?

The problem was with LatexWiki, and the page type structuredtextlatex defined by it. I have submitted a patch to the maintainers that you can grab if you're interested.

I copied a few lines From ZWikiPage.py in the function render_structuredtextlatex:

    if not self._prerendered:
        get_transaction().note(prerender)
        self._prerendered = t or \n
        self.cook()
    if kw.get(pre_only,0): return

It appears that the critical line that causes or prevents this bad cache behavior is

self.cook()
. Can someone explain this behavior to me? Could someone explain what the "prerendering" is supposed to do? It is effectively disabled with the above code.

SimonMichael, 2003/01/19 23:01 GMT (via web):
Hi Bob.. I can't say exactly what's going on with LatexWiki, I don't even know if it's a patch to zwiki 0.11 or it's own snapshot, but in general: prerendering is where zwiki tries to do as much of the page rendering work as possible once after an edit, rather than on every page view. All the page types containing "pre" do this. I don't remember how solid this was in zwiki 0.11, I would use 0.14. self.cook() is necessary only for page types which need to support embedded DTML (page types containing "dtml"). DTML does it's own prerendering for the same reasons as zwiki, and cook() tells it to update it's cached data. Note zwiki overrides cook, perhaps this (lack of this) is your problem. Does this help ?

DeanGoodmanson, 2003/01/19 23:45 GMT (via web):

>> That's odd, how did I receive this mail from JohnGreenaway yet the comment doesn't appear on the page or in the history.

themail-out happens before page update, right?

that message was lost just like the Stephen Figgins backlinks page modification request..??

JohnGreenaway, 2003/01/19 23:51 GMT (via web):
Guess I should subscribe to my own page ;) I never saw that comment...

Re: skins/styles/templates - there's two ways to go about it I think.

  1. Different templates on the filesystem (I guess zpt files?) that actually generate different html. I'm not sure how you do this with Zope/Python (just not familiar enough). In J2EE we'd use Tiles, or some similar custom framework.
  2. Styles done by switching css files. Here the html stays the same, but the user (or just admin) sets the way it's presented. That would let different users have different styles, but the html served is always the same. There's less scope for radically different layouts here though.

We did it the second way. The basic zwiki html code was changed to make it a bit more valid (eg h1 instead of <big><big><big>, divs making out sections etc). Then the css linked to set by the user's cookie.

If the zwiki code becomes valid xhtml (say PieterB's stuff gets merged in) then this become viable. Quite happy to adapt the css we've got (if I can find them - we're not using them now...) or write some new styles. We're on a major accessibilty drive at the moment so valid xhtml/css is high in the mind at the mo.

I'd be quite nice to see the zwiki html to become completely clean of presentation, with the tags that are left being simply a sementic description of the content. Then the css can do the layout/presentation work.

Bob McElrath?, 2003/01/20 01:15 GMT (via mail):
Ok so I would like to use this prerendering, since latexwiki is fairly slow (though most of it is spent in latex and image munging). The below applies to both ZWiki 0.11 and 0.14 (I checked both, behavior is same in this regard).

So I tried doing this in render_structuredtextlatex:

 def render_structuredtextlatex(self, client=None, REQUEST={},
                               RESPONSE=None, **kw):
    t = str(self.read())
    if not self._prerendered:
        get_transaction().note('prerender')
        t = self.applyLineEscapesIn(t)
        latexTemplate = None
        latexTemplatePage = getattr(self._my_folder(),
                                    'LatexTemplate', None)
        if latexTemplatePage: 
            latexTemplate = latexTemplatePage.text()
        t = replaceInlineLatex(t, latexTemplate)
        t = self.stxToHtml(t)                   # must be done after latex
        self._prerendered = t or '\n'
        self.cook()                             # pre-parse DTML
        self._preLink()                         # pre-parse links
    if kw.get('pre_only',0): return
    self._renderWithLinks()                     # bottom half of _preLink
    t = apply(DTMLDocument.__call__,(self, client, REQUEST, RESPONSE), kw)
    t = self._renderLateLinkTitles(t)
    t = apply(self.addStandardLayoutTo,(t,),kw)
    return t

based on what is done in the other render_* methods, but the pages rendered don't have stx markup or latex or links properly marked up. What is going on?

If I read this correctly, the pre-rendered page is stored in self._prerendered, and then should be retreived from this variable. However it appears that it is not...

Also I tried commenting out all the latex stuff (which makes this function identical to render_stxprelinkdtmlhtml), and still none of the stx or links are marked up.

Any idea what is going on here?

Simon Michael, 2003/01/20 01:16 GMT (via mail):
zwiki@zwiki.org (DeanGoodmanson) writes:
> themail-out happens before page update, right?

Ah yes.. the edit failed with a memory error (which still happens once in a while due to slow leakage and running close to quota) but mail operations aren't transaction-aware so the mail went out.

A related problem is that zope sometimes retries a transaction a number of times in which case you can get many duplicate mailouts. I'm not sure how to get around this, other than using mailman for delivery and hoping it will filter the duplicates.

SimonMichael, 2003/01/20 02:01 GMT (via web):
Bob - are you seeing the cached rendering from the earlier code ? Call /clearCache on the page to be sure you're seeing the latest. (Generally, call SOMEPAGE/upgradeAll after any change to zwiki's rendering code). If that doesn't help I would debug with ZEO or sprinkle some DLOG()s in your method to see what's going on.

SimonMichael, 2003/01/20 03:59 GMT (via web):
don't forget Page Maintainer -

"Use this WikiBadge on your personal page to indicate that you are a page maintainer for one or more pages on this wiki. Wear this badge with pride."

SimonMichael, 2003/01/20 04:04 GMT (via web):
Cool - first sighting of a page with multiple maintainers (DTMLCookbook). :)

FlorianKonnertz, 2003/01/20 07:20 GMT (via web):
I'd like to have an overview of all other ZopeProducts already tested together with ZWiki. Motivation: Currently checking products useful for ZwikiRecordBook and ZwikiAndProjectManagement. Does anybody want to help? Are there already any pages concerning this issue?

DeanGoodmanson, 2003/01/20 15:17 GMT (via web):
DeletedPages?

Thanks for the cleanup, Simon. I was about to recommend that the page text be added to a page deletion email, but then remembered the RecycleBin?.

We might want to make a note on the ZwikiGardening? page regarding how to set permissions on the /recycle_bin so those can't be deleted without proper authentication.

Simon Michael, 2003/01/20 15:49 GMT (via mail):
google coming


> Simon: The GooGle? website says, that it takes up to 4-6 weeks for new
> websites to get indexed automatically and i think i read elsewhere that
> he comes by every four weeks in average.
>
> I use Linux-2.4.20, Zope-2.5.1;
>
> We will upgrade our server soon, so all robots are invited to come ;-)
> --
> forwarded from http://zwiki.org/TheRobotProblem

I allowed googlebot in this site's robots.txt again. With luck we won't notice anything.

Simon Michael, 2003/01/20 15:50 GMT (via mail):
zwiki and other products

zwiki@zwiki.org (FlorianKonnertz) writes:
> I'd like to have an overview of all other ZopeProducts? already tested
> together with ZWiki. Motivation: Currently checking products useful for
> ZwikiRecordBook and ZwikiAndProjectManagement. Does anybody want to
> help? Are there already any pages concerning this issue?

I think that would be nice. Check out the ZwikiAnd... pages on ZwikiDevelopment?.

Simon Michael, 2003/01/20 15:53 GMT (via mail):
DeletedPages?

zwiki@zwiki.org (DeanGoodmanson) writes:
> Thanks for the cleanup, Simon. I was about to recommend that the page
> text be added to a page deletion email, but then remembered the
> RecycleBin?.

I'll change those "forwarded from" links to point into the recycle bin, I think.


> We might want to make a note on the ZwikiGardening? page regarding how to set
> permissions on the /recycle_bin so those can't be deleted without proper
> authentication.

Oh, can you delete stuff again in the recycle bin ? What happens then, is it gone, or recycled one level deeper ?

SimonMichael, 2003/01/20 16:00 GMT (via web):
zwiki and other products

They're on ZwikiDocumentation, actually. Also let's be sure to avoid unnecessary duplication, for readers' and maintainers' sanity.

SimonMichael, 2003/01/20 16:07 GMT (via web):
I would vote not to start a discussion about this on ZopeProduct - to encourage DocumentMode? I think we should avoid adding a Comments section to pages whenever possible. In some cases I've been adding links like "for discussion, see (existing discussion page)".

Simon Michael, 2003/01/20 17:25 GMT (via mail):
new stats

I added some little counts to the stats box on FrontPage, and enabled the webalizer link. The webalizer reports will get indexed by google, including visitors' IP addresses.. I think that's not a problem.

This is a nice feature that imeme provides with no work needed on my part. Except, it seems it may be keeping only the last year of data. You can see the site had strong growth over 2002. I don't know how much of that traffic is robots.

DeanGoodmanson, 2003/01/20 19:34 GMT (via web):
RecycleBin?


>> Oh, can you delete stuff again in the recycle bin ? What happens then, is it gone, or recycled one level deeper ?

Defenitely not one level deeper (last I looked, but what I would prefer), as SubWiki pages move to the first recycle_bin they find upon deletion. See SubWikiDiscussion

John Greenaway, 2003/01/20 21:12 GMT (via mail):
new stats


> I added some little counts to the stats box on FrontPage, and
> enabled the webalizer link.

I think the visitor numbers are likely to be quite a lot higher. I know it's an awful long time since I actually visited the FrontPage. RecentChanges? tends to be more of a first stop. I know when we ran initally ran analog on our wiki logs the page hits for non-front pages were surprisingly high, much more so than for a normal website. People seem to either bookmark their own page or RecentChanges?. Shortly after we added a RecentChanges? summary on the front page (last 10 updates in a box on the left) and a link to that visitors own page, just so all the useful info was together in one place.

The full version of NedStat? is pretty good too, we use it at work. Can generate all sorts of useful reports.

DeanGoodmanson, 2003/01/20 21:42 GMT (via web):
RecentChanges? snap-shot

John - Would you mind posting the code for the EmbeddedPage'able RecentChanges? in the ZWikiCookbook? (or wherever, it's a handy snippet.) I was impressed by a peers use of a modified (old) Fast Changes for this purpose.

But what's really important:

Did you do anything special to cache this? Seems like a potentially expensive operation.

2003/01/20 21:57 GMT (via web):
I got a newbie question: is there a possibility to upload files within a zwiki page? so people can work on a document similarly to cvs?

SimonMichael, 2003/01/20 23:49 GMT (via web):
Yes, click edit and you'll see the file upload form (assuming you have permission). It isn't equivalent to cvs, no version tracking of files is done.

SimonMichael, 2003/01/21 00:03 GMT (via web):
new stats

That's interesting. I wonder if RecentChanges? would be a more accurate place to put the nedstat graphic then. On the other hand webalizer says FrontPage is a far more popular entry page on this site. It feels as if I use them about 50-50 as my starting points.

2003/01/21 00:22 GMT (via web):
hm, i can find the upload form here, but on my zope at my server, there is no upload form. how do i put this? i have the version ZWiki-0-11-0. do i have to change some permissions? there is no permission for uploading local files on my zope...

PieterB, 2003/01/21 00:45 GMT (via mail):
Simon wrote


> I would vote not to start a discussion about this on ZopeProduct - to
> encourage DocumentMode? I think we should avoid adding a Comments section to
> pages whenever possible. In some cases been adding links like "for discussion,
> see (existing discussion page)".

What about discussion content issues as tracker issues (zwiki.org), and writing a small intro about it on GeneralDiscussion? That might be a workaround, until we have a good threading mechanism for discussions. For example see my comments on ZwikiGardeningPolicy? and/or ZwikiBestPractices? versus IssueNo0427?.

Please visit IssueNo0427? for further discussion...

-- PieterB

SimonMichael, 2003/01/21 01:28 GMT (via web):
upload form

I wrote more about this at the bottom of the UsageFAQ?. Does that help ?

SimonMichael, 2003/01/21 01:44 GMT (via web):
Pieter - I agree with using the tracker for any and all "issues" that need tracking. They don't have to be zwiki product bugs. I don't see it as a good place for discussions, as you seem to be using it with IssueNo0427?, but I could be wrong.

SimonMichael, 2003/01/21 01:53 GMT (via web):
I read it again. I think you're suggesting we track todo items/tasks as issues. IssueNo0427? seems like a proposal, I think you're also suggesting we can track those (like PEP's). That's true.

I almost think we should remove the distinction between ordinary pages and issue pages, getting back to the wiki simplicity of one kind of page (while keeping the advantages of the tracker).

2003/01/21 02:26 GMT (via web):
upload form: i changed the permission (enabled Add Documents, Images, and Files permission) but still, no upload option comes when i click on edit. could be there another reason for not working...?

SimonMichael, 2003/01/21 02:32 GMT (via web):
excessive linking considered harmful ?

We can easily link to lots of stuff but there may be cases where it's better not to. I'm thinking of two cases,

  1. you're writing a page and mention something which you know has it's own page (eg zwiki). It may be better not to link, especially if this is narrative or introductory documentation, since links are distracting for readers (there's a subtle "oh, I need to click on this" feeling).
  2. you're writing a page and mention something that has a natural wiki name and you think "yeah, this is on topic for the site so give it a page". This may have the same problem as above (unnecessary distracting links) but also adds to the number of pages in the wiki. On experimental wikis like WikiWikiWeb (and this one, to an extent) this is usually no problem. On task-focussed wikis whose purpose is to communicate information clearly (also this one, to an extent), all else being equal, less is more. Fewer pages means less work to keep the site clear and well-organized, less possibility of readers getting lost, less chance of duplicating information better described on other sites, less use of server resources and less chance of performance problems, etc.

Naturally this should be balanced against the value of adding useful pages to the wiki, how you want it to grow, the value of chaotic serendipitous creation, etc.

Comments ? If you know where this is discussed on WikiWikiWeb, please post a link.

copied to ExcessiveLinkingConsideredHarmful

2003/01/21 02:38 GMT (via web):
if i add a zwiki page, no other zwiki default pages are listed as mentioned in the OldAdministrationGuide2002. is this because i am using an old ZWiki version 0-11-0?

SimonMichael, 2003/01/21 02:48 GMT (via web):
upload form

Yes, another reason could be that you have a very old editform DTML method in your wiki folder (or somewhere above it). Is that possible ? If so, remove it.

Also make sure you changed the permission in the correct place (usually the wiki folder), make sure the page you're testing with doesn't override the permission (it should acquire everything), and make sure you set the permission for a role that you are actually logged in with (check the permission's boxes for all roles if you're not sure).

SimonMichael, 2003/01/21 02:54 GMT (via web):
adding a zwiki web

It sounds like you chose Add Zwiki Page, which just creates a single page. Choose Add Zwiki Web to create a folder with all the default wiki pages in it. If this was unclear in the admin guide please let us know or fix it if you can.

2003/01/21 03:22 GMT (via web):
adding a zwiki web: sorry, what i meant was a zwiki web, i typed it wrong though. again, i add a zwiki web but none of those default pages were generated.
upload form: this is on another site, i sent you an email.

Simon Michael, 2003/01/21 04:30 GMT (via mail):
zope 2.6's Date Indexes

This was interesting and is probably relevant to anyone doing extensive zwiki cataloging, like me:


>> >> If you need to index dates, you'll want to use a Field Index for that.
>> >> This needs to be ported from Zope 2.
>> >
>> > Surely the funky Date or DateRange? index would be better to use?
>>
>> I'm not aware of such a product, although I remember some talk about it.
>
> Both types are "standard" plug-in indexes as of Zope 2.6. From the
> DateIndex? README:
>
> Normal FieldIndexes? can be used to index values which are DateTime?
> instances, but they are hideously expensive:
>
> o DateTime? instances are huge, both in RAM and on disk.
>
> o DateTime? instances maintain an absurd amount of precision, far
> beyond any reasonable search criteria for "normal" cases.
>
> DateIndex? is a pluggable index which addresses these two issues
> as follows:
>
> o It normalizes the indexed value to an integer representation
> with a granularity of one minute.
>
> o It normalizes the query value into the same form.
>
> o Objects which return None for the index query are omitted from
> the index.

TedLongstaffe, 2003/01/21 08:38 GMT (via web):
I'm trying to understand Zwiki internals (at least to a certain degree). One thing in particular is troubling me. ReleaseNotes refers to zwikidir but I can't find the definition for this anywhere. I understand what it does, but where does it come from?

JohnGreenaway, 2003/01/21 09:30 GMT (via web):
Dean this is the code from our front page:

        <div id="FrontPageChanges">
        <span class="boxTitle"><a href="RecentChanges" title="see more changes">RecentChanges</a></span>
        <div class="box">
        <dtml-in "Catalog(sort_on='lastEditTime', sort_order='reverse')[:10]">
        <a href="&dtml.url_quote-id;" title="<dtml-var "folder()[id].linkTitle()">">&dtml-id;</a><br>
        </dtml-in>
        </div>
        </div>

It's nothing fancy. The divs and ids are just used by the stylesheet to position the box and style it. There are half a dozen of these boxes - login, page info, changes, quote etc. In our current layout these appear on all pages. It's a sort of three column layout, with various boxes in the two outer columns then the content in the centre.


> Did you do anything special to cache this? Seems like a potentially expensive operation.

No, it's actually shown on all the pages too. There's no obvious slowdown, but bear in mind ours in a team Intranet with 100 people at the absolute max.

JohnGreenaway, 2003/01/21 09:37 GMT (via web):
Ted - zwikidir on this site is a instance of LocalFS pointing to the zwiki folder

2003/01/21 12:01 GMT (via web):
On Solaris 8 we were running Zope 2.5.1 and ZWiki 0.12.0. Upgraded to standard Zope 2.6.0 then ZWiki 0.14.0. All works in ZWiki except UserOptions? and full, simple and minimal links that give following error: Traceback (innermost last):

Module ZPublisher?.Publish, line 150, in publishmodule Module ZPublisher?.Publish, line 114, in publish Module Zope, line 171, in zpublisherexceptionhook Module ZPublisher?.Publish, line 98, in publish Module ZPublisher?.mapply, line 88, in mapply Module ZPublisher?.Publish, line 39, in callobject Module Products.ZWiki.ZWikiPage, line 220, in __call__ Module Products.ZWiki.ZWikiPage, line 232, in _render Module Products.ZWiki.ZWikiPage, line 415, in render_stxprelinkdtmlhtml Module OFS.DTMLDocument, line 131, in __call Module DocumentTemplate?.DT_String, line 474, in __call Module DocumentTemplate?.DT_Let, line 76, in render Module DocumentTemplate?.DT_Let, line 75, in render Module DocumentTemplate?.DT_Util, line 201, in eval __traceback_info__: ZopeTime? Module , line 2, in f Module DateTime?.DateTime?, line 1441, in rfc822 NameError?:

We run with time set to GMT + 10 hours.

Any ideas?

Michael Rees, mrees@bond.edu.au

I had the same problem. Get the latest DateTime?.py out of the CVS. It worked for me ;-))

Marcus Rowsell

PieterB, 2003/01/21 13:22 GMT (via mail):

> I read it again. I think you're suggesting we track todo items/tasks as
> issues. IssueNo0427? seems like a proposal, I think you're also suggesting we
> can track those (like PEP's). That's true.

Something like that yes. But PEP's seem to have a product development nature and what I had in mind were content issues (e.g. "should we convert tracker issues to normal wikipages", "does anybody mind that i remove all that spam", etc).

I think what Zwiki lacks is some kind of threading mechanism (such as plone, or other message boards). I sometimes find it hard to see who commented on what, and I think some GeneralDiscussion post get unnoticed and/or unanswered. When using MailMan?, you can always go back to the thread (sorted on in-reply-to/subject headers).

With threading, the message list can be ordered such that replies to a message are listed directly after that message. Threading is often implemented as a sorting order (MailMan?/PiperMail?, Mutt).

Interesting post on threading for Mailman: Dynamic Sublists for Mailman and a crusade to use ZODB for Mailman3 by SR and Simon trying to get Zmailman installed


> I almost think we should remove the distinction between ordinary pages and
> issue pages, getting back to the wiki simplicity of one kind of page (while
> keeping the advantages of the tracker).

How would you do that?

-- PieterB

DeanGoodmanson, 2003/01/21 15:50 GMT (via web):
StructuredText escape?, History question

Forgive my lack of searching,but...

What is the way to tell structured text processing to ingnore a section of text?

Also, feel free to vent your ZWiki StructuredText frustrations over at StructuredTextSucks ;-)

while I'm babbling...didn't their used to be rename,delete, etc. controls in the edit page?

FlorianKonnertz, 2003/01/21 16:08 GMT (via web):
zwiki and other products

I think that would be nice. Check out the ZwikiAnd?... pages on ZwikiDevelopment?.

Created a section for these pages on ZwikiDocumentation (temporariliy? Is an own page reasonable?)

FlorianKonnertz, 2003/01/21 16:46 GMT (via web):
DocumentModeVersusThreadMode?

Simon: I would vote not to start a discussion about this on ZopeProduct - to encourage DocumentMode? I think we should avoid adding a Comments section to pages whenever possible. In some cases I've been adding links like "for discussion, see (existing discussion page)".

Simon (and all): This is very interesting: I'm becoming conscious of the possible attitudes related to this policy: I already answered to IssueNo0427? that i've tended up to now to post comments directly on the concerning pages, but now i remember that you sometimes told me NOT to post on pure DocumentMode? pages. I understand your attitude and goal of keeping DocumentMode? pages clear and free, that's nice for new readers (and us too), but on the other hand if all the messages and threads are mixed on the AboutZwikiDiscussion (most on GD because all misc go here) it becomes very hard to keep track and risky that OpenQuestions? get lost. That's why i voted for using the IssueTracker (as an experiment and only for important issues), it might bring new experiences and ideas how to realise the ZwikiAndProjectManagement goal. - Unless we have the perfect extension i'll try to follow the convetion of posting on the existing AboutZwikiDiscussion. :-) In fact i practice it that way in NooWiki because of the small community so far by now. BTW, i added an line of advice on DocumentModeVersusThreadMode? - Cheers, Florian

SimonMichael, 2003/01/21 18:52 GMT (via web):
Experimentation is good, please continue. Also, I'm reminded most wiki questions we are faced with have already been explored in great depth on WikiWikiWeb. Note to self: remember to keep reading there so I don't waste time rediscovering best practices. You all might find WikiWikiWeb:WikiPageLayout interesting, it's pretty much the same as what we're doing here.

Using pages as threads is fine, we've done it before, it's one way to do it, my feeling is that sometimes it's more pages than you really want.

For threads within larger discussion pages, we're not yet fully utilizing the subject support. Remember you can put a subject as the first bold paragraph of your comment. When web-posting, you can copy and paste it from the comment you're replying to. This provides threads in your mailreader (assuming it can thread based on subject) and also makes it easier to follow the discussion on the web. I could add a subject field to the form, though it will mess up the footer layout I did find it useful when I tried it on another site.

Threads will get better when I set up mailman delivery here - in addition to the flat web archive we'll have mailman's threaded archive, and mail replies will form real threads with References headers.

SimonMichael, 2003/01/21 18:54 GMT (via web):
I meant WikiWikiWeb:WikiPageLayout.

SimonMichael, 2003/01/21 18:58 GMT (via web):
PS thanks for the interesting "Dynamic Sublists for Mailman" link.

FlorianKonnertz, 2003/01/21 20:26 GMT (via web):
AddCommentForm?

+1 for a subject field: Reminds to add a subject; easier to edit (c&p into the textarea sometimes slips to the wrong line); footer layout: in the line of the checkbox and submit button would look ok imo;

FlorianKonnertz, 2003/01/21 20:45 GMT (via web):
Gardening

I'm gardening at the moment. RFC: Should people's pages under VisitorLog? with stupid or OffTopic? content stay as a log (kinda guestbook) or be deleted? Some of them haven't been edited since half a year and more. - Imo i'd let them, but make it explicit (add a WikiBadge or reparent to a VisitorArchive?).

DeanGoodmanson, 2003/01/22 02:58 GMT (via web):
Gardening

When adding an AddContent?..orDelete or similar badge please bother to type the badge twice, once in a subject line via bolding, and then in the content.

Why? I'd like to wipe all those emails out before bothering to read them.

2003/01/22 06:35 GMT (via web):
coding question..

I have a string such as < dtml-let a="'''a name=''' + anchorVar + ''' />

I'm stumped on 2 issues.

a. How do I put a single quote inside that string?

b. How can I url_quote that anchorVal string?

tia, ZWiki: the only place left in Zopeland to ask a DTML question w/out getting the ZPT sermon. ;-)

.. - DeanG

FlorianKonnertz, 2003/01/22 08:09 GMT (via web):
Gardening

please bother to type the badge twice, - Ok, Dean. That would have been much better, after about the 10th comment it came to my mind, but i was to lazy :-o I'm sorry about that!

And of course the RecentChanges show these edits the same way as other pages edited without optional comment, that's much worse than email (when already downloaded).

This is another argument for a seperate subject text field. What about a default value to "minor edit", disappearing (MysticalTextBoxes) when clicking? Yep, that's it! Put it on the editform and the AddCommentForm.

Later: An optional note box below the comment is also a good idea.

FlorianKonnertz, 2003/01/22 08:34 GMT (via web):
SubjectTest

SubjectTest

FlorianKonnertz, 2003/01/22 09:16 GMT (via web):
Subject test

I tested the subject feature to see why my recent badge addings left no optional note. Result: The subject has to be bolded. IMO this is too much work when adding just a Delete-Me badge!

DeanGoodmanson, 2003/01/22 17:31 GMT (via web):
Safari bugs

The header heirarchy doesn't show up in Apple's Safari. Does it in the Konqeror browser? Should I create a page or specific issues for each one?

FlorianKonnertz, 2003/01/22 22:50 GMT (via web):
Dicussion archive page lenght

Simon: I remember you mentioning how long these pages can grow (ie. GeneralDiscussion). When does an error occur, how do you know when to do?

JohnGreenaway, 2003/01/23 22:24 GMT (via web):
Finally got round to trying Zwiki with Plone. Once you've worked out you need to run an external method (thanks PieterB for the docs on all this) it seemed to go pretty smoothly. Should be able to help out with ZwikiAndPlone soon.

It's seems that in the last few months as Plone approaches v1 it's becoming the central Zope product. They're still bundling CMFWiki with it though. Shouldn't the current ZWiki really start to be bundled instead soon?

2003/01/24 02:20 GMT (via web):
embedded pages

I'm trying to embed a page which contains a dtml-calendar and I am getting an exception.

In general I'm baffled why I can embed certain pages, but not others, and that might be what's stumping me here.

Trying to embed SubPage which contains a dtml-calendar :

  <dtml-let TestPage="pageWithName('SubPage')">
    <dtml-var "TestPage(bare=1)">
 </dtml-let>

  traceback :

  File /Zope251/lib/python/OFS/DTMLDocument.py, line 127, in __call__
    (Object: SubPage)
  File /Zope251/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__
    (Object: SubPage)
  File /Zope251/lib/python/Products/Calendar/CalendarTag.py, line 742, in render
    (Object: calendar)
 KeyError

.. similar experiences when trying to embed a bit of recent changes dtml :

 <dtml-in "aq_parent.objectItems(spec='ZWiki Page')" sort=lastEditTime reverse size=10>
 <a href="&dtml-wiki_url;/&dtml.url_quote-sequence-key;"
 title="<dtml-var "folder()[_['sequence-key']].linkTitle()">"
 >&dtml-title_or_id;</a>&nbsp;
 <a href="&dtml.url_quote-sequence-key;/diff" title="Click for changes"><i><dtml-var last_log></i><small>*</small></a>
 &nbsp;
 <dtml-if "page_type == 'issuedtml'">T</dtml-if>
 <br>
 </dtml-in>

As a dtml-method it works just fine, but as content on a page, then embedded, the contents do not show.

Is there a right way to do this in DTML? Must I resort to embedding dtml methods, not a page?

Anything related to this not rendering? http://zwiki.org/FilterIssues/print

2003/01/24 21:58 GMT (via web):
I'm having problems. I just installed a brand new zope server (2.6.0) and zwiki (0.14.0) on a windows box. all I did to customize the system was switch to port 80 and change all the default anonymous access to authenticated. when I connect to the server everything works fine, unless I try to change my user options. when I click change options everything craps out. I get a stacktrace like this.:

 Traceback (innermost last):

    * Module ZPublisher.Publish, line 150, in publish_module

    * Module ZPublisher.Publish, line 114, in publish

    * Module Zope, line 171, in zpublisher_exception_hook

    * Module ZPublisher.Publish, line 98, in publish

    * Module ZPublisher.mapply, line 88, in mapply

    * Module ZPublisher.Publish, line 39, in call_object

    * Module Products.ZWiki.ZWikiPage, line 220, in __call__

    * Module Products.ZWiki.ZWikiPage, line 232, in _render

    * Module Products.ZWiki.ZWikiPage, line 415, in render_stxprelinkdtmlhtml

    * Module OFS.DTMLDocument, line 131, in __call__

    * Module DocumentTemplate.DT_String, line 474, in __call__

    * Module DocumentTemplate.DT_Let, line 76, in render

    * Module DocumentTemplate.DT_Let, line 75, in render

    * Module DocumentTemplate.DT_Util, line 201, in eval

      __traceback_info__: ZopeTime

    * Module <string>, line 2, in f

    * Module DateTime.DateTime, line 1441, in rfc822

 NameError

any help? ideas?

2003/01/24 22:45 GMT (via web):
for that matter how do you change the skins?

2003/01/24 23:24 GMT (via web):
nevermind, I kept making "standard_wiki_header" a document instead of method. of course, I'm still getting the configuration error.

FlorianKonnertz, 2003/01/26 18:21 GMT (via web):
embedded pages

Do you really need the pageWithName method? Why not doing it directly as in NooWiki:AllRecentChanges or on IncludeOrTransclude ? - Just a thought, i know there are still some obstacles with PageInclusion

DeanGoodmanson, 2003/01/26 19:08 GMT (via web):
How do you change skins?

It's not necesarily a dynamic thng, but an install time choice thing.

To change, visit the skins folder and manuall remove current "skin" files from your ZMI, and create not pages from the skin of your choice folder.

Another option is to create a new ZMI ZWiki folder instance (with the new skin) , and move your content to that place, then rename folders appropriately.

This is the quick reply, hopefully a more experienced answer will follow.

DeanGoodmanson, 2003/01/26 19:19 GMT (via web):
embedded pages I need the !pageWithName to determine if it's an existing page in some cases (need a better recipe, btw), but the problem of embedding a page which contains a calendar does not need !pageWithName.

Again, is EmbeddedPage a reasonable alternate name to PageInclusion?

FlorianKonnertz, 2003/01/26 22:27 GMT (via web):
embedded pages

I like the name EmbeddedPage: vote +1 // Code related: Please see my answer in the famous DTMLCookbook.

FlorianKonnertz, 2003/01/26 22:44 GMT (via web):
Link rendering on this page

I wonder why many links on this page are not rendered. Example: My post on 2003/01/26 18:21

DeanGoodmanson, 2003/01/27 20:06 GMT (via web):
ZWiki, diff enhancements

ZWiki seems to be up and down lately. bot swarm?

I'd really like to have a "wordwrapped" form of /diff, but not sure the best way to go about it. I did a bit of digging and thought TextFormatter was part of hte process, or could be used..but still stimied as where to proceed.

I'm hoping some HTML can simply wrap it up, but don't think that's the case, and some pre line-wrapping is in order.

Eagerly awaiting suggestions & direction.

John Greenaway, 2003/01/27 21:28 GMT (via mail):
ZWiki, diff enhancements


> I'd really like to have a "wordwrapped" form of /diff, but

There's some basic wrapping you can do in the html - JohnGreenawayTestPage, but browser support's pretty poor. Think it'd have to be done server side.

DeanGoodmanson, 2003/01/27 21:58 GMT (via web):
diff enhancements

Thanks, John! Server side does look to be needed, then. The line breaks get lost in "no wrap" mode.

FWIW, your test page worked the same for me on IE6 and Phoenix. :-)

p.s. Did I answer right to the above skins question?

DeanGoodmanson, 2003/01/29 17:06 GMT (via web):
mailout from text display in Outlook

When I receive a message with a header From: field like this, From: Dean Example <EXAMPLE@example.com>, outlook displays it as 'Dean Example [EXAMPLE@example.com]'

ZWiki mailouts are listed like From: example@yahoo.com (Dean Example) and Outlook (2000) doesn't display the name, just the email address.

I'm not sure the yahoo version is completely correct, especially not for my ZWiki usage. I'm thinking of experimenting with From: UserName via <example@yahoo.com>

Any thoughts?

SimonMichael, 2003/01/29 17:35 GMT (via web):
release status

Hey all.. I'm burned out and having to limit my computer time just now. I'll be pushing out a 0.15 release asap. Back later, keep up the good work.

Simon Michael, 2003/01/29 20:37 GMT (via mail):
zwiki@zwiki.org writes:
> I'm having problems. I just installed a brand new zope server (2.6.0) and ...
> * Module DateTime.DateTime, line 1441, in rfc822
>
> NameError

That's IssueNo0345 (KnownIssues). Zope 2.6.0 needs a patch.

Simon Michael, 2003/01/30 14:46 GMT (via mail):
Discussion archive page length

zwiki@zwiki.org (FlorianKonnertz) writes:
> Simon: I remember you mentioning how long these pages can grow (ie.
> GeneralDiscussion). When does an error occur, how do you know when to
> do?

With my patched "python.bigstack", I know I've hit this error when I see tracebacks with python saying "max recursion limit exceeded" in the zope event log, and in the browser too I think ([IssueNo0395 zwiki's regular expressions may fail with large pages/sites]).

With standard python on freebsd, in the browser I used to see Proxy Error and in the event log saw "error code 11", "error code 10" (zope <2.6) and "SIGSEGV", "SIGBUS", etc (zope >=2.6).

This started happening with GeneralDiscussion as I mailed these messages, with the result that they didn't show up on the wiki. I didn't figure it out until now because I didn't see the error in the logs (because of a stale ssh session), and because I received no mail bounces, which is unusual. They might be still en route.

Simon Michael, 2003/01/30 14:49 GMT (via mail):
server cache size reduced

I've reduced the per-thread cache size from 2500 to 2000 objects to leave more memory head room. I'm not sure this is enough to run the current wiki out of cache, so you may notice the site is suddenly slower - let me know.

Simon Michael, 2003/01/30 14:50 GMT (via mail):
embedded pages


> Again, is EmbeddedPage a reasonable alternate name to PageInclusion?

IncludedPage ?

Simon Michael, 2003/01/30 14:50 GMT (via mail):
StructuredText escape?, History question

zwiki@zwiki.org (DeanGoodmanson) writes:
> What is the way to tell structured text processing to ingnore a section of
> text?

The only way is to use :: or pre as far as I know.


> while I'm babbling...didn't their used to be rename,delete,
> etc. controls in the edit page?

WikiForNow does that. In zwiki they appear in the page footer (to authenticated users in full mode).

Simon Michael, 2003/01/30 14:50 GMT (via mail):
threading

zwiki@zwiki.org (FlorianKonnertz) writes:
> What about WikiPedia's TalkBack approach for content discussion? There
> was already a discussion here, but i don't remember at the moment... --

That's pretty much what we're doing. They prepend "Talk:", we append "Discussion". Wikipedia always shows the discussion link whether or not the page exists yet. We also have some Discussion pages with no corresponding document-mode page, I don't know if they do that.

Simon Michael, 2003/01/30 14:50 GMT (via mail):
Gardening

zwiki@zwiki.org (FlorianKonnertz) writes:
> I'm gardening at the moment. RFC: Should people's pages under VisitorLog
> with stupid or OffTopic content stay as a log (kinda guestbook) or be
> deleted?

Great, go wiki gardeners. I don't think the old personal pages under VisitorLog are much of a problem.. are there many ? I would tend to prune obvious junk pages, but leave a visitor's personal page if it has any reasonable content.

Simon Michael, 2003/01/30 14:51 GMT (via mail):
Subject test


> I tested the subject feature to see why my recent badge addings left no
> optional note. Result: The subject has to be bolded.

So that people who don't know about the subject feature don't use it by accident and get confused.


> IMO this is too much work when adding just a Delete-Me badge!

Why not just uncheck "with heading and mailout" ? I don't think you need these to be mailed out do you ?

Simon Michael, 2003/01/30 14:51 GMT (via mail):
ZWiki, diff enhancements

zwiki@zwiki.org (DeanGoodmanson) writes:
> ZWiki seems to be up and down lately. bot swarm?

Not sure.. it was stuck in over-memory-quota mode when I saw it. The current cache/thread configuration and routine slow leaks still allow this to happen, though it should be much less frequent than before.

It looks like Uptime has been missing these, which is bad. I suspect the uptime.txt is small enough to get served. I should make it depend on FrontPage or something.


> I'd really like to have a "wordwrapped" form of /diff, but not sure the
> best way to go about it. I did a bit of digging and thought
> TextFormatter was part of hte process, or could be used..but still
> stimied as where to proceed.

Diff.py:diff() is the place. Check out textwrap.py from the python library, I hope to use it as a replacement for TextFormatter.

Simon Michael, 2003/01/30 14:58 GMT (via mail):
Discussion archive page length

Simon Michael <simon@joyful.com> writes:
> stale ssh session), and because I received no mail bounces, which is
> unusual. They might be still en route.

Oh, of course they all arrived immediately after sending this. :)

SimonMichael, 2003/01/30 15:35 GMT (via web):
MUhahahahaahaaahahahahaDiscussion was comical but not enough to preserve forever. I vote we remove it now. :)

SimonMichael, 2003/01/30 15:47 GMT (via web):
subject field

I've added it here, only for testing. You can see subjects posted this way get ignored unless the checkbox is checked. An alternative is to head/mail-out comments which have non-blank subjects, and drop the checkbox.

FlorianKonnertz, 2003/01/30 16:06 GMT (via web):
threading

They prepend "Talk:", we append "Discussion". - Oh, yes of course :-) - For their special case, where the content of every page can be discussed it's useful they provide the link on every page. - I guess they do the "general discussion" mostly on the list (?)

To our discussion convention: I still find it more clear and useful to have the convention of posting all question and comments directly on the topic page: Questions don't get lost easily, all info is where it should be. - Have i overlooked anything? Please correct me. -

Related to this is the FAQ handling: Isn't the whole wiki like a FAQ (ok, rather a AQ ;-) ... More visionary thoughts: IssueTracker and [FAQ] manager should melt anyhow. - Popularity property for the FAQ tracker? (sort by popularity for general FAQ browsing) - hmmm.... :-$%/o

Dmitry Astapov, 2003/01/30 16:11 GMT (via web):
Who is stealing my permissions?

Please help me to sort out permissions problem. In the root folder i have ZWikiWeb named "test". In the root's acl_users folder I have user which has roles "Manager" and "owner". After i log in (via http://mysite/manage) I could access management view etc. just fine, but ZWiki pages (when I view them) treat me like Anonymous. If I prepend by hand "/editform" to the current ZWiki URL, I will be allowed to edit (and save) without any problem. How could that be? To be completely sure, I changed type of my test page to allow DTML, and put dtml-var AUTHORIZED_USER, dtml-var REQUEST there. It shows Anonymous User :(

I'm running Zope 2.6.0 + ZWiki 0.14.0, browsing via galeon, mozilla and IE.

2003/01/30 16:40 GMT (via web):
Permissions questions

external editor: works ok for manager, but anonymous user gets error: Zope external editor - Lock request failed: 401 Unauthorized. I have Use external editor checked for anonymous user, what other permission(s) do I need to set?

viewing diffs: page history link is presented for manager, not for anonymous user. what permission(s) do I need to set?

FlorianKonnertz, 2003/01/30 16:40 GMT (via web):
MUhahahahaahaaahahahahaDiscussion

I guess it's to late now to remove... ;-)

FlorianKonnertz, 2003/01/30 16:43 GMT (via web):
subject

Why not just uncheck "with heading and mailout" ? I don't think you need these to be mailed out do you ? - because of missing note in RecentChanges...

FlorianKonnertz, 2003/01/30 16:51 GMT (via web):
subject field

Excellent!

DeanGoodmanson, 2003/01/30 16:51 GMT (via web):
[FreeformLinks]

1. What can we, as a community, do to help the effort in optimizing the current freeform links optimization effort?

  1. I've noticed strangeness in the manage this page: portion of a freeform link page editing, spaces converted to something link 2c_. I'm all for freeform links id being space-less, and the title being the original. .. more later, if that cue's not enough for discussion.

Whoa! a subject bar! Cool! Should we put a character limit on it?

2003/01/30 16:59 GMT (via web):
Subject Bar

The subject bar is a good addition for discussion pages such as this. I suggest it would be more intuitive for the new user if it appeared above the text (as it does when rendered).

DeanGoodmanson, 2003/01/30 16:59 GMT (via web):
subject field

I would prefer the value of the subject field to be the "log" parameter and noted on RecentChanges regardless of the checkbox.

(Seriously do not intend to criticize at this point. Simon: Please don't burn out on our sake. An "OK, send me the code [by insert-date]" response is welcome.)

2003/01/30 17:30 GMT (via web):
Permissions questions

OK, solved my external editor problem myself by enabling WebDAV for anonymous user.

The history links still puzzles me. The "last edited ..." link does not work for anonymous user. ??

FlorianKonnertz, 2003/01/30 17:50 GMT (via web):
Property edit form

I'm working on a property show- and edit form on the editform. It should be completely dynamically for future compatibility (ie.rating property etc.) I guess it'd be best to iterate over all props and test for the mode to decide if a form item should be printed or not. - My question: How can the mode be accessed? Or is it an internal thing?

SimonMichael, 2003/01/30 18:20 GMT (via web):
Permissions questions

You don't mention your zwiki/external editor versions, but ZwikiAndExternalEditor has notes on this (or search for external editor in the IssueTracker). I believe ZMI history authentication issues are in the tracker too.

SimonMichael, 2003/01/30 18:23 GMT (via web):
KnownIssues updated

I've tried to make KnownIssues more comprehensive. And I'm thinking CommonProblems might be a more effective name for it.

SimonMichael, 2003/01/30 18:54 GMT (via web):
Property edit form

Do you mean the page_type property ?

SimonMichael, 2003/01/30 19:13 GMT (via web):
Who is stealing my permissions?

Dmitry - I would try to get some more information with the VerboseSecurity product.

SimonMichael, 2003/01/30 19:29 GMT (via web):
subject field

Ok then, make me clutter up that symmetrical footer.. subject moved above.

Dean, thanks, no this stuff is relaxing/limbering up. I've checked in a fix so that a subject (explicit or inlined) is used for the transaction log regardless of the use_heading checkbox.

SimonMichael, 2003/01/30 19:35 GMT (via web):
removed validate link

Removing the validate link for clarity.. add http://validator.w3.org/check/referer to your bookmarks to get the same effect.

SimonMichael, 2003/01/30 19:59 GMT (via web):
performance, FreeformLinks

Whoa, the response time has become really variable and I see lots of cache loading activity in the logs. I've bumped the cache size up to 2300. We could address this in a couple of other ways:

  1. get a larger quota from imeme and give zwiki/zope the memory they want
  2. reduce the number of pages in this wiki
  3. make zwiki more memory-efficient, optimizing the cases where it loops through all pages. This is worth doing in any case, and may benefit the new zope.org. Freeform linking is the main culprit here but not the only one. So far the solution that comes to mind is to use zcatalog for these loops. I suspect our use of the catalog is already increasing our memory requirements, transaction activity, conflicts etc, but relying on it more may help.

To help with this right now, I think a deep understanding of the current linking implementation may be needed. Refactoring of what's there will make the next step easier.

SimonMichael, 2003/01/30 20:06 GMT (via web):
performance, FreeformLinks

And of course, unit tests make refactoring easier, now and in the future, and these don't require you to grok the whole enchilada up front. So contributing unit tests in this area is a very effective way to help. And improving our documentation on how to do this is an effective way to help (starts at ZopeTesting ?) I'll support anyone who wants to write unit tests.

SimonMichael, 2003/01/30 20:10 GMT (via web):
performance, FreeformLinks

Any performance experts out there ? What is this telling me ?:

 Total number of objects in the database 36391                             
 Total number of objects in memory from all caches 3999                                
 Target number of objects in memory per cache [2300  ] [Change]
 Total number of objects in each cache:
 Cache Name                              Number of object in   Number of ghost
                                         memory                objects
 <Connection at 090b802c>                2300                  4375
 <Connection at 0a0a380c>                1699                  4669
 Total                                   3999

Simon Michael, 2003/01/30 20:34 GMT (via mail):
Property edit form

Oh no, I think you mean the zwiki_displaymode cookie.

Simon Michael, 2003/01/30 20:37 GMT (via mail):
performance, FreeformLinks

I should note that Dean opened the freeform links performance thread from CreatingFAQsInZwiki, where the issue is slowness of rendering a single page with many such links. Then I started talking about the overall performance of the wiki due to memory usage/caching. But the two are related.

DeanGoodmanson, 2003/01/30 21:17 GMT (via web):
subject field


>> Ok then, make me clutter up that symmetrical footer.. subject moved above.

:-S Will it help If we surround the entire "simple" footer with the grey background.

I understand the intuitive factors, but do like the below look better. Perhaps the extra space on the right can be used customization extra's like backlinks, printer icons, etc. At that point we can make the subject field a helper link like help ?

Simon Michael, 2003/01/31 00:05 GMT (via mail):
0.15rc1 is ready

0.15.0rc1 is up on zwiki.org. Note I re-uploaded it just now with some mailin changes. Please test, especially if you're doing mailin.

FlorianKonnertz, 2003/01/31 10:56 GMT (via web):
Property edit form

I mean the mode of a property (writebale, deleteable or readonly); They're stated in the definition of a class' _properties dictionary:

 {'id':'last_editor', 'type': 'string', 'mode': 'r'},

SimonMichael, 2003/01/31 16:01 GMT (via web):
Property edit form

Ah! :) Looks like you'd do:

  self._properties[n]['mode']

SimonMichael, 2003/01/31 16:04 GMT (via web):
subject field

One vote each for subject above/below. Trying it below again.

Florian Konnertz, 2003/01/31 16:10 GMT (via mail):
Property edit form

SimonMichael wrote:
> Ah! :) Looks like you'd do::
>
> self._properties[n]['mode']

Ok, yes, thanks. - But how to do it in dtml?

SimonMichael, 2003/01/31 16:32 GMT (via web):
Property edit form

attributes beginning with _ aren't accessible to DTML, you'd need an external method or product code.

Florian Konnertz, 2003/01/31 16:52 GMT (via mail):
Property edit form

SimonMichael wrote:
> attributes beginning with _ aren't accessible to DTML, you'd need an external
> method or product code.

Ok, i heard of that... I'll write an external method. Thanks, Simon.

DeanGoodmanson, 2003/01/31 18:37 GMT (via web):
stanford open source survey

Simon: You may be interested in this survey : http://www.stanford.edu/group/floss-us/survey.fft

"This online survey is being conducted by researchers at Stanford University??s Stanford Institute for Economic Policy Research (SIEPR). It is a part of an NSF-supported project on the Economic Organization and Viability of Open Source/Free Software.