[08:09:47] Adrian_WMDE: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push#Merging_two_arrays [08:23:09] On what criterion does a property end up in this list: https://www.wikidata.org/wiki/Wikidata:List_of_properties/Generic ? [08:25:10] When it doesn't fit anywhere else? [08:25:59] sjoerddebruin: because it's a direct subclass of https://www.wikidata.org/wiki/Q18616576 ? [08:26:09] sorry [08:26:20] sjoerddebruin: because it's an instance of https://www.wikidata.org/wiki/Q18616576 ? [08:26:23] Hm, there is also others... [08:26:32] idk the criteria then [08:27:15] and https://www.wikidata.org/wiki/Property:P136 is https://www.wikidata.org/wiki/Wikidata:List_of_properties/Works in because it is an instance of https://www.wikidata.org/wiki/Q18618644 ? [08:29:10] hum, that does not explain how https://www.wikidata.org/wiki/Property:P170 end up in https://www.wikidata.org/wiki/Wikidata:List_of_properties/Works#Art_.26_architecture ... [08:29:18] * dachary scratches his head [08:36:37] Lydia_WMDE: does the level of babelness have influence on the language fallback? [08:38:48] sjoerddebruin: Nope, language fallbacks are not user-specific [08:39:29] I don't appear to have Frisian fallback, despite being listed on https://www.wikidata.org/wiki/Special:MyLanguageFallbackChain [08:39:50] sjoerddebruin: Unfortunately, that is a different thing we don't support [08:39:58] These things need to be unified. [08:40:10] Yeah, this is pretty confusing to me. [09:17:08] sjoerddebruin: I get fallbacks in some places (special:search, special:contributions, etc) and not in others (entity pages), maybe the same would apply for frisian for you [09:17:32] I'm having troubles with adding statements, nikki. [09:17:51] oh? [10:06:30] join wikimedia-ai [10:40:27] Hi There [10:40:41] so was intrested to see what data was in Wiki Data. However can't see any [10:43:13] tsunamie: how do you mean? [11:16:05] Lydia_WMDE: thoughts on getting rid of https://grafana.wikimedia.org/dashboard/db/wikidata-api-wbgetclaims ? (IMO its not usefull any more as the issue it was made to track has been resolved)! [12:30:22] addshore: fine with me :) [12:30:27] cool! [13:47:50] Lydia_WMDE: do we have a ticket to rewrite the "Add links" popup to OOjs? [13:47:54] ehm task [13:49:32] sjoerddebruin: i am not aware of one, but maybe lydia knows [13:49:49] The jquery design is so ugly. :P [13:50:47] * aude agrees [13:54:56] Also, I can't use enter during the already exists screen. [13:55:11] :( [13:58:11] It is a slow tool, as you need to write the language every time and include the namespace name [18:56:17] aude, how would i get the current page's wikidata id? Result will be this: https://www.mediawiki.org/wiki/Template:Graph:Population_history [19:08:55] yurik: in lua? [19:09:07] aude, no, in wikitext [19:09:36] aude, Lydia_WMDE -- it will allow this graph to be automatic - you place it on a page, and it shows corresponding graph https://www.mediawiki.org/wiki/Template:Graph:Population_history [19:10:39] like https://hu.wikipedia.org/wiki/Modul:N%C3%A9pess%C3%A9gdiagram ? [19:11:06] Not sure what the pagename magic words give on Wikidata. [19:11:15] oh wait, not on wikidata itself [19:11:49] https://en.wikipedia.org/wiki/Module:Wikidata contains "pageId" [19:13:01] aude, are you saying there is no way to get item id? [19:13:14] sjoerddebruin, not sure i understood [19:13:24] there is https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/client/includes/DataAccess/Scribunto/mw.wikibase.lua#L62 [19:13:28] but it's not exposed [19:13:40] it is a pageprop [19:13:48] aude, but that's in lua - is there a way to get that ID without lua code? [19:14:04] yurik, it means {{#invoke:Module:Wikidata|pageId}} [19:14:25] TomT0m, is that module available on every single wiki langua/project? [19:14:29] with the same name? [19:14:47] yurik, you can import it if it is not there yet [19:15:06] TomT0m, so the answer is that it requires lua code :( [19:15:08] a good strategy would be to copy the one of enwiki [19:15:23] It's on 94 Wikipedia, 2 Wikinews, 4 Wikiquotes, 13 Wikisources 3 Wikivoyage, commons and meta :P [19:15:28] https://phabricator.wikimedia.org/T110683 [19:15:38] a lot of stuffs requires lua, wikicode is very limited anyway [19:15:55] TomT0m, when i develop a graph (like pageviews), it gets copied to hundreds of wikis. I guess i could put a huge banner note at the top to say that it requires lua module ;9 [19:16:11] but it would be much better if the graph page has no denpendencies [19:16:18] they are always a pain to copy [19:17:46] if you do complex stuffs, eventualy there will be a lot of code duplication [19:17:57] Is a magicword too much to ask? :) [19:18:16] exactly :) [19:18:37] TomT0m, that's why we build "core libs" - to avoid code dups :) [19:18:50] and yes, we need central lib [19:22:14] well, Module:Wikidata is something very close to a core lib [19:25:15] mw.config.get( 'wgWikibaseItemId' ); in the javascript :) [19:25:31] not sure if that helps though [19:48:13] aude: do you know how to hard refresh UnconnectedPages? [20:10:38] aude: https://phabricator.wikimedia.org/T140295 [20:19:05] sjoerddebruin: thanks [20:19:16] and not sure about the special page [20:19:52] Trying to get fywiki to zero, but pages with a items from 2013 show up in the list. [20:23:05] aude, do you know if anyone is working on maps integration into wikidata? jgirault might want to look at it [20:24:34] not that i know [20:25:49] aude, thx [20:27:04] We only have https://phabricator.wikimedia.org/T115966 as proof of concept. :) [20:29:41] sjoerddebruin: I think a null edit on the affected page usually makes it stop showing up in unconnectedpages [20:30:00] bit annoying if there's a lot of pages though [20:30:52] And doesn't seem to work... [20:31:36] :/