Edit detail for GeneralDiscussion revision 33 of 541

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541
Editor: DeanG
Time: 2007/07/27 13:15:10 GMT-7
Note: Plone 3 wiki support

added:

From DeanG Fri Jul 27 13:15:09 -0700 2007
From: DeanG
Date: Fri, 27 Jul 2007 13:15:09 -0700
Subject: Plone 3 wiki support
Message-ID: <20070727131509-0700@zwiki.org>

http://plone.org/products/plone/features/3.0/new/wiki-support

I'm puzzled (and annoyed, more later) by this feature. It seems they're adding WikiLinking support across documents. Bravo!  But why the "without the wiki aftertaste" smite?  I'm guessing they need to remove the Wiki buzzword and replace it with WikiLink.  But even there, the second complaint I've come to know from wikis (first:structure) has been: Knowing WikiNames when editing documents.  It's not a taste, but a smell.  I wonder how they'll approach that one.  I guess it's all in the vernaculars.  Happy Friday.

This page is the easiest way to get involved in Zwiki discussions. Post any questions or comments using the comment form at the bottom of the page. Click subscribe if you'd like to receive (and send) comments by email. For the discussion archives, and other ways to discuss Zwiki, see AboutZwikiDiscussion?.

strike through text in stx? --dmahler, Thu, 03 May 2007 09:06:58 -0700 reply

Is there some concise markup for <strike>xx</strike> in stx or do you have to write the full xml tags?

Zwiki bug day tomorrow --Simon Michael, Thu, 03 May 2007 13:00:22 -0700 reply

Friday may 4th is Zwiki Bugfix Day!

Drop by the #zwiki IRC channel any time on friday to help, hack, heckle, and join in the fun. http://zwiki.org/BugDay has more info. Hope to see you there!

-Simon

BUG DAY, KnownIssues? poll --Simon Michael, Fri, 04 May 2007 12:28:55 -0700 reply

Hi all, Bug Day is in progress - remember to drop by #zwiki and tell us your favourite bugs..

Also: how many people use or did find useful the KnownIssues? page ? It is a manually updated summary of frequently-encountered issues, especially for new users who might not find things in the tracker. It hasn't been completely current for a while. Is it worth the work to keep it ?

BUG DAY --simon, Fri, 04 May 2007 22:18:09 -0700 reply

Some hours to go yet, but I am signing out. Good work on some tricky issues by betabug and myself, with excellent input from Wu, wlang, moral support from encolpe, and anyone else I may have missed. Thank You! Let's do it again the first friday of june.

**Hide FrontPage? from the URL when only domainname.com/ is entered ** --JózsefJároli, Mon, 14 May 2007 06:06:23 -0700 reply

for instance if you type zwiki.org/ in, then the URL will be zwiki.org/FrontPage? , but I would like keep the URL zwiki.org/ yet showing the FrontPage? This might be a simple question, but I couldn't figure out how to do it right, although I noticed that this works with Plone (with the default_page). What should I write in the index_html method to achieve this? Thanks!

**Hide FrontPage? from the URL when only domainname.com/ is entered ** --Michael Ang, Mon, 14 May 2007 06:21:31 -0700 reply

Why hide FrontPage? in URL? You may have problem hiding other pages in the url.

Hmmm --FrankLaurijssens?, Mon, 14 May 2007 08:18:31 -0700 reply

Comment subjects are no longer bold?

Hide FrontPage? from the URL when only domainname.com/ is entered --Simon Michael, Mon, 14 May 2007 08:25:05 -0700 reply

If it's just the front page, you can change the index_html DTML method - instead of redirecting, have it return the page contents directly. Something like:

<dtml-var "aq_parent.FrontPage(REQUEST=_.REQUEST)">

should do it.

**Hide FrontPage? from the URL when only domainname.com/ is entered ** --JózsefJároli, Mon, 14 May 2007 08:28:15 -0700 reply

Until there are only ASCII characters in the title of the default page, URLs? remain readable. Once the title of your Home Page has accented letters, then these default URLs? will be just too ugly to be displayed (e.g. Keresőoptimalizálás »» Keres_c5_91optimaliz_c3_a1l_c3_a1s ), that's the reason why I am looking for a solution for this. (sidenote: non-English speaking people often don't get the concept of what FrontPage? is, and sometimes my sites running with Zwiki and having a bold FrontPage? title on the home page were referred to as a site named 'FrontPage?') Also from a search engine optimisation perspective it is not ideal if your visitors start to link to your site as zwiki.org, zwiki.org/, zwiki.org/FrontPage?, because these sites are considered as different web pages to certain extent by search engines.

Hide FrontPage? from the URL when only domainname.com/ is entered --Simon Michael, Mon, 14 May 2007 09:00:35 -0700 reply

