Differences From:
File
src/wiki.c
part of check-in
[0be54823ba]
- Add defenses against cross-site request forgery attacks.
by
drh on
2008-10-18 12:55:44.
[view]
To:
File
src/wiki.c
part of check-in
[e8c4f69c50]
- Change all mentions of "UUID" in the documentation and help screens into
either "artifact ID" or "baseline ID" or "ticket ID" as appropriate. "UUID"
has a widely recognized meaning that is different from its meaning in
fossil. "UUID" is still used in code comments and in variable names.
by
drh on
2008-10-24 13:27:53.
[view]
@@ -115,9 +115,9 @@
** URL: /wiki?name=PAGENAME
*/
void wiki_page(void){
char *zTag;
- int rid;
+ int rid = 0;
int isSandbox;
Blob wiki;
Manifest m;
const char *zPageName;
@@ -552,9 +552,9 @@
@ indented. Only a single level of indentation is supported by wiki; use
@ HTML for deeper indentation.</p>
@ <li> <p><b>Hyperlinks</b>.
@ Text within square brackets ("[...]") becomes a hyperlink. The
- @ target can be a wiki page name, the UUID of a check-in or ticket,
+ @ target can be a wiki page name, the artifact ID of a check-in or ticket,
@ the name of an image, or a URL. By default, the target is displayed
@ as the text of the hyperlink. But you can specify alternative text
@ after the target name separated by a "|" character.</p>
@ <li> <p><b>HTML</b>.
@@ -708,9 +708,9 @@
** case-insentively by name.
**
** TODOs:
**
-** %fossil wiki export ?-u UUID? WikiName ?FILE?
+** %fossil wiki export ?-u ARTIFACT? WikiName ?FILE?
**
** Outputs the selected version of WikiName.
**
** %fossil wiki delete ?-m MESSAGE? WikiName
@@ -719,12 +719,12 @@
** supports a commit message for Wiki entries.
**
** %fossil wiki ?-u? ?-d? ?-s=[|]? list
**
-** Lists the UUID and/or Date of last change along with each entry
-** name, delimited by the -s char.
+** Lists the artifact ID and/or Date of last change along with
+** each entry name, delimited by the -s char.
**
-** %fossil wiki diff ?UUID? ?-f infile[=stdin]? EntryName
+** %fossil wiki diff ?ARTIFACT? ?-f infile[=stdin]? EntryName
**
** Diffs the local copy of a page with a given version (defaulting
** to the head version).
*/