[00:25:23] * Hazard-Away should be back l8r [01:30:41] hazard: pong [01:30:51] oh my [01:30:56] vivaelelta: looking [02:24:37] legoktm: fyi, https://gerrit.wikimedia.org/r/53537 you probably want to abandon it [02:25:05] i, ier [02:25:07] * legoktm looks [02:25:34] Maybe I was thinking of the wrong thing... [02:26:20] gah [02:26:26] this is so confusing [02:28:24] Yeah, AbuseFilter is rather complex and (partly) very weird [02:29:17] I'm not even sure what I was trying to fix with that changeset... [02:31:48] btw hoo, do you have any idea where to start with https://bugzilla.wikimedia.org/show_bug.cgi?id=45252 ? [02:32:44] I bet thats a hook... [02:33:00] legoktm: Yes [02:33:14] but the current hooking system sucks for this task [02:33:31] Hmm [02:33:33] I only see [02:33:33] $wgHooks['AbuseFilter-contentToString'][] = 'Wikibase\RepoHooks::onAbuseFilterContentToString'; [02:34:10] if we intercept a variable with a function called from a hook we need a global or smth. to let that function know which action it is... and that's super ugly [02:34:19] look into abusefilters hooks.txt ;) [02:34:43] * legoktm grumbles [02:34:45] :P [02:34:50] Probably we could do this via better Content object integration [02:35:20] what do you mean by that? [02:36:25] At best this variable would be created inside AbuseFilter::getEditVars [02:36:54] Why can't we just set action to the API module being used? [02:37:26] or the hooks class... I'm to tired for that right now :P [02:37:48] legoktm: That's a hack as well [02:38:28] Edits don't necessary go through an API module... eg. there are non-JS special pages [02:38:38] oh right [03:25:37] New patchset: Hoo man; "Fix setlang links for the "In other languages" section" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/56569 [05:29:09] * Jasper_Deng pokes Moe_Epsilon [07:24:44] Is there any page in Wikidata shows Wikipedia namespaces which are supported by Wikidata? [07:25:13] Moe_Epsilon ^ [07:25:16] technically anything is allowed, but policy restricts userpages and special pages [07:26:25] what Jasper_Deng said [07:30:09] Avocato: you may want to read [[WD:N]] for a full list of what and what not to create, with a list of exceptions and whatnot [07:30:10] 10[10] 10https://www.wikidata.org/wiki/WD:N [07:33:02] Jasper_Deng: Moe_Epsilon: Thank you, That what I was looking for :) [07:33:15] :) [09:23:30] is there a table property to designate succeeded by, or defunct? [09:24:05] ie this administrative region now gone, now part of ... [09:24:24] hmmm [09:24:32] if not, there should be. [09:24:55] i dont see one [09:25:01] sDrewthedoff: want to propose it? :P [09:25:23] k [09:35:29] and to the person who made the decision to think that property proposals should be split to many pages ... "Seriously?" [09:35:50] well the page was super long before [09:36:26] sure, I can see the point but not for unsorted proposals [09:37:24] oh [09:37:47] and you want to capture and land them, tidy them, then sort them [09:38:19] uggh i always feel better at 3 am [09:38:23] when it's time to go to bed [09:38:24] *sigh* [09:41:00] endorphin junkie! [12:38:36] i updated http://wikipulse.herokuapp.com/ to show wikidata changes [12:38:58] kind of interestig to see how wikidata rate of change is higher than all the others right now [12:39:02] interesting even [12:43:19] heh [12:43:19] thats cool [12:43:27] where does it get data from? [12:44:28] edsu: ^ [12:44:51] oh cool [12:44:53] it uses IRC [13:01:27] legoktm: yes, irc [13:03:17] legoktm: it uses a little node module wrapper around an irc client, that connects to all the channels and parses the status messages https://github.com/edsu/wikichanges [13:03:31] it looks pretty cool :D [13:03:36] yeah i glanced at the code [13:20:15] hmm, looks like the wikidata changes have pushed me out of the free tier for redis on heroku :( [13:39:04] happy holidays! [15:01:41] i duplicate a item, someone can delete it? [15:01:55] 12https://www.wikidata.org/wiki/Q8687297 <-- [15:34:34] of which item Ber? [15:35:13] or better: what kind of error does it gives you when you add a sitelink.. [15:35:28] which is already in use [15:36:04] 12https://www.wikidata.org/wiki/Q5847274 [15:36:08] of this one [15:36:12] ah ok [15:36:13] thx [15:37:09] done [15:37:18] thx Wiki13 :) [15:37:28] I tought I could fix the reason btw :( [15:37:33] nope :| [16:21:49] New patchset: Hoo man; "Use getUserPermissionsErrors in EditEntityAction::showPermissionError" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/56606 [16:28:58] anyone want to update the news section on the frontpage with the latest deployment to the 11 wikipedias? [16:29:15] pretty please? :) [16:31:47] Updated 100 search keys, up to row 7588982. [16:32:32] 7588982/66594787 * 100 = 11.39%! [16:43:23] Reedy: \o/ [16:45:14] Lydia_WMDE: I just added it. If someone thinks the wording of the news can better, then they are free to improve it :) [16:48:11] Wiki13: you're the best [16:48:15] thank you [16:48:26] no problem [17:05:55] 2 DatabaseBase->reportQueryError('Deadlock found ...', 1213, 'INSERT INTO `w...', 'Wikibase\SiteLi...', false) [17:06:44] ... [17:07:21] I see a few wikidata related deadlocks in teh logs [17:07:44] 2013-03-29 16:25:46 mw1123 wikidatawiki: #0 /usr/local/apache/common-local/php-1.21wmf12/includes/db/Database.php(983): DatabaseBase->reportQueryError('Deadlock found ...', 1213, 'INSERT INTO `w...', 'Wikibase\SiteLi...', false) [17:07:44] #1 /usr/local/apache/common-local/php-1.21wmf12/includes/db/Database.php(1781): DatabaseBase->query('INSERT INTO `w...', 'Wikibase\SiteLi...') [17:07:44] #2 /usr/local/apache/common-local/php-1.21wmf12/extensions/Wikibase/lib/includes/store/sql/SiteLinkTable.php(124): DatabaseBase->insert('wb_items_per_si...', Array, 'Wikibase\SiteLi...') [17:07:44] #3 /usr/local/apache/common-local/php-1.21wmf12/extensions/Wikibase/repo/includes/updates/ItemModificationUpdate.php(54): Wikibase\SiteLinkTable->saveLinksOfItem(Object(Wikibase\Item)) [17:07:44] #4 /usr/local/apache/common-local/php-1.21wmf12/extensions/Wikibase/repo/includes/updates/EntityModificationUpdate.php(77): Wikibase\ItemModificationUpdate->doTypeSpecificStuff(Object(Wikibase\SqlStore), Object(Wikibase\Item)) [17:08:31] Apparently I logged it already [17:08:34] 45882 [17:09:39] Not critical, probably [17:09:55] indeed [17:10:16] they're happening frequently enough they get noticed in the logs [17:10:26] but not enough for users to OMG IT BORKEDED [17:11:17] I should go back inside [17:35:53] SELECT COUNT(*) FROM revision INNER JOIN page ON page_id = rev_page WHERE page_namespace = 4 AND page_title = 'Requests_for_deletions'; [17:35:58] -> 16671 [18:31:37] hey all, re the job queue stuff that happened yesterday: [18:31:39] 18:28 < binasher> greg-g: can we drop to running a single wikidata change dispatcher and also reduce the batch size? this only has to be for a week or two, once the jobqueue is moved to redis, the problem goes away [18:32:27] aude: ^^ [18:36:09] greg-g: that would be pretty bad tbh so if we can avoid it not [18:36:27] it would mean wikipedias don't get wikidata edits in their recent changes and watchlists [18:36:38] Lydia_WMDE: thanks, I'll have binasher email the list for a discussion, I now things blew up yesterday in some way, at leats [18:36:41] and pages don't get purged on wikidata changes that affect them [18:36:44] right right [18:36:49] ok cool [18:36:53] s/now/know/ [18:36:55] if it is unavoudable do it of course [18:36:58] but ideally not :) [19:29:31] so whats the status of implementing link to wikidata for iw? or there will be a different approach? [19:36:56] Catchable fatal error: Argument 1 passed to Wikibase\EntityContentFactory::getTitleForId() must be an instance of Wikibase\EntityId, null given, called in /usr/local/apache/common-local/php-1.21wmf12/extensions/Wikibase/repo/includes/api/SetReference.php on line 85 and defined in /usr/local/apache/common-local/php-1.21wmf12/extensions/Wikibase/repo/includes/content/EntityContentFactory.php on line 140 [19:41:38] Juandev: what do you mean? [19:41:48] https://bugzilla.wikimedia.org/46701 [19:44:11] Warning: preg_match() [function.preg-match]: Unknown modifier '2' in /usr/local/apache/common-local/php-1.21wmf12/extensions/Wikibase/repo/includes/api/SearchEntities.php on line 148 [19:45:01] Reedy: First one happens when you pass an invalid name, no?! [19:45:07] No idea [19:45:18] By the looks of it, one bot got it twice today, and that's about it [19:45:52] I guess I'm lazy and just say that the Entity doesn't exist [19:46:05] lol [19:46:10] Which is true :P [19:46:29] You're spamming meh logs! [19:49:19] New patchset: Hoo man; "Handle invalid entity IDs in SetReference::getEntityContent" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/56632 [19:50:25] Reedy :( [19:50:27] Lydia_WMDE: well, If you found a new article on cs.wp, there is no way how to add iw [19:50:47] Juandev: ah yes - we are working on that [19:51:10] in fact it should be ready for the next deplyment thanks to hoo and aude [19:51:19] Lydia_WMDE: but at the same time, there is a filter, which is telling you you should not add them to wikicode [19:51:54] that is the strait way, how to loose data as iw [19:54:35] Juandev: yes - not ideal - as i said it should be solved with the next deployment [19:54:41] sorry for the issues in the meantime [19:54:52] well, just a question and notice [19:55:02] :) [19:55:04] sure [19:55:27] Lydia_WMDE: https://en.wikipedia.org/wiki/Wikidata :/ [19:55:51] aude: ? [19:55:55] * aude can't edit that page but would be nice to see the issue fixed [19:56:08] which issue? [19:56:15] This article may rely excessively on sources too closely associated with the subject, [19:56:23] ah [19:56:24] well [19:56:27] not much we can do [19:56:35] it'll solve itself i think :) [19:56:39] heh [19:56:58] magic! [19:57:04] so i am told [19:57:21] bah - today is my free day and i have done nothing but wikidata stuff [19:57:22] -.- [19:57:29] :( [19:57:40] * Lydia_WMDE finishes weekly summary and then goes to watch tv [19:57:54] sounds good [20:14:20] hello [20:14:58] hi njnoioinlmn [20:15:32] how r u?? [20:16:09] ...ok [20:16:38] hmmm hmmm [21:24:50] Fatal error: Call to a member function getClaims() on a non-object in /usr/local/apache/common-local/php-1.21wmf12/extensions/Wikibase/lib/includes/store/sql/PropertySQLLookup.php on line 103 [21:29:18] Reedy: Coming from client? [21:29:45] yup [21:29:50] :/ [21:30:45] Ah, got it [21:37:21] New review: Aude; "works much better :)" [mediawiki/extensions/Wikibase] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/56569 [21:37:22] Change merged: Aude; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/56569 [21:37:26] Reedy: Could you maybe open a bug with a full traceback? [21:38:47] hoo: if there is no $entity, then return empty snak list? [21:39:17] probably something got deleted or who know what, but definitely need to chek we have entity [21:39:54] aude: Yeah [21:40:09] the code is being reworked a bit by danielk [21:40:17] so just need a patch for the branch [21:40:39] i suppose w can put it master too, but it won't stay aroudn for long [21:42:33] hoo: I already have [21:42:42] hoo: https://bugzilla.wikimedia.org/46707 [21:42:53] Reedy: thanks [21:42:55] I tend to paste the first part in here whilst checking for dupes/finding a stack trace [21:43:29] ah, uzbek wikipedia [21:44:35] New patchset: Hoo man; "Handle unkown entities in PropertySQLLookup::getMainSnaksByPropertyId" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/56697 [21:44:39] aude: ^ [21:45:00] i'll go ahead and approve both, once i check / verify [21:45:00] unknown ;) [21:45:57] Reedy: Yeah :P [21:46:07] I wanted to save chars [21:46:18] (never ever admit mistakes) [21:50:56] New patchset: Aude; "Handle unknown entities in PropertySQLLookup::getMainSnaksByPropertyId" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/56697 [21:51:06] Change merged: Aude; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/56697 [21:51:16] fixed it :) [21:51:43] :) Thanks [21:51:59] checking your other patch for set reference [21:56:06] Change merged: Aude; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/56632 [22:04:43] New patchset: Aude; "Handle unknown entities in PropertySQLLookup::getMainSnaksByPropertyId" [mediawiki/extensions/Wikibase] (mw1.21-wmf12b) - https://gerrit.wikimedia.org/r/56698 [22:04:44] New patchset: Aude; "Handle invalid entity IDs in SetReference::getEntityContent" [mediawiki/extensions/Wikibase] (mw1.21-wmf12b) - https://gerrit.wikimedia.org/r/56699 [22:05:32] Change merged: Aude; [mediawiki/extensions/Wikibase] (mw1.21-wmf12b) - https://gerrit.wikimedia.org/r/56698 [22:05:50] Change merged: Aude; [mediawiki/extensions/Wikibase] (mw1.21-wmf12b) - https://gerrit.wikimedia.org/r/56699 [23:18:56] New review: Daniel Werner; "(1 comment)" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/54816 [23:35:21] New review: Hoo man; "(1 comment)" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/54816 [23:40:54] sDrewth: eh, unfortunately wikilinking in that fashion doesn't work [23:40:58] (your RfD) [23:42:16] doesn't worry me, it is just to let you know the pair