jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/721978 )
Change subject: [bugfix] Fix -match option of category.py ......................................................................
[bugfix] Fix -match option of category.py
Change-Id: I37ad8d1a9a5c774baa83f493458cffe01d273223 --- M scripts/category.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/category.py b/scripts/category.py index 36182ce..fb259d5 100755 --- a/scripts/category.py +++ b/scripts/category.py @@ -1383,7 +1383,7 @@ showimages = True elif option == 'summary': summary = value - elif option == '-match': + elif option == 'match': title_regex = value or pywikibot.input( 'Which regular expression should affected objects match?') elif option == 'talkpages':
pywikibot-commits@lists.wikimedia.org