Meno25 created this task.
Meno25 added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, alaa, Aklapper.
TASK DESCRIPTION
**Command line**
python pwb.py fixing_redirects -start:! -lang:ary
**Output:**
Retrieving 50 pages from wikipedia:ary.
>>> 0 <<<
**Output of version.py:**
Pywikibot: [https] r-pywikibot-core (0bc928b, g15757, 2022/01/07, 13:41:57,
master)
Release version: 7.0.0.dev0
setuptools version: 60.3.1
mwparserfromhell version: 0.6.3
wikitextparser version: n/a
requests version: 2.27.1
cacerts:
certificate test: ok
Python: 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64
bit (AMD64)]
**Problem:**
- The script is stuck (does not process pages) on the first page to work on
if the page title is a number (e.g.: 0, 1, ...).
- If the page title starts by a letter, the sript works as expected, e,g,:
python pwb.py fixing_redirects -start:a -lang:ary
**Output in this case:**
Retrieving 50 pages from wikipedia:ary.
>>> DSM-5 <<<
@@ -15 +15 @@
- # [[ديپريسيو|الديپريسيون]]
+ # [[كتيئاب|الديپريسيون]]
Edit summary: بوت: إصلاح التحويلات
Do you want to accept these changes? ([y]es, [N]o, [a]ll, [q]uit): y
Page [[DSM-5]] saved
TASK DETAIL
https://phabricator.wikimedia.org/T298789
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Meno25
Cc: Aklapper, alaa, Meno25, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH,
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]