summaryrefslogtreecommitdiff
path: root/helpcontent2/to-wiki/wikiconv2.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpcontent2/to-wiki/wikiconv2.py')
-rwxr-xr-xhelpcontent2/to-wiki/wikiconv2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/helpcontent2/to-wiki/wikiconv2.py b/helpcontent2/to-wiki/wikiconv2.py
index a2acb9424e..f74687b446 100755
--- a/helpcontent2/to-wiki/wikiconv2.py
+++ b/helpcontent2/to-wiki/wikiconv2.py
@@ -451,7 +451,8 @@ class Bookmark(ElementBase):
global redirects
# first of all, we need to create a redirect page for this one
if self.redirect != '' and self.target != '':
- redirects.append([self.app, self.redirect, self.target, \
+ redirects.append([self.app, self.redirect, \
+ '%s#%s'% (self.target, self.id), \
self.authoritative])
# then we also have to setup ID inside the page