Opened 21 years ago
Closed 21 years ago
#1530 closed defect (fixed)
wiki.page_name - No longer available in Macros
| Reported by: | Owned by: | Christopher Lenz | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | wiki system | Version: | devel |
| Severity: | normal | Keywords: | WIKI MACRO |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
The seemingly standard approach thispage = hdf.getValue('wiki.page_name', ) for retrieving the current Wiki page within a macro no longer functions.
This is either a bug, or newly designed behavior - however the issue stems from the req.hdfwiki.page_name = escape(page.name) line, being executed after the page rendering code.
We have temporarily placed a copy of this line above the rendering engine to temporarily fix the issue.
However - either a bug fix, or a statement of a preferred method for achieving this result would be useful.
Attachments (0)
Change History (2)
comment:1 by , 21 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |



Fixed in [1667].