diff options
| -rw-r--r-- | wikibot/discourse.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wikibot/discourse.py b/wikibot/discourse.py index c8ef32a..a5aabad 100644 --- a/wikibot/discourse.py +++ b/wikibot/discourse.py @@ -59,8 +59,10 @@ def handle_page(site, page): maybeUpdate(site, page, outputStr) def maybeUpdate(site, page, newContent, comment="Reordered websites"): + pageMirror = 'User:KleaBot/mirror/' + page.title(with_ns=True).replace(':','/') pageTitle = page.title(as_link=True) pageFilename = page.title(as_filename=True) + page = pywikibot.Page(site, pageMirror) dryMode = False outputDir = "./wikitexts/" |
