diff options
-rwxr-xr-x | help-to-wiki.py | 4 | ||||
-rwxr-xr-x | to-wiki/getalltitles.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/help-to-wiki.py b/help-to-wiki.py index 19d58ed56e..42aa072ad2 100755 --- a/help-to-wiki.py +++ b/help-to-wiki.py @@ -49,14 +49,14 @@ def create_wiki_dirs(): ] try: - os.mkdir( "wiki" ) + os.mkdir( "wiki/4.0" ) except: sys.stdout.write( "wiki already generated - the wiki/ subdir exists\n" ) sys.exit( 1 ) for i in dirs: try: - os.mkdir( "wiki/" + i ) + os.mkdir( "wiki/4.0" + i ) except: pass diff --git a/to-wiki/getalltitles.py b/to-wiki/getalltitles.py index 8db9bcb457..8ec6a8993c 100755 --- a/to-wiki/getalltitles.py +++ b/to-wiki/getalltitles.py @@ -130,7 +130,7 @@ def parsexhp(filename): title = tp.get_title() if len(title) > 0: readable_title = readable_text(title) - title = module + '/' + wiki_text(title) + title = '4.0' + module + '/' + wiki_text(title) title = title.replace(' ', '_') title = title.replace('___', '_') title = title.replace('__', '_') |