Missing page move with movepages.py using the regex option ----------------------------------------------------------
Key: PYWP-6 URL: https://jira.ts.wikimedia.org/browse/PYWP-6 Project: pywikipedia Issue Type: Bug Components: Framework Reporter: Pietrodn Attachments: svn.diff
Hello. The problem is the following: 1) I do movepages.py on a category; 2) I then select the 'regex' option and enter the two regexes; 3) At the first choice, the bot asks me if I want to move the first page. I select 'all': the bot switches in regex mode, and moves the first page; 4) At the second choice, the bot asks me if I want to move the second page. I type 'all' and the bot switches in automatic mode: he moves all the pages in the category but the second. I found the bug in movepages.py and corrected it. Here's a patch.
Regards Pietrodn
[ https://jira.ts.wikimedia.org/browse/PYWP-6?page=com.atlassian.jira.plugin.s... ]
Pietrodn updated PYWP-6: -------------------------
Attachment: svn.diff
This is the patch for the bug.
Missing page move with movepages.py using the regex option
Key: PYWP-6 URL: https://jira.ts.wikimedia.org/browse/PYWP-6 Project: pywikipedia Issue Type: Bug Components: Framework Reporter: Pietrodn Attachments: svn.diff
Hello. The problem is the following:
- I do movepages.py on a category;
- I then select the 'regex' option and enter the two regexes;
- At the first choice, the bot asks me if I want to move the first page. I select 'all': the bot switches in regex mode, and moves the first page;
- At the second choice, the bot asks me if I want to move the second page. I type 'all' and the bot switches in automatic mode: he moves all the pages in the category but the second.
I found the bug in movepages.py and corrected it. Here's a patch. Regards Pietrodn
[ https://jira.ts.wikimedia.org/browse/PYWP-6?page=com.atlassian.jira.plugin.s... ]
Rotem Liss resolved PYWP-6. ---------------------------
Resolution: Fixed
Fixed in r4931.
Missing page move with movepages.py using the regex option
Key: PYWP-6 URL: https://jira.ts.wikimedia.org/browse/PYWP-6 Project: pywikipedia Issue Type: Bug Components: Framework Reporter: Pietrodn Attachments: svn.diff
Hello. The problem is the following:
- I do movepages.py on a category;
- I then select the 'regex' option and enter the two regexes;
- At the first choice, the bot asks me if I want to move the first page. I select 'all': the bot switches in regex mode, and moves the first page;
- At the second choice, the bot asks me if I want to move the second page. I type 'all' and the bot switches in automatic mode: he moves all the pages in the category but the second.
I found the bug in movepages.py and corrected it. Here's a patch. Regards Pietrodn
pywikipedia-l@lists.wikimedia.org