[16:58:12] hey schana. a quick one: you will be there for the meeting with the language folks? :) [16:58:22] * leila waves at the rest of the folks. [16:58:53] I'm not sure I got the invite, leila [16:58:58] mmm [16:58:59] :D [16:59:02] * leila checks [16:59:59] there we go [17:00:50] now you have, schana. sorry, I'm not sure what happened. I insisted on this time for you to be able to attend (as opposed to 16:30 PST) and it seems I forgot to add you to the event. sorry. :( [17:01:01] no worries [17:01:03] see you there [17:02:14] thank you, schana. [17:24:38] * guillom waves at leila and everyone. [17:24:47] ow hi guillom. [17:24:55] leila: Happy new year! [17:25:08] same to you, guillom. :) [17:25:14] I think I haven't "seen" you in weeks. [19:02:16] o/ [21:08:27] halfak, yuvipanda: what's the dead-simplest way to edit a wiki from a PAWS notebook? [21:09:08] IMO, import mwapi. [21:09:14] Could build a quick demo notebook [21:09:44] I think I might have some of your demo code with mwapi already… lemme check that, halfak [21:10:34] I think what I'm looking for used to be here (broken link): http://paws-public.wmflabs.org/paws-public/EpochFail/projects/examples/mwapi.ipynb [21:11:46] http://paws-public.wmflabs.org/paws-public/User:EpochFail/mwapi/ipython/talk_queries.ipynb [21:11:50] Maybe that? [21:12:27] that should work for me. Thanks, halfak! [21:12:34] lol damn, I wanted to make an edit to my sandbox, but I have two factor enabled so that's gonna be weird. [21:12:47] No editing from this :/ [21:34:28] halfak how do I complete the OAuth handshake in PAWS without exposing my user credentials in the notebook? Your OAuth library example requires a user-specified 'config' module: https://github.com/mediawiki-utilities/python-mwoauth [21:35:46] ah, wait. are these in os.environ maybe? [21:45:51] J-Mo1, use "getpass" [21:46:07] Also might be in environ. [21:46:19] import getpass;getpass.getpass() [21:46:28] You'll see a little password box pop up in the notebook [21:47:22] neat! trying it now. thanks, halfak [21:47:45] :D [21:47:52] once I've entered my password, is it stored in a named variable somewhere in my session? [21:48:07] and does mwapi know where to look for it? [21:49:26] nevermind; figured it out [21:50:02] :D