Page MenuHomePhabricator

First parameter of category talk deletion template after category move categorizes talkpage
Closed, ResolvedPublic

Description

Steps to reproduce

  1. python pwb.py category move on category with a talkpage (without page deletion rights)

Expected behavior
Both category page and talkpage should be proposed for deletion by {{delete}} template

Current behavior
Category talkpage deletion request by bot is declined by AbuseFilter (1), because it adds a category to the talk page:

{{delete|1=Robot: nahrazení kategorie Příkazy DOS za [[Kategorie:Příkazy DOSu|Příkazy DOSu]]}}
Translated to english: {{delete|1=Bot: category Old moved to [[Category:New|New]]}}

Cause
There is colon character (:) missing in the parameter. In category.py the content of the first parameter is taken from automatic summary. The summary contains link to New generated by newcat.title(asLink=True) (2). It looks like the asLink part doesn't add a semicolon as expected.

Configuration
python 3.6.2

Event Timeline

Change 395001 had a related patch set uploaded (by Dvorapa; owner: Dvorapa):
[pywikibot/core@master] [bugfix] Fix automatic delete reason to not categorize marked page

https://gerrit.wikimedia.org/r/395001

Xqt triaged this task as Medium priority.

Change 395001 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Fix automatic delete reason to not categorize marked page

https://gerrit.wikimedia.org/r/395001