From eeb42a4b1e42b8eab9222d7752fa7c1cdf594cd1 Mon Sep 17 00:00:00 2001 From: klea Date: Sun, 11 Jan 2026 20:13:06 +0000 Subject: wikibot(discourse): don't annoy humans --- wikibot/discourse.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wikibot') 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/" -- cgit v1.3.1-10-gc9f91