Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #43 (closed defect: invalid)

Opened 14 years ago

Last modified 12 years ago

Comment on docs/wiki20/page3.html

Reported by: njaddr-ni@… Owned by: anonymous
Priority: lowest Milestone:
Component: Documentation Version:
Severity: minor Keywords:
Cc:

Description

After adding the following line to page.kid:

<p><a href="\${std.url('/edit', pagename=pagename)}">Edit this page</a></p>

I get this error on page reload ( http://localhost:8080/):

File "c:\python24\lib\site-packages\TurboGears-0.5.1-py2.4.egg\turbogears\view.py", line 134, in __getattr__
    return self[attribute]
KeyError: 'url'

Changing the line in page.kid to following solves it:

 <p><a href="/edit?pagename=${pagename}">Edit this page</a></p>

The doc should be updated so that new users can do the wiki in 20 mins. Also why don't you enable readers to add visible comments to these docs. Then stuff like this or other tips can be shared directly between users.

thanks nik

Change History

comment:1 Changed 14 years ago by njaddr-ni@…

  • Status changed from new to closed
  • Priority changed from normal to lowest
  • Resolution set to invalid

Apologies, pls close the ticket. Was using the old version of tg with the new wiki tute. Upgraded to tg 0.8 and it works fine.

But do consider enabling users to add comments to create "annotated documentation". As an example pls look at User contributed notes towards the end of:  http://www.php.net/manual/en/install.windows.php

This should decrease frivolous tickets (like this one) as well as help build a community around tg.

Note: See TracTickets for help on using tickets.