Steps to replicate the issue (include links if applicable):
Let's move the category pages to a category with an identical name: pwb.py category -site:wikisource:ru move -from:"Фёдор Павлович Аделунг" -to:"Фёдор Павлович Аделунг" -inplace
What happens?:
Pages are drop from this category. example1, example1. This bug was discovered during batch processing of a lot of subcategories.
What should have happened instead?:
If the original and target categories are identical, the pages should remain in the category "-to:", the edits should be skipped. Because to remove pages from categories the following options are used: -from:"original category" -to:"".