Ticket #585 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Trac wiki formatting plugin missing?

Reported by: warmerdam Owned by: crschmidt
Priority: normal Milestone:
Component: Systems Admin Keywords: trac
Cc: pracine

Description

I guess the PostGIS wiki web site engine has been modified or upgraded and all our nice pages which were using code like "#!html" are not working.

Details:

 http://postgis.refractions.net/pipermail/postgis-devel/2010-June/009666.html

like this one:

 http://trac.osgeo.org/postgis/wiki/WKTRaster/PlanningAndFunding

as described at the bottom of the Trac doc:

 http://trac.osgeo.org/postgis/wiki/WikiFormatting

to make a nice upper right menu are now broken...

:-(

Pierre

Change History

Changed 3 years ago by crschmidt

  • status changed from new to closed
  • resolution set to fixed

apt-get install python-clearsilver fixed this one. (Maybe this is expected to be installed; Trac says that this support is 'built in', but it apparently doesn't work without clearsilver.)

Changed 3 years ago by pracine

  • status changed from closed to reopened
  • resolution fixed deleted

Apparently Trac now add as many closing </div> as we put some in a

section. so it is not possible anymore to surround wiki code with HTML <div>s to get a little bit of freedom...

 http://trac.osgeo.org/postgis/wiki/WKTRaster/PlanningAndFunding

is an example and is still broken.

Changed 3 years ago by crschmidt

pracine:

I had to edit the page to understand the problem you were describing.

As I understand it, this functionality is not possible in the current version of trac.

See:

"Since 0.11, the filtering is done by Genshi, and as such, the produced output will be a well-formed fragment of HTML. As noted above in the introduction, this mean that you can no longer use two HTML blocks, one for opening a <div>, the second for closing it, in order to wrap arbitrary wiki text. The new way to wrap any wiki content inside a <div> is to use the #!div Wiki processor."

See  http://trac.osgeo.org/postgis/wiki/WikiHtml for more information on the div wikiprocessor, which I think you can use to update your pages.

Changed 3 years ago by crschmidt

  • status changed from reopened to closed
  • resolution set to fixed

No further work to be done here: looks like pracine edited his page, and this ticket has info for anyone else who might need it going forward.

Note: See TracTickets for help on using tickets.