Fossil SCM
Internal wikiedit doc touchups.
Commit
a36cd610afc35aca77d2e6b64d9c51c62846e3ad65a3067f1a86a148a7ce5fd2
Parent
91bb602ad609ad6…
1 file changed
+6
-5
+6
-5
| --- src/wiki.c | ||
| +++ src/wiki.c | ||
| @@ -829,14 +829,15 @@ | ||
| 829 | 829 | CX("]"); |
| 830 | 830 | } |
| 831 | 831 | } |
| 832 | 832 | |
| 833 | 833 | /* |
| 834 | - ** Proxy for wiki_ajax_emit_page_attachments2() which attempts to | |
| 835 | - ** load the given wiki page artifact and fails if it cannot. | |
| 836 | - ** Returns true if it loads the page, else false. | |
| 837 | - */ | |
| 834 | +** Proxy for wiki_ajax_emit_page_attachments() which attempts to | |
| 835 | +** load the given wiki page artifact. Returns true if it loads the | |
| 836 | +** page, else false. If it returns false then it queues up a 404 ajax | |
| 837 | +** error response. | |
| 838 | +*/ | |
| 838 | 839 | static int wiki_ajax_emit_page_attachments2(const char *zPageName, |
| 839 | 840 | int latestOnly, |
| 840 | 841 | int nullIfEmpty){ |
| 841 | 842 | Manifest * pWiki = 0; |
| 842 | 843 | if( !wiki_fetch_by_name(zPageName, 0, 0, &pWiki) ){ |
| @@ -866,11 +867,11 @@ | ||
| 866 | 867 | ** mimetype: "mimetype", |
| 867 | 868 | ** version: UUID string or null for a sandbox page, |
| 868 | 869 | ** parent: "parent uuid" or null if no parent, |
| 869 | 870 | ** isDeleted: true if the page has no content (is "deleted") |
| 870 | 871 | ** else not set (making it "falsy" in JS), |
| 871 | -** attachments: see wiki_ajax_emit_page_attachments() | |
| 872 | +** attachments: see wiki_ajax_emit_page_attachments(), | |
| 872 | 873 | ** content: "page content" (only if includeContent is true) |
| 873 | 874 | ** } |
| 874 | 875 | ** |
| 875 | 876 | ** If includeContent is false then the content member is elided. |
| 876 | 877 | */ |
| 877 | 878 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -829,14 +829,15 @@ | |
| 829 | CX("]"); |
| 830 | } |
| 831 | } |
| 832 | |
| 833 | /* |
| 834 | ** Proxy for wiki_ajax_emit_page_attachments2() which attempts to |
| 835 | ** load the given wiki page artifact and fails if it cannot. |
| 836 | ** Returns true if it loads the page, else false. |
| 837 | */ |
| 838 | static int wiki_ajax_emit_page_attachments2(const char *zPageName, |
| 839 | int latestOnly, |
| 840 | int nullIfEmpty){ |
| 841 | Manifest * pWiki = 0; |
| 842 | if( !wiki_fetch_by_name(zPageName, 0, 0, &pWiki) ){ |
| @@ -866,11 +867,11 @@ | |
| 866 | ** mimetype: "mimetype", |
| 867 | ** version: UUID string or null for a sandbox page, |
| 868 | ** parent: "parent uuid" or null if no parent, |
| 869 | ** isDeleted: true if the page has no content (is "deleted") |
| 870 | ** else not set (making it "falsy" in JS), |
| 871 | ** attachments: see wiki_ajax_emit_page_attachments() |
| 872 | ** content: "page content" (only if includeContent is true) |
| 873 | ** } |
| 874 | ** |
| 875 | ** If includeContent is false then the content member is elided. |
| 876 | */ |
| 877 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -829,14 +829,15 @@ | |
| 829 | CX("]"); |
| 830 | } |
| 831 | } |
| 832 | |
| 833 | /* |
| 834 | ** Proxy for wiki_ajax_emit_page_attachments() which attempts to |
| 835 | ** load the given wiki page artifact. Returns true if it loads the |
| 836 | ** page, else false. If it returns false then it queues up a 404 ajax |
| 837 | ** error response. |
| 838 | */ |
| 839 | static int wiki_ajax_emit_page_attachments2(const char *zPageName, |
| 840 | int latestOnly, |
| 841 | int nullIfEmpty){ |
| 842 | Manifest * pWiki = 0; |
| 843 | if( !wiki_fetch_by_name(zPageName, 0, 0, &pWiki) ){ |
| @@ -866,11 +867,11 @@ | |
| 867 | ** mimetype: "mimetype", |
| 868 | ** version: UUID string or null for a sandbox page, |
| 869 | ** parent: "parent uuid" or null if no parent, |
| 870 | ** isDeleted: true if the page has no content (is "deleted") |
| 871 | ** else not set (making it "falsy" in JS), |
| 872 | ** attachments: see wiki_ajax_emit_page_attachments(), |
| 873 | ** content: "page content" (only if includeContent is true) |
| 874 | ** } |
| 875 | ** |
| 876 | ** If includeContent is false then the content member is elided. |
| 877 | */ |
| 878 |