Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Steps to replicate the issue**:
- create a file (`pages1.txt`) with any wikipage content but only one page
without any delimiter
- run `pwb pagefromfile -simulate -notitle -textonly -file:pages1.txt`
**What happens?**:
D:\pwb\GIT\core>pwb pagefromfile -simulate -notitle -textonly
-file:pages1.txt
Reading 'pages1.txt'...
No title found - skipping a page.
No title found - skipping a page.
...
No title found - skipping a page.
No title found - skipping a page.
No title found - skipping a page.
Retrieving 1 pages from wikipedia:de.
KeyboardInterrupt during PageFromFileRobot bot run...
2 read operations
Execution time: 1 seconds
Read operation time: 0.5 seconds
Script terminated successfully.
D:\pwb\GIT\core>
**What should have happened instead?**:
There is only one page to process.
**Software version** (skip for WMF-hosted wikis like Wikipedia):
Tested with 4.0 and 7.6 but I guess this error exists since compat 1.0
TASK DETAIL
https://phabricator.wikimedia.org/T313684
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, 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]