From: Henryk Gerlach <hgerlach@gm...> - 2007-06-19 16:30:54
thank you for the quick answer and sorry for the PM.
> > <loc>http://example.tld/mywiki/mywiki/FrontPage</loc>
> Strange. And your wiki works correctly otherwise?
Yes, without visible roblems. I love MoinMoin.
> > url = "/" + page.page_name #this works with host.tld/mywiki/
> And this should be even more broken, as it should give /FrontPage for
> the FrontPage.
No, but it will probably break if the pagename uses umlauts and other weird characters.
In the function cited above the variable "url" is combined with some variable "base" to form the "location" (from http://hg.moinmo.in/moin/1.5/file/e0bd0f4ba9af/MoinMoin/action/sitemap.py)
19 def make_url_xml(vars):
20 """ assemble a single <url> xml fragment """
21 return """\
30 def sitemap_url(request, base, page):
32 url = page.url(request)
62 def execute(pagename, request):
66 base = request.getBaseURL()
The problem is, that both "url" and "base" contain the wikipath (=the directory to which the webserver maps the wiki). Links inside the wiki seem not to be affected.
> > Any comments?
> Weird :)
> Maybe file a bug report about this, giving ALL details, including your web server and wiki configuration.
I was a bit rude, and found that other installations have the same problem:
http://wiki.xensource.com/xenwiki/FrontPage ? action=sitemap
So it does not seem to cause problems with other parts of the wiki.
I will investigate a bit further and issue a bugreport and/or a patch.
Thank you very much for your help,
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail