Page MenuHomePhabricator

[SD] Export Semantic Drilldown results
Open, Needs TriagePublicFeature

Description

I do not know whether this is similar in intent to https://phabricator.wikimedia.org/T74327.

I would like to export my filtered results in Semantic Drilldown, but when I specify "datatables" as result format the the Query panel is not added to the table (see https://www.semantic-mediawiki.org/wiki/Help:Query_panel).

Event Timeline

Aklapper changed the subtype of this task from "Task" to "Feature Request".May 15 2020, 10:26 AM

This is a tentative patch for version 2.0.2 that adds a parameter "group" to the filters in order to allow for collecting filters and also an "Export" link that fills a semantic search form (Special :Ask).
I hope that it will be useful and it will be integrated in SD.

This is a tentative patch for version 2.0.2 that adds a parameter "group" to the filters in order to allow for collecting filters and also an "Export" link that fills a semantic search form (Special :Ask).
I hope that it will be useful and it will be integrated in SD.

Hi @MarcoFalda!

The export feature is really interesting. Did you test your patch? If it works fine, I encourage you to commit it to Semantic Drilldown repository. If it is your first contribution in Gerrit, I recommend you to read the Gerrit tutorial. If I can help with something, just let me know!

Thank you. I did not write formal unit tests, but I am using it in a wiki
family and I see that groups are correct and the sets of results that it
produces through semantic research queries are identical to those given by
SDD. When the code will be more robust I will try to push it in Gerrit and
I will consider your help.

Il giorno sab 10 ott 2020 alle ore 21:18 Ivanhercaz <
no-reply@phabricator.wikimedia.org> ha scritto:

Ivanhercaz added a comment. View Task
https://phabricator.wikimedia.org/T252788

In T252788#6296674 https://phabricator.wikimedia.org/T252788#6296674,
@MarcoFalda https://phabricator.wikimedia.org/p/MarcoFalda/ wrote:

This is a tentative patch for version 2.0.2 that adds a parameter "group"
to the filters in order to allow for collecting filters and also an
"Export" link that fills a semantic search form (Special :Ask).
I hope that it will be useful and it will be integrated in SD.

F31923353: groups-and-export-patch.diff
https://phabricator.wikimedia.org/F31923353

Hi @MarcoFalda https://phabricator.wikimedia.org/p/MarcoFalda/!

The export feature is really interesting. Did you test your patch? If it
works fine, I encourage you to commit it to Semantic Drilldown repository.
If it is your first contribution in Gerrit, I recommend you to read the Gerrit
tutorial https://www.mediawiki.org/wiki/Gerrit/Tutorial. If I can help
with something, just let me know!

*TASK DETAIL*
https://phabricator.wikimedia.org/T252788

*EMAIL PREFERENCES*
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

*To: *Ivanhercaz
*Cc: *Ivanhercaz, Aklapper, MarcoFalda

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Mail
priva di virus. www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

I have updated my patch to work with the latest version of Semantic Drilldown.

Moreover, now it is possible to create a new concept from the selected filters.
I have forked the Github project here: https://github.com/mfalda/mediawiki-extensions-SemanticDrilldown, but I am not able to sign up in the developer MediaWiki site for using Gerrit (I will retry in the next days).
Feel free to integrate the changes you like in the main code.
Thank you.

I am not able to sign up in the developer MediaWiki site for using Gerrit (I will retry in the next days).

Please feel free to bring up specific issues in a support forum - thanks!

Thank you, I opened a topic in the MediaWiki Support desk here.