That's a good point about urls. We still need an improved canonicalIdFrom method that can substitute similar ascii letters for accented letters where possible, instead of the ugly hex codes. I think it was you that suggested this in the past ? That might help some. See http://zwiki.org/InternationalCharactersInPageNames and http://zwiki.org/736 . I'd love to make these urls better for non-ascii users - maybe some of you should club together and commit a few dollars towards funding the issue, which would allow me to work on it right away ?

I take your point about the different between zwiki.org, zwiki.org/, and FrontPage?, but.. I think search engines generally know at least the first two are the same - they're not going to visit both of those. And, I think it is more consistent and less confusing overall to always use the .../Page url. Otherwise, when someone hits the edit link it jumps from zwiki.org/ to zwiki.org/FrontPage?/editform , and both urls are exposed anyhow - it's better to pick one and use it consistently everywhere. The front page will work the same way as the others, you can more easily add things like /upgradeAll to the url manually, it's clear where to set permissions, etc.

That index_html trick should certainly allow you to customize the appearance of the initial url though. Apache rewrite rules would be another way.

Hide FrontPage? from the URL when only domainname.com/ is entered --JózsefJároli, Mon, 14 May 2007 09:31:07 -0700 reply

Thank you for the quick answer! Don't know why but somehow the above snippet didn't work, so I started to fiddle with it (without really having any clue about it :) and I found that this worked:

<dtml-var "FrontPage(REQUEST=REQUEST)">

Hope it won't break anything though:) Well, you are right, we shouldn't have this as a default method, but I think it is worth to mention this trick in the Cookbook and the pages dealing with Default Page concept (if you find this snippet OK).

Well, as for the accented letters' issue: yes, that was me :) As you can see the problem keeps on bugging me :), but since then the Plone folks have implemented an URL canonsation, which as far as I can tell works just great with quite a few languages, so perhaps the task is "only" to reuse the code already written for Plone. (which translates the Russian Изображение дня to izobrazhenie-dnya, the Hungarian A nap képe to a-nap-kepe for instance). How much would it cost (just a rough estimation) to develop this Plone function for Zwiki too (maintaining the backward compatibility with old-style encoded URL's)?

Thanks again, József

Thought for the day --FrankLaurijssens?, Sun, 20 May 2007 04:32:01 -0700 reply

I just created a page for Ben, and he wrote how he felt like today. The page currently is a subtopic of my own page in PeopleIndex?.

An interesting thought came up: should I reparent BenLaurijssens? to PeopleIndex?, leave FrankLaurijssens? as parent of BenLaurijssens? or should I move BenLaurijssens? to the SandBox? altogether?

;)

Thought for the day --Simon Michael, Mon, 21 May 2007 13:44:08 -0700 reply

Welcome Ben, Charlotte. :) "Parent page" takes on a new meaning.

Thought for the day --betabug, Tue, 22 May 2007 04:03:23 -0700 reply

"Sandbox" too :-)

content order --Michael Ang, Thu, 24 May 2007 19:03:51 -0700 reply

How do I change the order of content like (subtopics links, main text, comments) instead of (main text, subtopics links, comments). I know I have to dig into content.pt -> options['body']?.

Main point is to move the subtopics group into another place. Thanks.

content order --Simon Michael, Thu, 24 May 2007 19:14:27 -0700 reply

That's currently pretty deeply hardcoded, indeed. Switching the first two items of:

return doc + self.renderMidsection(**kw) + discussion

in ZWikiPage?.renderMidsectionIn() might be enough.

But what I usually do, since I only occasionally want to show the subtopics in a different position, is enable DTML and add an explicit:

<dtml-var subtopics>

wherever I want it (in place of the default).

A third option, affecting all pages, is to add the subtopics call whever you want in one of the skin templates, eg in wikipage.pt:

<span tal:content="structure here/subtopics" />

and tell zwiki pages not to display subtopics themselves, by setting a show_subtopics folder property to 0.

Does this help ?

content order --Michael Ang, Thu, 24 May 2007 19:20:59 -0700 reply

Yes, exactly. I know about <dtml-var subtopics> but trying to avoid it (dtml). Thanks.

fixes --simon, Mon, 04 Jun 2007 10:57:53 -0700 reply

Pardon our dust.. there have been some confusing issues with the site lately. #1358 is probably behind much of it. I have just updated the catalog to remove a phantom 1358 issue, and I will now fix the key error that's occuring on 1358 and 1359.

fixes --simon, Mon, 04 Jun 2007 12:49:24 -0700 reply

Phew! The phrase "all hell breaking loose" came to mind. The issue tracker and site is all straightened out now, and for the moment I'm not seeing more #1358 errors after turning off ZEO. I hope it stays away.

allow question marks in wiki names --val.cartei, Fri, 08 Jun 2007 06:59:28 -0700 reply

