Description

"moin dump" is a command to dump a wiki into static HTML files. It is not consistent with ThemeGuidelines. It shows the page name as an H1 heading.

The task is to fix this and test it for 1.6, provide diffs, close bug.

This task needs about 10h of work and has to be finished in 7 days.

Steps to reproduce

Example

Component selection

Details

MoinMoin Version

1.5.8

OS and Version

any

Python Version

any

Server Setup

n/a

Server Details

n/a

Language you are using the wiki in (set in the browser/UserPreferences)

English

Workaround

Change the page_template near line 25 on Moin 1.5.8 to something like the following. The suggestion below removes <h1 id="title">%(pagename)s</h1> from the page content area and adds %(pagename)s to the start of the navibar area.

page_template = u'''<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=%(charset)s">
<title>%(pagename)s</title>
<link rel="stylesheet" type="text/css" media="all" charset="utf-8" href="%(theme)s/css/common.css">
<link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="%(theme)s/css/screen.css">
<link rel="stylesheet" type="text/css" media="print" charset="utf-8" href="%(theme)s/css/print.css">
</head>
<body>
<table>
<tr>
<td>
%(logo_html)s
</td>
<td>
%(pagename)s
%(navibar_html)s
</td>
</tr>
</table>
<hr>
<div id="page">
%(pagehtml)s
</div>
<hr>
%(timestamp)s
</body>
</html>
'''

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/MoinDumpTheme (last edited 2008-05-01 20:24:01 by ThomasWaldmann)