diff options
| author | 2026-01-11 20:13:06 +0000 | |
|---|---|---|
| committer | 2026-01-11 20:13:06 +0000 | |
| commit | eeb42a4b1e42b8eab9222d7752fa7c1cdf594cd1 (patch) | |
| tree | 7ce35639f1d0e83ef28a8c8ada57c6078a0a79a3 /wikibot | |
| parent | wikibot/discourse: readd but excludes and dryMode (diff) | |
| signature | ||
wikibot(discourse): don't annoy humans
Diffstat (limited to 'wikibot')
| -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/" |
