Opened 14 years ago

Closed 14 years ago

#585 closed defect (fixed)

Trac wiki formatting plugin missing?

Reported by: warmerdam Owned by: crschmidt
Priority: normal Milestone:
Component: SysAdmin 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 (4)

comment:1 by crschmidt, 14 years ago

Resolution: fixed
Status: newclosed

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.)

comment:2 by pracine, 14 years ago

Resolution: fixed
Status: closedreopened

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.

comment:3 by crschmidt, 14 years ago

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.

comment:4 by crschmidt, 14 years ago

Resolution: fixed
Status: reopenedclosed

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.