[00:00:20] ive noticed that for some api methods [00:00:51] apihelp for param "token" is always "A "csrf" token retrieved from action=query&meta=tokens" [00:00:56] no matter what is put in the JSON [01:37:56] (03PS6) 10Sn1per: Convert API help to use i18n pt.1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/177990 [03:52:49] are here any dutch [06:57:24] (03CR) 10Legoktm: [C: 032] RequestContext doesn't take any arguments [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/177737 (owner: 10Hoo man) [07:01:16] (03Merged) 10jenkins-bot: RequestContext doesn't take any arguments [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/177737 (owner: 10Hoo man) [11:15:17] *goes to read how to use phabircator in bug summaries....* [11:15:24] commit msgs.... [11:18:17] (03PS1) 10Addshore: When merging items, reuse conflicting labels as aliases [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178062 [11:21:49] (03CR) 10jenkins-bot: [V: 04-1] When merging items, reuse conflicting labels as aliases [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178062 (owner: 10Addshore) [11:26:03] (03PS2) 10Addshore: When merging items, reuse conflicting labels as aliases [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178062 [14:15:31] Hi there. I can not edit https://www.wikidata.org/wiki/Q204347. What is different with this data item? [14:30:35] addshore: Commented on https://phabricator.wikimedia.org/T67990 , hope it helps.... [14:58:21] Change on 12mediawiki a page Extension:Wikibase Client was modified, changed by Laddo link https://www.mediawiki.org/w/index.php?diff=1305999 edit summary: [+0] /* Version */ typo [17:40:44] ha ha Jianhui67 deleting with me? [18:55:48] me again. is there an easy way to get a list of [itemid] --> [itemtitle]? [18:56:04] http://wdq.wmflabs.org/ only delivers ids and no title. [18:57:30] I've seen autolist, but I need the table as JSON or something other machine readable. [19:01:00] I think you need to build something with the api for that. [19:01:33] That's fine, but I've only got item-ids so far. [19:06:28] aude: i think i'm done :o [19:06:49] im gonna divide up the commit into pieces each with 5 php files like hoo said [19:08:16] (03PS7) 10Sn1per: Convert API help to use i18n pt.1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/177990 [19:08:57] ok [19:10:22] what i saw looked good to me [19:14:44] (03PS1) 10Sn1per: Convert API help to use i18n pt.2 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178079 [19:15:18] (03PS1) 10Sn1per: Convert API help to use i18n pt.3 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178080 [19:16:11] GEOFBOT_: can you make your patches depend (rebased) on each other? [19:16:22] hmm [19:16:27] ok [19:16:34] as a chain [19:17:04] i would also put the messages for the 5 modules together with each patch, if not too much trouble [19:17:17] if they are chained, then there will be no merge conflicts [19:18:01] what do you mean about the messages? [19:18:39] seems it might be too much trouble, but the en and qqq messages for the first five php modules [19:18:44] put the in that patch? [19:19:06] hm [19:19:09] ill try [19:19:26] if too much trouble, then as long as they are chained, then we can review them all together [19:36:33] (03PS8) 10Sn1per: Convert API help to use i18n pt.1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/177990 [19:36:43] aude: patch set 8 should have json changes for only the files involved [19:37:50] ok [19:38:25] looks good :) [19:38:27] thanks [19:38:56] aude: when i try to git review teh second part [19:39:02] it says that i'm trying to review two commits [19:39:06] the first part and the second part [19:39:18] i can't seem to get around it [19:39:27] i think that's ok [19:39:32] what does git log say? [19:39:44] it has both parts [19:39:47] does it list two of your commits? [19:39:48] ok [19:40:34] i think you can say "yes" and then it will put them into a chain on gerrit (marking them dependendant on one another) [19:40:50] ok [19:40:57] (03PS1) 10Sn1per: Convert API help to use i18n pt.2 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178081 [19:41:13] oooh [19:41:15] gerrit is fancy [19:41:18] yep, looks good [19:41:39] (03Abandoned) 10Sn1per: Convert API help to use i18n pt.2 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178079 (owner: 10Sn1per) [19:42:59] (03PS2) 10Sn1per: Convert API help to use i18n pt.3 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178080 [19:44:18] (03PS1) 10Sn1per: Convert API help to use i18n pt.4 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178084 [19:44:45] (03PS1) 10Sn1per: Convert API help to use i18n pt.5 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178085 [19:45:42] aude: thats it [19:45:57] ok [19:46:15] i'll take a look now [19:46:35] will give others a chance to review and then think merge these tomorrow [19:47:02] ok [19:47:24] who should i add to the reviewers? [19:47:46] i suggest anomie, legoktm, hoo and myself [19:48:13] and i see addshore and siebrand are there also (good) [19:49:47] ok, done [19:50:25] thanks [19:50:33] thanks for the help :D [19:51:13] sure :) [19:53:08] hi [19:53:32] 5 parts? :) [19:53:42] :D [20:06:55] (03CR) 10Legoktm: [C: 04-1] "Quick review:" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/177990 (owner: 10Sn1per) [20:07:56] GEOFBOT_: ^ :) [20:08:07] thanks, ill get to it :D [20:10:36] (03PS9) 10Sn1per: Convert API help to use i18n pt.1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/177990 [20:10:43] legoktm: is ^ better? [20:11:48] why'd you remove apihelp-wbeditentity-param-id? and the token message is still there [20:12:33] oh. whoops [20:12:34] derp [20:12:34] and I still see lowercase "id" in apihelp-wbeditentity-example-4 for example [20:18:48] (03PS10) 10Sn1per: Convert API help to use i18n pt.1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/177990 [20:18:56] legoktm: what about this time ^ [20:19:31] (03PS2) 10Sn1per: Convert API help to use i18n pt.2 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178081 [20:19:49] legoktm: oops [20:19:53] forgot to change the api descriptoins [20:19:54] my bad [20:20:07] I'll look in a bit [20:23:49] (03PS11) 10Sn1per: Convert API help to use i18n pt.1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/177990 [20:24:18] (03PS3) 10Sn1per: Convert API help to use i18n pt.2 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178081 [20:28:33] (03PS4) 10Sn1per: Convert API help to use i18n pt.2 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178081 [20:28:53] (03PS3) 10Sn1per: Convert API help to use i18n pt.3 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178080 [20:35:04] (03PS4) 10Sn1per: Convert API help to use i18n pt.3 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178080 [20:39:27] (03PS5) 10Sn1per: Convert API help to use i18n pt.3 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178080 [21:19:31] (03PS2) 10Sn1per: Convert API help to use i18n pt.4 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178084 [21:19:51] (03PS2) 10Sn1per: Convert API help to use i18n pt.5 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178085 [21:23:51] (03PS3) 10Sn1per: Convert API help to use i18n pt.5 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178085 [21:25:18] (03PS12) 10Sn1per: Convert API help to use i18n pt.1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/177990 [21:26:26] (03PS5) 10Sn1per: Convert API help to use i18n pt.2 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178081 [21:26:38] (03PS6) 10Sn1per: Convert API help to use i18n pt.3 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178080 [21:26:46] (03PS3) 10Sn1per: Convert API help to use i18n pt.4 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178084 [21:28:10] (03PS4) 10Sn1per: Convert API help to use i18n pt.4 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178084 [21:28:23] (03PS4) 10Sn1per: Convert API help to use i18n pt.5 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178085 [21:29:22] (03PS5) 10Sn1per: Convert API help to use i18n pt.4 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178084 [21:29:32] (03PS5) 10Sn1per: Convert API help to use i18n pt.5 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178085 [21:30:31] (03PS6) 10Sn1per: Convert API help to use i18n pt.5 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/178085 [21:33:27] phew [21:33:33] i think that fixes everything [23:14:23] do you know some example code for add files images in Wikidata? [23:15:22] krls-ca: Could you please add some more details? I don't fully get your question [23:15:54] I would like an example for P18 [23:16:15] i don't know how to add that property with my bot [23:17:11] krls-ca: Just set the image name as a string, like you do for string-properties [23:17:20] Like 'File:Foo.png' [23:17:40] I have done it, but raise an error. "is not type ." [23:18:43] krls-ca: I'm not into pywikibot... but have you been able to set other string or string-like property values that way? [23:19:29] https://www.wikidata.org/w/index.php?limit=50&tagfilter=&title=Special%3AContributions&contribs=user&target=KRLS+Bot&namespace=&tagfilter=&year=2014&month=-1 [23:20:16] In that case I have no idea, sorry [23:20:33] Setting those as strings should just work [23:20:39] grrr [23:20:41] ok [23:21:13] thank you [23:38:12] hi hoo [23:38:53] hi GEOFBOT :) [23:39:21] if you have time, could you check my patches :D [23:39:29] i split up the i18n like you said [23:42:03] I'll have a look in a bit [23:42:33] ok, thanks :)