[02:36:16] I'm trying to debug issues with the AuthorityControl gadget in Firefox (well, Iceweasel) on Debian. It works when loading a page, but doesn't work when I Reload the same page... [02:40:29] JesseW: is this the Wikidata gadget? [02:40:43] It is. [02:41:10] although I'm interested in general suggestions about debugging gadgets as a whole. [02:42:21] https://www.wikidata.org/wiki/MediaWiki:Gadget-AuthorityControl.js [02:42:53] It might be an issue with the wikibase.domready hook not firing? [02:43:22] nods. and how can I check that? [02:44:58] I guess you could add something like mw.hook('wikibase.domready').add( function() { console.log('hook fired!'); } ); to your common.js, and see if you get a message in your console when reloading the page and the AC gadget hasn't loaded [02:48:56] OK, I've done that. And I get the message, but I don't get the link made. [02:49:24] :/ [02:49:42] But good news -- adding that line seems to have *broken* it where it was working before! [02:49:53] Now I'll go remove the line and verify. [02:49:58] er, wha :/ [02:50:45] yep, that breaks it alright [02:50:57] I used "alert" instead of console.log -- let me try console.log [02:52:36] that doesn't break it [02:53:21] and when I reload the page, I don't get the log message. [02:53:33] So yeah, /something/ is screwy there, for sure. [02:54:15] I just added a few debugging statements to the gadget, I'm thinking this might be a bug in Wikibase. [02:56:41] in some cases, it's just not working for me at all :/ [02:59:12] In the working case, (which still works) I get this message: -- [02:59:12] [19:58:30.314] "Dependencies ready, intializing AC gadget directly." [03:00:09] yeah, I'm filing a bug now :) [03:00:12] In the failing case ... I get the same message. :-( [03:00:19] er, which same message? [03:00:27] "Dependencies ready, intializing AC gadget directly" <-- that one? [03:00:48] yep [03:01:06] and Hook fired, but that's not from the gadget [03:01:12] hmm :/ [03:01:27] someone who knows more JS than I should really look at this [03:02:06] hah [03:02:18] I know some JS, but not enough... [03:19:05] legoktm: where's your bug report? [03:19:49] uhh, sitting in my browser tab because I never pressed submit >.> [03:20:10] heh [03:20:21] glad I asked. ;-) [03:22:57] JesseW: https://bugzilla.wikimedia.org/show_bug.cgi?id=67654 [03:29:42] legoktm: and confirmed. [03:52:52] quiddity: how's it going [03:53:06] James_F|Away: have you been away for a week or what [03:53:21] what does he have to HIDE?! [06:19:14] dtm, very sleepy, and heading to bed momentarily. long days, and busy evenings. (I'll try to reply to your post onwiki, sometime this week). o/ [06:22:15] quiddity: okay hang in there bro, have a good one! [06:22:23] quiddity: just checkin in on ya [13:12:47] AbuseFilter seems to behave weirdly on jawiki: "a-c" like "a-c" => false [13:13:06] shouldn't this be "1"? [13:41:56] self reply: it's now https://bugzilla.wikimedia.org/show_bug.cgi?id=67670 [15:15:08] hi, I have some kind-of meta question on templates and the Lua language: Is in the end the goal to convert/replace all normal templates on Wikipedia to Lua or only where it makes sense? [15:15:18] as I have the feeling that for simple infoboxen, normal templates are easier to handle for users [15:23:53] bthfan: normal templates won't go away, Lua just makes a certain set of them easier and/or possible [18:18:03] hi, got a question, for which i'm not sure if here is the right place or rather #mediawiki: we got some wikis running on mediawiki 1.24wmf10/11, and since the update to wmf11, the internal search stopped working (no results, unless one enters the exact name of an existing Page). Has anyone of you an idea, why that happens on that upgrade? [18:18:47] (asking here, because it's the wmf branch maybe/probably creating the problem?) [18:19:04] ^d or manybubbles might know [18:19:14] I know some things [18:19:39] Trminator: its ^d's fault, I think [18:19:51] ^d: its the mysql returns null for total is my guess [18:19:55] * manybubbles not it [18:20:41] <^d> Heh, we just fixed that in master. [18:21:05] ... okay ... at least we don' [18:21:12] t look all that stupid this way ;) [18:21:36] <^d> https://gerrit.wikimedia.org/r/#/c/144642/ is the master fix if you need to pull it in sooner than the new wmf branch on Thurs. [18:21:44] thanks :) [18:22:21] ^d: you are a hero [18:23:12] <^d> Brian was just cleaning up after I broke things. [18:23:15] <^d> :p [18:24:19] hehe [19:59:28] ^d, manybubbles, http://stats.grok.se/www.w/latest90/Special:MyLanguage/Help:CirrusSearch [19:59:52] gi11es: loading! [20:00:05] not gi11es, sorry, I mean Nemo_bis [20:00:32] Nemo_bis: I bet that was because we're primary on many many more wikis now [20:01:11] <^d> Linked from all the Special:Searches. [20:01:14] Sure, it's nice to see interest [20:01:25] Just a bit weird that it was a peak with last deploy but not previous one [20:01:51] I bet all the traffic came from the Latin Wikipedia! https://gerrit.wikimedia.org/r/#/c/142606/1/cirrus.dblist,cm [20:02:21] Nemo_bis: not sure, yeah [20:02:26] pt.wiki I guess [20:03:50] Yep, no top 10 Wikipedia in previous one https://gerrit.wikimedia.org/r/#/c/142590/2/cirrus.dblist,cm [20:04:11] And the nice thing is, no such peak at all in load ;) [20:07:37] Nemo_bis: yeah - no peak at all. that has been ince [20:14:27] manybubbles: how are things as regards the index size? do you still need to figure out a way to reduce indexed HTML on Commons and the like? [20:14:41] Nemo_bis: I'm pretty sure we're just fine there [20:15:04] Nemo_bis: http://ganglia.wikimedia.org/latest/?r=hour&cs=&ce=&m=disk_free&s=by+name&c=Elasticsearch+cluster+eqiad&h=&host_regex=&max_graphs=0&tab=m&vn=&hide-hf=false&sh=1&z=small&hc=4 [20:15:13] as long as we're above 100 we're pretty happy - 150 is better [20:15:21] we're much better [20:15:34] because we have more machinesthen we used to when it was a problem [20:16:06] also, we switched from the "Fast Vector Highlighter" which needed a bunch of extra space to the "Experimental Highlighter" which needs much less extra space. its also better [20:16:11] we had to write it, but hey [20:25:55] Oh, I had not understood this advantage of the new highlighter [20:26:22] Nemo_bis: lots of fun reasons actually