[02:40:59] hey y'all, i've been getting some javascript errors [02:41:26] seem to be related to addPortletLink, but it doesn't seem to be coming from any of my own userscripts [02:41:56] I have a stack trace from the console [02:42:04] Exception in module-execute in module user: load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:176 TypeError: Cannot read property 'addPortletLink' of undefined TypeError: Cannot read property 'addPortletLink' of undefined [04:19:27] how is it possible that my bots edits showing up in RC even if it has a bot flag? https://sv.wiktionary.org/w/index.php?title=Special:Senaste_%C3%A4ndringar&hidebots=1 [06:56:51] Hello, anyone home here? [06:57:07] maybe [06:57:13] do you need help with something? [06:57:55] Sort of, I'm having an issue with PROD/CSD reasons not prefilling when I click delete and I wasn't sure if it was on my end or not [15:52:11] anyone here knows how to work with API:Revisiondelete? [15:55:40] possibly. what's the problem? [15:55:44] !ask [15:56:04] no bot here? "Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :)" [16:10:13] MatmaRex, I'm having an issue with https://test2.wikipedia.org/wiki/Special:ApiSandbox#action=revisiondelete&format=json&type=oldimage&target=File%3ARonbot+api+test.png&ids=20170517135732!Ronbot_api_test.png&hide=content&token=a4bec45e7cf76fc8521a36de7643a0bf591c57f0%2B%5C [16:10:28] getting revdelete-modify-missing [16:19:25] MatmaRex, ^ [16:50:34] DatGuy: looking at the source code of this, it looks like the 'ids' parameters for type=oldimage is supposed to be just the timestamps, without the "!Filename" part [16:50:46] yeah I figured that out a few mins ago :D [16:51:05] which doesn't seem to be documented anywhere, whoops [16:53:19] the ids format differs for each type, which is a bit annoying… but it looks like they are always just numbers. maybe we could change the revisiondelete API to enforce that at least? anomie? [17:38:15] er, is scrum of scrums happening today? a few of us are in the hangout [17:40:16] probably the wrong channel for this question [18:01:55] It seems that "The Church of Jesus Christ of Latter-day Saints" has a peculiar interest for WMF job postings (click "about this capture") https://web.archive.org/web/20170221210209/https://boards.greenhouse.io/wikimedia/jobs/230631#.WRyP1DepU1g [18:02:19] Can someone check why edits from bot user with bot flag https://sv.wiktionary.org/wiki/User:Doddebot are showing up on RecentChanges https://sv.wiktionary.org/w/index.php?title=Special:Senaste_%C3%A4ndringar&limit=500 (look at the bottom)? [18:03:04] is this a MediaWiki bug or is it expected? [18:03:15] Dodde: are you sure the bot is actually setting the bot flag? [18:03:41] "Doddebot", so I guess it's you. Are you using pywikibot? [18:04:04] Nemo_bis: yes, https://sv.wiktionary.org/wiki/Anv%C3%A4ndardiskussion:Andreas_Rejbrand#Doddebot states I have indeed had the bot flag all along [18:04:13] I am not using pywikibot... [18:04:22] Dodde: there's a difference between having the flag and using the flag [18:04:40] Dodde: are you using some API library? [18:04:58] Nemo_bis: yes I am using nodemw node package [18:05:07] Dodde: you need to pass &bot=1 [18:05:18] I will try it.. [18:05:43] (or somehow tell that package to pass it, i never used it) [18:08:38] Hmm https://github.com/macbre/nodemw/blob/devel/lib/api.js [18:14:15] actually nodemw was the first I tried, now I am using mwbot :) https://www.npmjs.com/package/mwbot I tried to send bot=1 but I have to check that it's actually passing it along in the request uri [18:14:43] the test edit did not show it was a bot edit, so something's wrong [18:18:05] I see a typo on that page and no edit button to fix it! [18:18:15] * Nemo_bis cries [18:19:44] hehe [19:03:10] Nemo_bis: finally after some debugging figured out how to do it properly... it was the bot="1" that was missing and, thanks! [19:03:26] and MatmaRex