Author: earle Date: 2005-10-23 18:14:20 +0100 (Sun, 23 Oct 2005) New Revision: 699
Modified: trunk/Changes trunk/templates/node.tt Log: new "make this node?" message
Modified: trunk/Changes =================================================================== --- trunk/Changes 2005-10-23 16:36:13 UTC (rev 698) +++ trunk/Changes 2005-10-23 17:14:20 UTC (rev 699) @@ -1,9 +1,12 @@ 0.51 - New "format=raw" option for outputting wiki text of a node. + When trying to view a non-existent node, you will now be presented + with a message asking if you want to create that node, rather than + a blank page. New "summary" metadata field for one-line summaries of nodes. Add summary field to RDF as dc:description. Show node summary in search results. - Add "address" field that had got missed out from the RDF. + New "format=raw" option for outputting wiki text of a node. + Add "address" field that was missing from the RDF node view. Update URL for Dublin Core elements in RDF index view. Locales, address and summary fields now XML-escaped properly. Requirement on CGI::Wiki::Plugin::RSS::ModWiki bumped to 0.073 for
Modified: trunk/templates/node.tt =================================================================== --- trunk/templates/node.tt 2005-10-23 16:36:13 UTC (rev 698) +++ trunk/templates/node.tt 2005-10-23 17:14:20 UTC (rev 699) @@ -22,6 +22,9 @@ <span class="node_name">[% node_name %]</span></em> </h2> [% END %] +[% IF not (content || coord_field_1_value || coord_field_2_value || latitude || longitude) %] +We don't have a node called "[% node_param %]". Would you like to <a href="[% full_cgi_url %]?action=edit;id=[% node_param %]">make +[% ELSE %] [% INCLUDE display_metadata.tt %]
<!-- NODE CONTENT STARTS --> @@ -94,6 +97,6 @@ versions.</a> [% END %] </div> - +[% END %] </div> [% INCLUDE footer.tt %]