Thanks Lea, I'll give it immediately a try! L.
2017-04-27 14:47 GMT+02:00 Léa Lacroix <[email protected]>: > Hello all, > > In the past few months, the development team has mentored a student, Olga, > to help us developing a user script that displays the constraints on the > item pages. > > To use the script, add the following line to your user/common.js: > > mw.loader.load( > '//www.wikidata.org/w/index.php?title=User:Jonas_Kress_(WMDE)/check_constraints.js&action=raw&ctype=text/javascript' > ); > > You will see an icon next to violations. When you click it you will see the > full report. > > This script is based on a new API module for constraint checks that one can > use to check constraints on items and statements. At the moment, the > constraint checks are only derived from the property discussion page > constraint templates, not directly from statements. They are then stored in > a database table. We are running a script to update this table every now and > then or when you ask for it. Also note that some constraint checks are > disabled (for example the format check). In the future we will support > adding and updating constraints on property statements and we will implement > support for some constraints that are currently still missing. > > If you try it, feel free to give us feedback! You can also add comments or > subtasks on Phabricator (see the ticket for the API module and the user > script). > > If there is no major disagreement, we would like to turn this script into a > gadget in the next days. > > Thanks go to Olga and all the developers that helped her providing this new > feature :) > > See also: > > API Documentation > Self-documentation for the module > > Cheers, > > -- > Léa Lacroix > Project Manager Community Communication for Wikidata > > Wikimedia Deutschland e.V. > Tempelhofer Ufer 23-24 > 10963 Berlin > www.wikimedia.de > > Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. > > Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter > der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für > Körperschaften I Berlin, Steuernummer 27/029/42207. > > _______________________________________________ > Wikidata mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata > -- Luca "Sannita" Martinelli http://it.wikipedia.org/wiki/Utente:Sannita _______________________________________________ Wikidata-tech mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
