[Trac-tickets] [The Trac Project] #1530: wiki.page_name - No longer available in Macros

The Trac Project noreply at edgewall.com
Tue May 10 23:56:36 EDT 2005


#1530: wiki.page_name - No longer available in Macros
--------------------+-------------------------------------------------------
       Id:  1530    |      Status:  new                     
Component:  wiki    |    Modified:  Tue May 10 23:56:36 2005
 Severity:  normal  |   Milestone:  0.9                     
 Priority:  normal  |     Version:  devel                   
    Owner:  jonas   |    Reporter:  c.burke at its.uq.edu.au   
--------------------+-------------------------------------------------------
 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.hdf['wiki.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.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1530>
The Trac Project <>


More information about the Trac-Tickets mailing list