Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.46 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.46 KB

ConstraintsFromTemplates Build Status Coverage Status Scrutinizer Code Quality

Parses the property talk pages of Wikidata to extract the constraints and initially fill the constraints table for the WikibaseQualityConstraints extension.

Obsolescence Notice

This repository is obsolete. Since July 2017, constraints are defined in statements on properties, not in templates on property talk pages (see T169647), and since August of the same year, the WikibaseQualityConstraints extension no longer supports constraint definitions that were formerly imported from templates (see T171291). The repository is kept for historic interest only.

Installation

git clone https://github.com/WikidataQuality/ConstraintsFromTemplates.git
cd ConstraintsFromTemplates
pip install -r requirements.txt

Usage

python csvScriptBuilder.py

Running the tests

py.test