[gatewiki-commits] SF.net SVN: gatewiki:[1455] trunk/cow/doc

View: New views
1 Messages — Rating Filter:   Alert me  

[gatewiki-commits] SF.net SVN: gatewiki:[1455] trunk/cow/doc

by hcunningham-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Revision: 1455
          http://gatewiki.svn.sourceforge.net/gatewiki/?rev=1455&view=rev
Author:   hcunningham
Date:     2009-07-06 06:32:21 +0000 (Mon, 06 Jul 2009)

Log Message:
-----------
done task

Modified Paths:
--------------
    trunk/cow/doc/cow-backlog.html
    trunk/cow/doc/cow-backlog.yam
    trunk/cow/doc/cow-done.html
    trunk/cow/doc/cow-done.yam

Modified: trunk/cow/doc/cow-backlog.html
===================================================================
--- trunk/cow/doc/cow-backlog.html 2009-07-05 19:38:33 UTC (rev 1454)
+++ trunk/cow/doc/cow-backlog.html 2009-07-06 06:32:21 UTC (rev 1455)
@@ -62,8 +62,6 @@
 <ul>
 <li>decide whether to (re-)start the gate-server-redesign stuff from a batch
   conversion of existing files</li>
-<li>have another look at show404s: can we put a param in the links from cow
-  pages and treat other 404s as 404s?</li>
 </ul>
 
 <ul>
@@ -77,6 +75,13 @@
       reads the body of a YAM-derived HTML file it should also be given a) the
       top directory of the current area tree and b) the current directory
       (implicit), and then it should step up the tree looking for the layouts</li>
+    <li>PC.show, line 90:</li>
+      <ul>
+      <li>pageBody = FileUtils.getBody(pageFile)</li>
+      <li>change this to be PageService.getBody(pageFile, wiki)</li>
+      <li>this then does an FU.getBody on the page itself and adds in FU.getBody
+        called over any available layout info from the wiki</li>
+      </ul>
     </ul>
   <li>layouts for whole wiki-areas</li>
     <ul>
@@ -162,7 +167,7 @@
     file will be relativised to the current page by the browser so I'm not
     sure how this could be happening?]</li>
   <li>relative links in areas other than area 2 do not work because they assume
-    you are in the default area (i.e. <a class="cow-non-existant-url" href="page1.html">page1.html</a> links to
+    you are in the default area (i.e. <a class="cow-non-existant-url" href="page1.html?m=1">page1.html</a> links to
     <a class="cow-url" href="http://localhost:8080/page1.html">http://localhost:8080/page1.html</a> even if it should be
     <a class="cow-url" href="http://localhost:8080/page/show/4/page1.html)">http://localhost:8080/page/show/4/page1.html)</a> [I can't replicate this
     either; again a relative link will be dealt with the browser, not the

Modified: trunk/cow/doc/cow-backlog.yam
===================================================================
--- trunk/cow/doc/cow-backlog.yam 2009-07-05 19:38:33 UTC (rev 1454)
+++ trunk/cow/doc/cow-backlog.yam 2009-07-06 06:32:21 UTC (rev 1455)
@@ -9,8 +9,6 @@
 
 - decide whether to (re-)start the gate-server-redesign stuff from a batch
   conversion of existing files
-- have another look at show404s: can we put a param in the links from cow
-  pages and treat other 404s as 404s?
 
 - add layouts capabilities appropriate for gate.ac.uk and the lifesci work
   [NA, HC]

Modified: trunk/cow/doc/cow-done.html
===================================================================
--- trunk/cow/doc/cow-done.html 2009-07-05 19:38:33 UTC (rev 1454)
+++ trunk/cow/doc/cow-done.html 2009-07-06 06:32:21 UTC (rev 1455)
@@ -1984,7 +1984,7 @@
     <li>quartz job to collect edited/newly updated docs and index them</li>
     <li>support for upto 20 cores (20 sandboxes)</li>
     <li>separate logging for solr (as solr uses java logging)</li>
-    <li>some documentation in <a class="cow-url" href="gatewiki.html">gatewiki.html</a> (move the <a class="cow-non-existant-url" href="nutch+solr.html">nutch+solr.html</a>
+    <li>some documentation in <a class="cow-url" href="gatewiki.html">gatewiki.html</a> (move the <a class="cow-non-existant-url" href="nutch+solr.html?m=1">nutch+solr.html</a>
       stuff there for developers; add some user stuff when it is working
       properly)</li>
     </ul>
@@ -2085,5 +2085,16 @@
   the top-level is probably enough, e.g. for the page doc/yam/summary.html we
   would have "You're here: Home > Help > Doc > Yam" as breadcrumbs. see also
   Darryl Pentz discussion in Jan on the mailing list. [NA]</li>
+<li>changed the behaviour of PageController.show and HtmlTranslator so:</li>
+  <ul>
+  <li>/page/show/... is never thought to be an non-existant page during
+    translation (so is not coloured red)</li>
+  <li>non-existant pages have a m[issing]=1 parameter added to the url</li>
+  <li>only non-existant pages with the missing param are forwarded to create new
+    page</li>
+  <li>i.e. it will now only offer to create missing pages when they were found
+    to be non-existant within the current area during translation.</li>
+  </ul>
 </ul>
+
 </body></html>
\ No newline at end of file

Modified: trunk/cow/doc/cow-done.yam
===================================================================
--- trunk/cow/doc/cow-done.yam 2009-07-05 19:38:33 UTC (rev 1454)
+++ trunk/cow/doc/cow-done.yam 2009-07-06 06:32:21 UTC (rev 1455)
@@ -1427,3 +1427,12 @@
   the top-level is probably enough, e.g. for the page doc/yam/summary.html we
   would have "You're here: Home > Help > Doc > Yam" as breadcrumbs. see also
   Darryl Pentz discussion in Jan on the mailing list. [NA]
+- changed the behaviour of PageController.show and HtmlTranslator so:
+  - /page/show/... is never thought to be an non-existant page during
+    translation (so is not coloured red)
+  - non-existant pages have a m[issing]=1 parameter added to the url
+  - only non-existant pages with the missing param are forwarded to create new
+    page
+  - i.e. it will now only offer to create missing pages when they were found
+    to be non-existant within the current area during translation.
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
gatewiki-commits mailing list
gatewiki-commits@...
https://lists.sourceforge.net/lists/listinfo/gatewiki-commits