[07:56:10] (CR) Nikerabbit: More improvements for simple upload (2 comments) [extensions/PageForms] - https://gerrit.wikimedia.org/r/340651 (owner: Yaron Koren) [14:24:02] hi Yaron, i have INpages that link to RQpages. I know how to link each RQpages to INpages with this code {{#ask: [[Linked research questions::{{FULLPAGENAME}}]] | link=all}} . but any idea how to get this link in a RQpages query result? [14:55:13] (Draft2) Yaron Koren: Fix for 5c83f15802eb - parsed message needs to change [extensions/PageForms] - https://gerrit.wikimedia.org/r/340749 [14:57:23] (CR) Yaron Koren: [C: 2] Fix for 5c83f15802eb - parsed message needs to change [extensions/PageForms] - https://gerrit.wikimedia.org/r/340749 (owner: Yaron Koren) [15:22:49] (Draft2) Yaron Koren: HTML and JS improvements [extensions/PageForms] - https://gerrit.wikimedia.org/r/340750 [15:26:57] (CR) Yaron Koren: [C: 2] HTML and JS improvements [extensions/PageForms] - https://gerrit.wikimedia.org/r/340750 (owner: Yaron Koren) [15:54:15] vev: sorry, I only saw your question now. [15:54:24] Do you still have this question? [15:58:00] yes [15:58:04] Yaron [15:59:12] Alright. I don't reallly understand the question - what's an "RQPages query result"? [15:59:23] ok [16:00:18] here you sse an INpage is linked to an RQpage [16:00:31] in this exemple 2 RQpages [16:01:02] in INpages i can use a property to link an RQpage [16:01:15] one or more [16:01:46] how in an RQpage qry to get this link [16:02:36] Doesn't that query you pasted here before do that? [16:03:39] his qry allow you to find RQpages that are link to your INpage [16:03:45] but now [16:03:51] i want {{#ask:[[page type::research question]] |mainlabel = Title |?Title-en |?Short description-en |?description-en |?Example-en |link=table }} [16:04:02] find RQpages list [16:04:17] and see what INpages are linked [16:05:04] for example in this page >> http://www.libreidea.org/List_of_all_research_questions_in_english [16:07:19] i want to see for all results (RQpages) which INpages are linked [16:09:36] {{#ask: [[Linked research questions::{{FULLPAGENAME}}]] | link=all}} : this qry was good for a INpage to get RQpages linked [16:09:58] but now it s a qry to display RQpages [16:10:54] I'm still not totallly sure I understand, but an inverse property query may help. [16:11:28] ye it s hard [16:11:38] Like {{#ask:[[-Linked research questions::{{PAGENAME}}]]}} . [16:11:42] and my explanation is certainly not good [16:11:50] Notice the "-" there. [16:12:14] problem is it s inside a query so i guess {{PAGENAME}} will not work? [16:12:39] ok for the "-" to invert i guess [16:14:01] Yes, {{PAGENAME}} will work - why not? [16:14:08] ah sry [16:14:21] your code will work for an INpage maybe [16:14:33] but here it s a RQpages qry [16:14:49] so this property does not belong to RQpages [16:16:16] Try runing the query - you may be surprised. [16:17:16] {{#ask:[[page type::research question]] |mainlabel = Title |?Title-en |?Short description-en |?description-en |?Example-en |link=table [?{{#ask:[[-Linked research questions::{{PAGENAME}}]]}} }} like this? [16:19:06] RQpages does not have this information [16:19:19] this information belongs to INpages [16:19:44] but i want to use a query to get RQpages results [16:19:52] so maybe it's not possible [16:34:04] Yaron, what is this double located.in ? [16:34:04] {{#ask: [[Located in.Located in::{{PAGENAMEE}}]] [16:34:18] it can be what i need [16:35:24] sry double "loacated in" [16:36:07] no sry [16:44:26] When you see A.B::C, it means, find pages that point with property A to pages that point with property B to the value C. [16:46:02] i want a qry to display all country in europe and each country lines will give every cities or regions [16:47:21] first line (first column)germany ; (2nd column) berlin, Stuttgart etc [16:48:00] second line france ; paris, bordeaux, etc.. [16:48:05] is it possible? [16:55:43] Yes - check out the "outline" format. [17:00:51] merci Yaron [17:04:24] i mnot agree with this cause it s a trick [17:05:37] with outlineproperties it seems you re inverting results [17:05:46] location [17:06:32] i think it s not a query about countries and then display theirs cities [17:06:38] am i wrong? Yaron [17:11:28] if you look last line of result you'll see ; Aucune valeur [17:11:29] ; Warsaw [17:11:45] no value ; Warsaw [17:11:58] we want the invert [17:12:03] for example [17:12:13] monaco ; no value [17:13:29] or (country)monaco ; (city)monaco [17:16:04] in my case i wanna display all RQ with |title= etc.. and IN linked if RQ have it [17:35:22] vev: sorry, I don't understand. [17:36:02] Did you try using "outline"? And if so, where? [18:18:28] Yaron, no i did not try [18:18:45] i m saying, but tell me if i am wrong [18:19:37] i think it s a query about cities and then display theirs country [18:19:57] but it s a trick cause you invert result [18:20:36] i would like a query about countries that display their cities [18:21:56] and other info like spoken languages, pop number etc.. [18:23:22] (i m talking about {{#ask: [[Category:City]] [[Located in::+]] [18:23:22] | ?Located in [18:23:22] | format=outline [18:23:22] | outlineproperties=Located in [18:23:22] }} [18:23:34] ) [18:50:06] (Draft2) Yaron Koren: Another parsing fix [extensions/PageForms] - https://gerrit.wikimedia.org/r/340795 [18:54:13] (CR) Yaron Koren: [C: 2] Another parsing fix [extensions/PageForms] - https://gerrit.wikimedia.org/r/340795 (owner: Yaron Koren)