Pages that link to his page:
+
+
+
+Pages that link to this page:
+
+
+
+
+@content;noquote@
+
+
+
Index: openacs-4/packages/wiki/lib/page.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/wiki/lib/page.tcl,v
diff -u -r1.3 -r1.3.2.1
--- openacs-4/packages/wiki/lib/page.tcl 22 Feb 2005 16:15:13 -0000 1.3
+++ openacs-4/packages/wiki/lib/page.tcl 4 Oct 2005 15:14:42 -0000 1.3.2.1
@@ -51,10 +51,25 @@
}
-db_1row get_content "select content,title from cr_revisions, cr_items where revision_id=live_revision and cr_items.item_id=:item_id"
+if {![db_0or1row get_content "select content,title from cr_revisions, cr_items where revision_id=live_revision and cr_items.item_id=:item_id"]} {
+ set form [rp_getform]
+ ns_log debug "
+DB --------------------------------------------------------------------------------
+DB DAVE debugging /var/lib/aolserver/openacs-5-head-cr-tcl-api/packages/wiki/lib/page.tcl
+DB --------------------------------------------------------------------------------
+DB form = '${form}'
+DB [ns_set find $form "item_id"]
+DB --------------------------------------------------------------------------------"
+ if {[ns_set find $form "item_id"] < 0} {
+ rp_form_put item_id $item_id
+ rp_form_put name $name
+ }
+ rp_internal_redirect "/packages/wiki/lib/new"
+}
set stream [Wikit::Format::TextToStream $content]
set refs [Wikit::Format::StreamToRefs $stream "wiki::get_info"]
+
db_multirow related_items get_related_items "select cr.name, cr.title, cr.description from cr_revisionsx cr, cr_items ci, cr_item_rels cir where cir.related_object_id=:item_id and cir.relation_tag='wiki_reference' and ci.live_revision=cr.revision_id and ci.item_id=cir.item_id"
set content [ad_wiki_text_to_html $content "wiki::get_info"]
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/wiki/www/resources/wiki.css'.
Fisheye: No comparison available. Pass `N' to diff?