[Wikidata-bugs] [Maniphest] [Updated] T194194: Add possibility to check constraints on unsaved statements

2018-07-01 Thread CommunityTechBot
CommunityTechBot removed projects: TCB-Team, Mail, New-Editor-Experiences, Language-2018-Apr-June, KartoEditor, JADE, Hashtags, Gamepress, Tamil-Sites, Connected-Open-Heritage-Batch-uploads (RAÄ-KMB_1_2017-02), CheckUser.
TASK DETAILhttps://phabricator.wikimedia.org/T194194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: CommunityTechBotCc: Agabi10, Pasleim, Lucas_Werkmeister_WMDE, Pintoch, Lahi, Gq86, GoranSMilovanovic, lisong, QZanden, merbst, LawExplorer, Culex, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331, AndyTan, Zylc, 1978Gage2001, herron, Chicocvenancio, alanajjar, Tbscho, Lea_WMDE, Mattias_Ostmar-WMSE, JJMC89, Jseddon, Ryuch, Mkdw, RuyP, JEumerus, Trizek-WMF, KasiaWMDE, 0x010C, srodlund, Luke081515, grin, Bsadowski1, mys_721tx, Snowolf, Huji, Gryllida, jayvdb, Tobi_WMDE_SW, revi, scfc, He7d3r, Romaine, Jay8g, Glaisher, Krenair, chasemp___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T194194: Add possibility to check constraints on unsaved statements

2018-05-15 Thread Pintoch
Pintoch added a comment.
As soon as this is supported by the Wikibase API, then it makes sense to build support for this directly in Wikidata-Toolkit. This is something that would be massively useful for many people.

As for OpenRefine, we need to brainstorm a bit to find when exactly these calls should be made. Currently, constraint validation is run on the entire batch every time a change is made. There could be two sorts of constraints checks: the ones we run in real time because they are cheap, and the ones we perform just before the edits are made… but then they would need to be reported in a different way?

So it's not just a backend issue, we also need to understand how this will be presented to the user.

Other random thoughts:


for some constraints (such as inverse constraints) we need to look at the entire edit batch, not just an individual statement change, to detect if a violation will be triggered (so caching stuff is tricky)
we can probably make some assumptions about the batches (for instance, assume that an edit batch will not make any chances to the P279 type hierarchy of the types involved in its constraints)
I'm not familiar with the testing infrastructure for Wikidata. On OpenRefine, everything is pretty much hardcoded to use wikidata.org and not test.wikidata.org. Moving to another instance would require cleaning that up (and this must be done for the openrefine-wikidata reconciliation service first…) On the long term, OpenRefine should just have a Wikibase extension and be agnostic to the instance, but we are quite far from that.
TASK DETAILhttps://phabricator.wikimedia.org/T194194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: PintochCc: Agabi10, Pasleim, Lucas_Werkmeister_WMDE, Pintoch, Aklapper, Lahi, Gq86, GoranSMilovanovic, lisong, QZanden, LawExplorer, Culex, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T194194: Add possibility to check constraints on unsaved statements

2018-05-15 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE edited projects, added Wikimedia-Hackathon-2018; removed Wikimania-Hackathon-2018.
TASK DETAILhttps://phabricator.wikimedia.org/T194194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lucas_Werkmeister_WMDECc: Agabi10, Pasleim, Lucas_Werkmeister_WMDE, Pintoch, Aklapper, Lahi, Gq86, GoranSMilovanovic, lisong, QZanden, LawExplorer, Culex, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331, Jayprakash12345___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T194194: Add possibility to check constraints on unsaved statements

2018-05-15 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added projects: Wikidata-Ministry-Of-Magic, Wikimania-Hackathon-2018.
TASK DETAILhttps://phabricator.wikimedia.org/T194194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lucas_Werkmeister_WMDECc: Wikimedia-Hackathon-2018, Wikidata-Ministry-Of-Magic, Agabi10, Pasleim, Lucas_Werkmeister_WMDE, Pintoch, Aklapper, Lahi, Gq86, GoranSMilovanovic, lisong, Jayprakash12345, QZanden, LawExplorer, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T194194: Add possibility to check constraints on unsaved statements

2018-05-15 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE set the point value for this task to "5".
TASK DETAILhttps://phabricator.wikimedia.org/T194194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lucas_Werkmeister_WMDECc: Agabi10, Pasleim, Lucas_Werkmeister_WMDE, Pintoch, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs