[00:33:04] aharoni: can it be that https://phabricator.wikimedia.org/T121836 is of the same nature? [00:33:39] he left a long time ago :/ [00:34:05] oh [00:34:08] well [13:03:35] how to get the q-numbers of a list of wikipedia articles? [14:46:38] addshore: hoo maybe you have opinions or better suggestions regarding https://phabricator.wikimedia.org/T121395 [14:46:56] *looks* [14:46:58] * aude would like daniel to look also, but he's perhaps not around [14:50:16] * hoo will have a look soon [14:50:48] Would be nice for someone to ahve a look at https://gerrit.wikimedia.org/r/260255 also [14:51:03] would like to use the new class for commons media file name validation [14:51:07] in Wikibase [14:53:29] aude: "fix the UI to pass the correct baserevid" I'm not sure that would work, unless after every edit the whole new entity was loaded and dom rebuilt [14:53:58] unless it tracked a baserev for each individual part, like label etc.. [14:54:13] gotta be "fix the backend so that validation is done when an entity gets patched due to edit conflict" [14:54:58] addshore: when you save a label (e.g.), the api response comes back witha new baserevid [14:55:24] which i think should be used for the next save [14:55:34] yes, but if say 3 other things have changed on the item in that time, even if we have the new baserevid we dont know what else has changed [14:55:45] true [14:55:55] * aude thinks we should fix both [14:55:55] so conflicts wouldnt resolve correctly if people also edited other things that had changed :/ [14:56:13] fixing the ui would help, but alone is not enough a solution [14:56:38] it's odd that the second edit in the term box results always in an edit conflict with oneself [14:57:16] the ui could also fetch the last two revisions from the API and check the user names there [14:57:28] although that might not work well with replag if done immediately after edit [14:57:30] :/ [14:57:34] hoo: seems ugly [14:57:39] true that [14:57:51] but don't think we can know we can know in another way [14:57:53] :D [14:58:25] hoo: we can't know for sure, but at least can use the new information provided in the api response when saving [14:58:52] in most cases, the user wouldn't have edit conflict then [14:59:36] would be nice if the API told us "updated from revision n to n+1 or so" [14:59:40] anyway, got to go [14:59:45] get a christmas tree :P [14:59:50] hoo: ok [15:39:17] is there a tool to translate a list of wikipedia articles to their q ids? [15:41:40] ? [16:08:13] how to get the q-numbers for a list of wikipedia articles? [16:20:31] petterson: Like this (if you want to use the API): https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=Cat|Dog&props= [16:20:50] enwiki is the wiki's id and the titles are separated by pipe [16:25:48] thats nice [16:26:01] @hoo but it's possible to get a dumb CSV/TSV list? [16:29:53] Ugh... not with the API at least [16:30:08] might be that there's a tool for that (wouldn't be ahrd to write) but I'm not aware of one [16:31:38] i think some of magnus' tools can do this, although maybe not in simple one step [16:31:46] e.g. page pile https://tools.wmflabs.org/pagepile/api.php?action=get_data&id=1689 [16:31:52] use in "linked items" [16:32:15] https://tools.wmflabs.org/wikidata-todo/linked_items.php?pagepile=1689 [16:41:06] i cant login: Error retrieving token: mwoauthdatastore-request-token-not-found [16:42:26] hmmm [16:42:54] the tool probably has more features if logged in, but it wasn't necessary for me to log in [16:43:40] oh, i am logged in on pagepile (despite the error message) [16:44:43] https://tools.wmflabs.org/pagepile/api.php?id=1694&action=get_data&format=text [16:45:09] (check the "translate result to wikidata items immediately" box) [16:45:51] o i've forgot this [16:46:32] can you translate it afterwards? [16:46:50] translate how? [16:46:59] translate to wikidata items [16:47:29] i'm not sure [16:47:52] on https://tools.wmflabs.org/pagepile/?menu=new i just click the box [16:48:38] ok so i will increase the pagepile count ;) [16:48:44] ok :) [16:49:07] nice [17:14:37] can i marry pagepile with listeria? [17:37:35] Lydia_WMDE: I CAN HAZ STICKERZ for 32c3. plox [17:45:10] Ugh, yes... stickers would be nice [17:45:28] Especially if I/ we decide to do a Wikidata meetup again [17:45:38] not sure, yet about that, though [18:12:38] addshore: so this blog layout does not allow adding a search bar without having it completely at the bottom or making the whole layout more narrow?! [18:17:23] I have never tried [20:51:51] hello [20:52:16] someone know an equivalent of QuickStatement which can manage values with units? [21:09:52] Has aharoni stopped by