[00:15:18] ori, MatmaRex, could you not save the event object and fire it after logging? I could have sworn there was a way to do that. [00:15:59] marktraceur: hmm, i've never heard of one [00:16:22] marktraceur: i know you can fire an event, but i've never seen anyone do it with "context", like mouse position, modifier keys, etc [00:17:23] What would be the difference, if you have an event object in both cases? OK now I will research this because fascinating. [00:20:44] hm, i'm not sure if you can fire an existing event object [00:20:48] that would be interesting [00:26:24] "Although .trigger() simulates an event activation, complete with a synthesized event object, it does not perfectly replicate a naturally-occurring event." so maybe not [00:26:33] I can probably write a test page in the time I have [00:31:46] Yeah, n [00:31:47] no* [00:32:30] MatmaRex: Guess I'm wrong. But anyway, native browser behaviour is better all the time [05:32:10] Hi, there. Wonderful work you have done! While I want to build my icinga monitoring server, I want to learn from your excellent work. But recently I can't login in icinga.wikimedia.org. How can I? [05:35:02] My team are trying to build a monitor system for our current project. I can see that there is much for us to learn from your excellent work. [06:56:20] cloud_123: i think it might have been made non-public because of a security issue [07:03:14] Yeh, I can understand. [07:03:55] that was a while back though [07:04:21] I remember once upon a time I can login in anonymously. [07:05:03] But now it require a user/password. [07:05:38] Anyway, thanks for your patience. [08:06:01] mailman admins need some help filing/identifying a chromium bug upstream, if anyone wants to help https://bugzilla.wikimedia.org/show_bug.cgi?id=56842#c6 [08:53:45] how do I know if https://bugzilla.wikimedia.org/show_bug.cgi?id=53132 was deployed to a Wikimedia site or not? [08:54:51] https://gerrit.wikimedia.org/r/#/c/87477/ [08:55:03] included in => wmf/1.23wmf8 [08:55:05] whym: ^^ [08:56:06] twkozlowski: thanks, so that should mean that most of WM projects already have it. [08:56:36] all of them. [08:56:55] strangely though, I don't see the "mention" feature working on Japanese Wikipedia and Wiktionary. [08:57:39] whym: if it doesn't work, then please reopen the bug [08:57:53] paste an URL to an example situation when using a local namespace name didn't work [08:58:00] I'm sure someone will respond [08:58:16] twkozlowski: ok I'll do that [08:59:27] twkozlowski: or perhaps should I reopen the bug? [08:59:46] never mind, that was what you advised [10:54:30] @seen MatmaRex [10:54:30] twkozlowski: Last time I saw MatmaRex they were quitting the network with reason: Quit: ~ Miranda N/A at 1/11/2014 1:46:15 AM (9h8m15s ago) [10:54:58] stupid question about VE [10:55:06] what is "page metadata menu"? [11:37:11] twkozlowski: a place where you can add all those magic words and statements that have no visual appearance on the page, i.e. metadata [19:51:31] I'm making a bot using MediaWiki::Bot for Perl. I have the following code: http://pastebin.com/8zGer7ep. The bot won't edit the page. [19:52:43] I have my username and password present, I just changed them to $username and $password before uploading. [19:52:44] first, I must say: ew perl [19:53:27] CarnivorousBunny, you need to obtain a login token before calling action=login [19:53:51] actually, I would assume MediaWiki::Bot is doing that... though I'm not certain [19:53:53] I'm new to this library, could you please point me to the relevant docs? [19:54:05] Um, no. I've never heard of this library. [19:54:13] Okay. [19:55:00] I suggest modifying it to print the response it gets to each request [19:56:09] The strange thing is: it recieves the text from the page using get_text() only when I don't call "$Bot->edit" [19:56:56] So if you comment out the $bot->edit call the stuff before it runs [19:56:57] ? [19:57:37] Yes, if I replaced the "$Bot->edit()" with print ("$text") it works. [19:57:59] okay, try making it do both? [19:58:33] Trying... [20:00:00] It prints out the text but still doesn't edit. [20:05:12] Did you register an account for it? [20:05:37] add «or die "$!"» to the last line perhaps [20:06:11] I would assume he did, because the login succeeded and didn't die "Login failed".... right CarnivorousBunny? [20:07:13] Yes, I have the account CarnivorousBot, which *was* running python. [20:07:24] ... you're moving from python to perl? [20:07:32] it's ok please don't stop him [20:07:35] At least for bots, yes [20:07:54] what [20:07:55] why [20:08:00] don't ask please [20:08:07] it's a living language, it's okay [20:08:31] I've removed the login lines and will have it edit sandbox as anon in a moment [20:09:13] Okay. [20:09:31] installing MediaWiki::Bot at the moment, it's taking a bit of time :) [20:11:11] I added the "or die" part, and it died. I don't know why though. [20:11:34] The Bot->edit thing looked like it was the same as the docs. [20:17:02] It dies on the line which tries to edit sandbox, but $! is empty. I'll try to retrieve more detail in a moment. [20:17:50] Thanks. [20:27:59] It appears you were missing "use strict; use warnings;" and Perl didn't warn you that $mytext is undefiend. (Missing "my ".) [20:28:44] When running ->new, pass "debug => 2" to it, and it'll be helpfully verbose. "login_data => ..." is enough to get it log in, separate line isn't needed. [20:29:34] Then, removing "assert => bot" helped me to get it work, for whatever reason. [20:31:24] CarnivorousBunny, http://pastebin.ca/2533638 working example, with login_data required in ->new, but the wiki locked me out for failing too much. :-) [20:32:11] Okay, thank you very much. I'll see if I can award you a barnstar. [20:35:47] I worked here. Thanks. @gry you're Gryllida on wiki, right? [20:38:22] I am, but I don't like barnstars. Thanks though. :-) [20:43:51] Thanks for your hep, though.