Diff
Not logged in

Differences From:

File src/wiki.c part of check-in [e01aa8cb4b] - Enhance the wiki rendering to support <div> markup. The closing </div> tag with and id= attribute can close off <verbatim> and <nowiki>. The wiki append page uses this to prevent unclosed tags from messing up the rendering of subsequent comments. by drh on 2008-07-17 15:49:24. [view]

To:

File src/wiki.c part of check-in [82136b0a5f] - Give /wiki a link to the Wiki page with the same name as the Project Name. by eric on 2008-07-17 20:34:35. [view]

@@ -129,8 +129,14 @@
   zPageName = P("name");
   if( zPageName==0 ){
     style_header("Wiki");
     @ <ul>
+    { char *zHomePageName = db_get("project-name",0);
+      if( zHomePageName ){
+        @ <li> <a href="%s(g.zBaseURL)/wiki?name=%s(zHomePageName)">
+        @      %s(zHomePageName)</a> wiki page.</li>
+      }
+    }
     @ <li> <a href="%s(g.zBaseURL)/timeline?y=w">Recent changes</a> to wiki
     @      pages. </li>
     @ <li> <a href="%s(g.zBaseURL)/wiki_rules">Formatting rules</a> for
     @      wiki.</li>