Skip to content

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

Notifications You must be signed in to change notification settings

WikidataQuality/ConstraintsFromTemplates

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published