Fossil SCM
Renamed the 'sandbox' automagical page to 'Sandbox' (upper case) for consistency with the historical sandbox links. Both names work equivalently, but now the selection list matches up with the name passed in via the external links to the sandbox.
Commit
a95dd98e8147351f795e1fa10f5fca637f337d133cbdabca781ef28bb4bf012c
Parent
c3c9a14365f1787…
1 file changed
+2
-2
+2
-2
| --- src/wiki.c | ||
| +++ src/wiki.c | ||
| @@ -987,11 +987,11 @@ | ||
| 987 | 987 | cgi_set_content_type("application/json"); |
| 988 | 988 | db_begin_transaction(); |
| 989 | 989 | db_prepare(&q, "SELECT" |
| 990 | 990 | " substr(tagname,6) AS name" |
| 991 | 991 | " FROM tag WHERE tagname GLOB 'wiki-*'" |
| 992 | - " UNION SELECT 'sandbox' AS name" | |
| 992 | + " UNION SELECT 'Sandbox' AS name" | |
| 993 | 993 | " ORDER BY name COLLATE NOCASE"); |
| 994 | 994 | CX("["); |
| 995 | 995 | while( SQLITE_ROW==db_step(&q) ){ |
| 996 | 996 | char const * zName = db_column_text(&q,0); |
| 997 | 997 | if(n++){ |
| @@ -1221,11 +1221,11 @@ | ||
| 1221 | 1221 | CX("</ul>"); |
| 1222 | 1222 | CX("<hr><h3>Attachments</h3>"); |
| 1223 | 1223 | CX("<div id='wikiedit-attachments'></div>" |
| 1224 | 1224 | /* Filled out by JS */); |
| 1225 | 1225 | CX("<hr><h3>The \"Sandbox\" Page</h3>"); |
| 1226 | - CX("<p>The page named \"sandbox\" is not a real wiki page. " | |
| 1226 | + CX("<p>The page named \"Sandbox\" is not a real wiki page. " | |
| 1227 | 1227 | "It provides a place where users may test out wiki syntax " |
| 1228 | 1228 | "without having to actually save anything, nor pollute " |
| 1229 | 1229 | "the repo with endless test runs. Any attempt to save the " |
| 1230 | 1230 | "sandbox page will fail.</p>"); |
| 1231 | 1231 | CX("<hr><h3>Wiki Name Rules</h3>"); |
| 1232 | 1232 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -987,11 +987,11 @@ | |
| 987 | cgi_set_content_type("application/json"); |
| 988 | db_begin_transaction(); |
| 989 | db_prepare(&q, "SELECT" |
| 990 | " substr(tagname,6) AS name" |
| 991 | " FROM tag WHERE tagname GLOB 'wiki-*'" |
| 992 | " UNION SELECT 'sandbox' AS name" |
| 993 | " ORDER BY name COLLATE NOCASE"); |
| 994 | CX("["); |
| 995 | while( SQLITE_ROW==db_step(&q) ){ |
| 996 | char const * zName = db_column_text(&q,0); |
| 997 | if(n++){ |
| @@ -1221,11 +1221,11 @@ | |
| 1221 | CX("</ul>"); |
| 1222 | CX("<hr><h3>Attachments</h3>"); |
| 1223 | CX("<div id='wikiedit-attachments'></div>" |
| 1224 | /* Filled out by JS */); |
| 1225 | CX("<hr><h3>The \"Sandbox\" Page</h3>"); |
| 1226 | CX("<p>The page named \"sandbox\" is not a real wiki page. " |
| 1227 | "It provides a place where users may test out wiki syntax " |
| 1228 | "without having to actually save anything, nor pollute " |
| 1229 | "the repo with endless test runs. Any attempt to save the " |
| 1230 | "sandbox page will fail.</p>"); |
| 1231 | CX("<hr><h3>Wiki Name Rules</h3>"); |
| 1232 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -987,11 +987,11 @@ | |
| 987 | cgi_set_content_type("application/json"); |
| 988 | db_begin_transaction(); |
| 989 | db_prepare(&q, "SELECT" |
| 990 | " substr(tagname,6) AS name" |
| 991 | " FROM tag WHERE tagname GLOB 'wiki-*'" |
| 992 | " UNION SELECT 'Sandbox' AS name" |
| 993 | " ORDER BY name COLLATE NOCASE"); |
| 994 | CX("["); |
| 995 | while( SQLITE_ROW==db_step(&q) ){ |
| 996 | char const * zName = db_column_text(&q,0); |
| 997 | if(n++){ |
| @@ -1221,11 +1221,11 @@ | |
| 1221 | CX("</ul>"); |
| 1222 | CX("<hr><h3>Attachments</h3>"); |
| 1223 | CX("<div id='wikiedit-attachments'></div>" |
| 1224 | /* Filled out by JS */); |
| 1225 | CX("<hr><h3>The \"Sandbox\" Page</h3>"); |
| 1226 | CX("<p>The page named \"Sandbox\" is not a real wiki page. " |
| 1227 | "It provides a place where users may test out wiki syntax " |
| 1228 | "without having to actually save anything, nor pollute " |
| 1229 | "the repo with endless test runs. Any attempt to save the " |
| 1230 | "sandbox page will fail.</p>"); |
| 1231 | CX("<hr><h3>Wiki Name Rules</h3>"); |
| 1232 |