[Wikidata-bugs] [Maniphest] T253201: show me the web: browser extension
99of9 added a comment. Here's my similar first-step idea. You are browsing the web, and find a page on any other site about an item that should have a Wikidata item. You click a bookmarklet, which instantly tells you in a side panel which identifier property should be linked, and if it is linked, which Wikidata item the ID is linked from. The idea was spurred by User:rdmpage in this video <https://www.youtube.com/watch?v=yrlskGRFKps> (thanks!). As far as I can see it should be technically possible, but I'm sure you friendly hivemind can improve dramatically on this in-principle sketch: Bookmarklet runs javascript to open a side panel or overlay div, in which the content is an iframe containing an auto-running WDQS query which takes a single input, the current URL. The SPARQL query finds out whether that URL matches a formatter URL (P1630 <https://phabricator.wikimedia.org/P1630>) or a third-party formatter URL (P3303 <https://phabricator.wikimedia.org/P3303>), and if so, extracts the ID from the URL. Then it queries whether that ID is listed for that property, and returns the Wikidata item(s) with that ID for that property. QED. I've worked on this a bit, and while I'm good enough at SPARQL, and have written a working demonstration query <https://w.wiki/XEK>, (this shows the result from 4 different URLs - I'm aware that it doesn't work for *all* URL schemes, but I think it already covers over 90% of them). I don't have sufficient .js skills to get the bookmarklet working at the moment, and I'm sure some of you can do a much better job anyway. TASK DETAIL https://phabricator.wikimedia.org/T253201 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: 99of9, Aklapper, Lydia_Pintscher, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T253201: show me the web: browser extension
99of9 added a comment. Here's a [https://www.facebook.com/groups/WikidataCommunity/permalink/2716956561922837/ video demo] of my first version. TASK DETAIL https://phabricator.wikimedia.org/T253201 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: 99of9, Aklapper, Lydia_Pintscher, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T253201: show me the web: browser extension
99of9 added a comment. Eek, scary. Yes, here you go https://github.com/99of9/Wikidata-Connect . Please be gentle, it's still very rough, and I'm totally new to this game! TASK DETAIL https://phabricator.wikimedia.org/T253201 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: Tarrow, 99of9, Aklapper, Lydia_Pintscher, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T253201: show me the web: browser extension
99of9 added a comment. The name was rejected because it's "best to avoid using Wikidata as the first name". Has anyone got any other suggestions? TASK DETAIL https://phabricator.wikimedia.org/T253201 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: Michael, Moebeus, Tarrow, 99of9, Aklapper, Lydia_Pintscher, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T253201: show me the web: browser extension
99of9 added a comment. Thanks for this. I like all your criteria, although I think I want an even tighter limit on #3, and am hoping for a little more pizzaz. For me "web" is a bit bland in that every extension is interacting with the www. The Facebook group are onto this too. My shortlist is currently: Entity Explosion ID.entity Linkipedia Web Connector Linky-Linky 99 Links In other news, you know testing is going well your code complains about tiny problems with regexes in Wikidata: https://www.wikidata.org/w/index.php?title=Property%3AP6993&type=revision&diff=1240888486&oldid=997662566 TASK DETAIL https://phabricator.wikimedia.org/T253201 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: Michael, Moebeus, Tarrow, 99of9, Aklapper, Lydia_Pintscher, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T253201: show me the web: browser extension
99of9 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T253201 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: Michael, Moebeus, Tarrow, 99of9, Aklapper, Lydia_Pintscher, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T253201: show me the web: browser extension
99of9 added a comment. Available in the Chrome Store: https://chrome.google.com/webstore/detail/entity-explosion/bbcffeclligkmfiocanodamdjclgejcn On-wiki documentation and discussion: https://www.wikidata.org/wiki/Wikidata:Entity_Explosion Open-source code: https://github.com/99of9/Entity-Explosion Introduction video: https://www.youtube.com/watch?v=eRnqoJyi92w Facebook page: https://www.facebook.com/EntityExplosion TASK DETAIL https://phabricator.wikimedia.org/T253201 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: Michael, Moebeus, Tarrow, 99of9, Aklapper, Lydia_Pintscher, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T90870: selfcontained projects around Wikidata (tracking)
99of9 closed subtask T253201: show me the web: browser extension as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T90870 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: Jneubert, WiseWoman, Salgo60, Scott_WorldUnivAndSch, MichaelSchoenitzer_WMDE, Scott_WUaS, Liuxinyu970226, abian, Pasleim, T.seppelt, Ricordisamoa, mkroetzsch, Aklapper, Lydia_Pintscher, Akuckartz, darthmon_wmde, Dinadineke, DannyS712, Nickleh, Nandana, tabish.shaikh91, Lahi, Gq86, GoranSMilovanovic, Soteriaspace, Jayprakash12345, JakeTheDeveloper, QZanden, merbst, LawExplorer, _jensen, rosalieper, Wikidata-bugs, aude, TheDJ, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T253201: show me the web: browser extension
99of9 closed this task as "Resolved". 99of9 triaged this task as "Low" priority. 99of9 set the point value for this task to "99". TASK DETAIL https://phabricator.wikimedia.org/T253201 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: SandraF_WMF, Salgo60, Ixocactus, Michael, Moebeus, Tarrow, 99of9, Aklapper, Lydia_Pintscher, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T127480: finding connections between articles across languages and projects
99of9 added a comment. It would be good if the duplicity list showed the best-match WD label (for my language :)) and allowed a one click article-item merge. Many of the arz hits at the moment are galaxies with very distinct names, and even if they have slightly different hyphenation it would be easy to match many from the list without going through them individually. TASK DETAIL https://phabricator.wikimedia.org/T127480 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: 99of9, Bugreporter, matej_suchanek, Ricordisamoa, Aklapper, StudiesWorld, samuwmde, Amire80, Lydia_Pintscher, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Created] T240403: MAX() aggregator in WQS gives a stack overflow
99of9 created this task. 99of9 added a project: Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION Steps to Reproduce: Run this query https://query.wikidata.org/#SELECT%20%3Fcountry%20%28MAX%28%3Fpopulation%29%20AS%20%3Fpopulation%29%20WHERE%20%7B%0A%20%20%20%20%20%20%20%20%3Fcountry%20wdt%3AP31%20wd%3AQ6256%20.%0A%20%20%20%20%20%20%20%20%3Fcountry%20wdt%3AP1082%20%3Fpopulation%20.%0A%7D%20GROUP%20BY%20%3Fcountry%0A Actual Results: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.StackOverflowError etc Expected Results: Something more like you would get if you ran this query: https://query.wikidata.org/#SELECT%20%3Fcountry%20%28SAMPLE%28%3Fpopulation%29%20AS%20%3Fpopulation%29%20WHERE%20%7B%0A%20%20%20%20%20%20%20%20%3Fcountry%20wdt%3AP31%20wd%3AQ6256%20.%0A%20%20%20%20%20%20%20%20%3Fcountry%20wdt%3AP1082%20%3Fpopulation%20.%0A%7D%20GROUP%20BY%20%3Fcountry%0A TASK DETAIL https://phabricator.wikimedia.org/T240403 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: Aklapper, 99of9, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T240403: MAX() aggregator in WQS gives a stack overflow
99of9 added a comment. This used to work. TASK DETAIL https://phabricator.wikimedia.org/T240403 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: 99of9 Cc: Aklapper, 99of9, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Edited] T169858: Add support for “instance or subclass of” relation
99of9 updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...- P306 “operating system” (value type constraint): an operating system, like Linux or Windows (yes, I know, OS ≠ kernel, shut up), or the special value “cross-platform”. “cross-platform” isn’t an instance of anything, but it is at least an “indirect” subclass of itself (path length 0), so the relation “instance of or subclass of” would permit that value, which the current relation “instance of” doesn’t. - "P705" Ensembl Protein ID needs this, because it's items are either proteins (instances) or families of proteins (subclasses). There are a lot of items using this property. There’s already an item for this relation (Q30208840), and apparently some constraints are already using it. But I don’t know if this feature is high priority.TASK DETAILhttps://phabricator.wikimedia.org/T169858EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: 99of9Cc: PKM, Bugreporter, Jheald, MisterSynergy, Lydia_Pintscher, Marsupium, Esc3300, Lucas_Werkmeister_WMDE, Aklapper, GoranSMilovanovic, QZanden, Agabi10, Izno, Wikidata-bugs, aude, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Edited] T169858: Add support for “instance or subclass of” relation
99of9 updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...- P306 “operating system” (value type constraint): an operating system, like Linux or Windows (yes, I know, OS ≠ kernel, shut up), or the special value “cross-platform”. “cross-platform” isn’t an instance of anything, but it is at least an “indirect” subclass of itself (path length 0), so the relation “instance of or subclass of” would permit that value, which the current relation “instance of” doesn’t. - "- P705" Ensembl Protein ID needs this, because it's items are either proteins (instances) or families of proteins (subclasses). There are a lot of items using this propertyTASK DETAILhttps://phabricator.wikimedia.org/T169858EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: 99of9Cc: 99of9, PKM, Bugreporter, Jheald, MisterSynergy, Lydia_Pintscher, Marsupium, Esc3300, Lucas_Werkmeister_WMDE, Aklapper, GoranSMilovanovic, QZanden, Agabi10, Izno, Wikidata-bugs, aude, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T169858: Add support for “instance or subclass of” relation (days: 1)
99of9 added a comment. ThanksTASK DETAILhttps://phabricator.wikimedia.org/T169858EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lucas_Werkmeister_WMDE, 99of9Cc: gerritbot, MichaelSchoenitzer, Liuxinyu970226, 99of9, PKM, Bugreporter, Jheald, MisterSynergy, Lydia_Pintscher, Marsupium, Esc3300, Lucas_Werkmeister_WMDE, Aklapper, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, Agabi10, Wikidata-bugs, aude, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs