Page MenuHomePhabricator

wbcreateredirect should act upon the 'bot' param
Closed, ResolvedPublic

Description

The example below should, when performed by a user with the 'bot' right, cause the resulting RecentChanges entry to be marked as 'bot':

api.php?action=wbcreateredirect&from=Q11&to=Q12&bot=

Event Timeline

Addshore raised the priority of this task from to Needs Triage.
Addshore updated the task description. (Show Details)
Addshore added subscribers: Addshore, Lydia_Pintscher.
Addshore set Security to None.
Lydia_Pintscher added a subscriber: hoo.
Krenair renamed this task from wbcreateredirect should respect the bot flag to wbcreateredirect should have a 'bot' param.Jan 17 2015, 9:20 PM
Krenair updated the task description. (Show Details)
Addshore renamed this task from wbcreateredirect should have a 'bot' param to wbcreateredirect should act upon the 'bot' param.Jan 17 2015, 9:21 PM

Changed title again as the module does report that it has the bot param and also that you can pass it in.
The issue is that it does nothing with it.

gerritbot subscribed.

Change 185692 had a related patch set uploaded (by Legoktm):
wbcreateredirect: Actually check the &bot=1 parameter

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

Patch-For-Review

Change 185692 merged by jenkins-bot:
wbcreateredirect: Actually check the &bot=1 parameter

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

Addshore claimed this task.

Merged

matej_suchanek removed Addshore as the assignee of this task.
matej_suchanek raised the priority of this task from High to Needs Triage.
matej_suchanek removed a project: Patch-For-Review.
matej_suchanek subscribed.

This happens again, even when merging items, check for MatSuBot's edits.

This happens again, even when merging items, check for MatSuBot's edits.

As far as I see (by skimming the code) hat should all work just fine… can you tell which api module (action=…) exactly the bot is using (full list of parameters preferred)?

matej_suchanek changed the task status from Open to Stalled.Jun 21 2016, 10:36 AM

Looking into Pywikibot, it seems that unlike editEntity(), mergeItems() doesn't allow bot=1. If this turns out to be right, I will close this ticket and open another.

Restoring previous status, created T138287.