Fossil SCM

Add "current_checkin" to the list of TH1 variables available in skin templates.

florian 2026-03-23 15:10 trunk
Commit c90e810f3fc83a8bd0da3d38c3bd975c7323e1782469f9848cf97e36dca1aeef
1 file changed +11
--- www/customskin.md
+++ www/customskin.md
@@ -471,10 +471,21 @@
471471
specified by the Admin/Configuration setup page.
472472
473473
* **`current_page`** - The name of the page currently being processed,
474474
without the leading "/" and without query parameters.
475475
Examples: "timeline", "doc/trunk/README.txt", "wiki".
476
+
477
+ * **`current_checkin`** - The [check-in name](./checkin_names.wiki) to
478
+ which the current
479
+ [/ci](/help/www/ci),
480
+ [/dir](/help/www/dir),
481
+ [/tree](/help/www/tree),
482
+ [/timeline](/help/www/timeline) or
483
+ [/vinfo](/help/www/vinfo)
484
+ page refers, or undefined for all other pages. This variable is
485
+ derived from query parameters and is therefore a [tainted string]
486
+ (./th1.md#taint).
476487
477488
* **`csrf_token`** - A token used to prevent cross-site request forgery.
478489
479490
* **`default_csp`** - [Fossil’s default CSP](./defcsp.md) unless
480491
[overridden by custom TH1 code](./defcsp.md#th1). Useful within
481492
--- www/customskin.md
+++ www/customskin.md
@@ -471,10 +471,21 @@
471 specified by the Admin/Configuration setup page.
472
473 * **`current_page`** - The name of the page currently being processed,
474 without the leading "/" and without query parameters.
475 Examples: "timeline", "doc/trunk/README.txt", "wiki".
 
 
 
 
 
 
 
 
 
 
 
476
477 * **`csrf_token`** - A token used to prevent cross-site request forgery.
478
479 * **`default_csp`** - [Fossil’s default CSP](./defcsp.md) unless
480 [overridden by custom TH1 code](./defcsp.md#th1). Useful within
481
--- www/customskin.md
+++ www/customskin.md
@@ -471,10 +471,21 @@
471 specified by the Admin/Configuration setup page.
472
473 * **`current_page`** - The name of the page currently being processed,
474 without the leading "/" and without query parameters.
475 Examples: "timeline", "doc/trunk/README.txt", "wiki".
476
477 * **`current_checkin`** - The [check-in name](./checkin_names.wiki) to
478 which the current
479 [/ci](/help/www/ci),
480 [/dir](/help/www/dir),
481 [/tree](/help/www/tree),
482 [/timeline](/help/www/timeline) or
483 [/vinfo](/help/www/vinfo)
484 page refers, or undefined for all other pages. This variable is
485 derived from query parameters and is therefore a [tainted string]
486 (./th1.md#taint).
487
488 * **`csrf_token`** - A token used to prevent cross-site request forgery.
489
490 * **`default_csp`** - [Fossil’s default CSP](./defcsp.md) unless
491 [overridden by custom TH1 code](./defcsp.md#th1). Useful within
492

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button