Hi, I noticed that if a try to name a page with a question mark, say "What is Wiki?", the system doesn't allow me to because of the question mark. How can I change that? I really hope you can help me! Cheers, Val

allow question marks in wiki names --Simon Michael, Mon, 11 Jun 2007 10:50:18 -0700 reply

val.cartei wrote: > Hi, I noticed that if a try to name a page with a question mark, say "What is Wiki?", the system doesn't allow me to because of the question mark.

Hello Val, this works fine for me at http://zwiki.org/TestPage . See if you can reproduce it there, perhaps by changing page type ? Also be sure you're not running some ancient zwiki version.

email out customization --val, Mon, 25 Jun 2007 03:32:53 -0700 reply

I'd like to customize the message that is sent to the subscribers to all edits of wiki pages. Currently they get the changes of the page they are subscribed to, but i would like to replace this with the following: user name (or anonymous if unknown user) has made changes to the [page title]? to see what's changed go to:

"[page URL]?/diff" (displayed as a link)

Is it possible to do this? Cheers, Val P.S. Thanks for the question marks answer, I found the bug and it was related to a previous customization I had made.

email out customization --Simon Michael, Wed, 27 Jun 2007 09:52:32 -0700 reply

Val - sure, but you'll have to edit python code. See the call to send mail at the end of handleEditText in Editing.py.

catalog problem --magwas, Fri, 29 Jun 2007 07:36:08 -0700 reply

I am using BlogFace? with my wiki, which uses the zCatalog of the wiki. I noticed that sometimes new pages does not show up in the catalog. Even after doing a find by hand on the catalog. I do not know whether it is a zwiki or a zCatalog problem. Any solutions? The blogface: http://mag.webhome.hu/zope/magwas/blog A WikiPage? which does not show up: http://mag.webhome.hu/zope/magwas/K_c3_b6zbringaBanner The URL I am using to update the catalog by hand: http://mag.webhome.hu/zope/magwas/Catalog/manage_catalogFoundItems?obj_metatypes:list=ZWikiPage

catalog problem --Simon Michael, Fri, 29 Jun 2007 08:19:22 -0700 reply

Hi - set your event.log verbosity to BLATHER (http://wiki.zope.org/zope2/event.log) and watch it as you create pages. If cataloging fails you should get a traceback. Also check zwiki's recent changes to see if the page really has been cataloged or not.

greetings --simon, Sat, 14 Jul 2007 09:49:54 -0700 reply

Hello folks, this is just to let you know I am alive, well, and dipping my toe into the Zwiki mail/sysadmin/development work pile. If you sent me a mail, thanks for your patience.

epoz no longer available? --liamMT, Sun, 22 Jul 2007 13:51:55 -0700 reply

I was just installing and playing around with Zwiki within my current Plone site, (which mostly seems great!), but I noticed that the only WYSIWYG editor that seems to be supported by Zwiki (Epoz) has fallen off the face of the earth. This is sort of a deal-breaker for me, unfortunately, since my site requires WYSIWYG functinoality. Is there any chance that any of the other Plone-supported editors will work with Zwiki in the near-ish future? Thanks!

epoz no longer available? --Simon Michael, Sun, 22 Jul 2007 20:22:13 -0700 reply

Epoz is still downloadable and working for me.. I updated the link on http://wiki.zope.org/zope2/EpozX recently.

afk --Simon Michael, Sun, 22 Jul 2007 20:23:11 -0700 reply

I'll be offline for the next week, and back in August. May your wikis run smoothly!

Best - Simon

re : epoz no longer available - liamMT --nd51, Mon, 23 Jul 2007 01:49:37 -0700 reply

Epoz 2.0.2 works fine with ZWiki? in Plone 2.1.x and Plone 2.5.x (haven't tested 3.x). Although Epoz appears in the list of installable products in Plone, you don't need to install it in Plone, as Epoz is a Zope product. In fact I recommend do not click the install button in Plone as it could fight with Kupu. We've had in production for almost 2 years now, ZWiki? with Epoz 2.0.2, and Kupu being used for all other WYSYWIG editing in Plone. Works fine, and so does the link Simon pointed to. Good luck

Plone 3 wiki support --DeanG?, Fri, 27 Jul 2007 13:15:09 -0700 reply

http://plone.org/products/plone/features/3.0/new/wiki-support

I'm puzzled (and annoyed, more later) by this feature. It seems they're adding WikiLinking? support across documents. Bravo! But why the "without the wiki aftertaste" smite? I'm guessing they need to remove the Wiki buzzword and replace it with WikiLink?. But even there, the second complaint I've come to know from wikis (first:structure) has been: Knowing WikiNames? when editing documents. It's not a taste, but a smell. I wonder how they'll approach that one. I guess it's all in the vernaculars. Happy Friday.