Commit ac10da5d authored by tvincent's avatar tvincent
Browse files

Mise a jour du script pour dumper le wiki

darcs-hash:20070915151008-4e80f-bb2922df89af14a297bcfbdc66c067f6fcd9c733.gz
parent 5e41a0c6
......@@ -49,7 +49,7 @@ les
contient donc les infos pour configurer correctement votre connexion.
</p>
<h1>%(pagenamewithlinks)s</h1>
<div id="title"><h1>%(pagenamewithlinks)s</h1></div>
%(pagehtml)s
......@@ -63,7 +63,7 @@ Cette page a
import os, time, StringIO, codecs, shutil, re
from MoinMoin import config, wikiutil, Page
from MoinMoin.scripts import _util
from MoinMoin.script import _util
from MoinMoin.request import RequestCLI
from MoinMoin.action import AttachFile
......@@ -137,7 +137,7 @@ class MoinDump(_util.Script):
out = StringIO.StringIO()
request.redirect(out)
request.page = page
request.remote_addr = '138.231.136.3'
request.remote_addr = '138.231.136.7'
page.send_page(request, count_hit=0, content_only=1)
pagehtml = out.getvalue()
request.redirect()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment