RedKhan16 created this task.
RedKhan16 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  I'm using Pywikibot to batch upload files to Fandom and then chnage their 
categories and add a template using "upload", "category" and "add_text" scripts.
  Everything works fine except one thing - edits done via Pywikibot are not 
marked as done by bot, so they show up on "Recent changes" page even with 
"Human (not bot)" filter on, which leads to flooding this list with edits done 
by me.
  I wrote asking about it to Fandom staff and they replied the following
  
  > we aren't as familiar with that tool - but there's a specific API flag that 
has to be sent as well as us setting the account as a bot.
  >
  > Do you believe you are sending that API flag?
  
  Unfortunately I wasn't able something clear about it, there are some 
mentioning in documentation but that's all. I tried editing `def save` in 
page/__init__.py, setting `botflag: Optional[bool]` to `True`, but to no avail. 
Changing `minor: bool` to `False` works though, edits done by bot are no longer 
flagged as minor.
  
  Is there something that I'm missing or is it a bug?
  
  Output of `verison`
  
    Pywikibot: [https] r-pywikibot-core.git (a07ced0, g13923, 2020/12/22, 
14:06:50, stable)
    Release version: 5.3.0
    requests version: 2.22.0
      cacerts: /etc/ssl/certs/ca-certificates.crt
        certificate test: ok
    Python: 3.8.5 (default, Jul 28 2020, 12:59:40)
    [GCC 9.3.0]

TASK DETAIL
  https://phabricator.wikimedia.org/T270904

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: RedKhan16
Cc: Aklapper, pywikibot-bugs-list, RedKhan16, JohnsonLee01, SHEKH, Dijkstra, 
Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, 
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to