Extension:WikibaseQualityConstraints
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | User interfaceCategory:User interface extensions |
Description | Allows defining constraints on Wikibase properties and checks that the constraints are met when the properties are used in statements on entities |
Author(s) | Students at Hasso-Plattner-Institute and WMDE |
Latest version | continuous updates |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible.Category:Extensions with release branches compatibility policy |
MediaWiki | 1.26+Category:Extensions with manual MediaWiki version |
Database changes | Yes |
Composer | wikibase/constraintsCategory:Extensions supporting Composer |
Tables | wbqc_constraints |
License | GNU General Public License 2.0 or later |
Download | Category:Extensions in Wikimedia version control |
|
|
Quarterly downloads | 8 (Ranked 108th) |
Translate the WikibaseQualityConstraints extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The WikibaseQualityConstraints extension allows defining constraints on Wikibase Properties and checks that the constraints are met when the Properties are used in Statements on Entities. The checks are strictly informational: the extension does not ensure that the constraints are met, it merely informs editors when they are being violated. For more information, see the Property constraints portal on Wikidata.
Installation
- Download and move the extracted
WikibaseQualityConstraints
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikibaseQualityConstraints - Only when installing from Git, run Composer to install PHP dependencies, by issuing
composer install --no-dev
in the extension directory. (See T173141 for potential complications.)Category:Extensions requiring Composer with git - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'WikibaseQualityConstraints' );
- Configure as required.
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
See the "config" section in the extension.json file.
See also
- Wikibase Constraint Violations Export – Allows to export constraint violations to JSON via a maintenance script
- Top Wikibase extensions — Curated list of key Wikibase extensions
![]() | This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
![]() | This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
Category:All extensions
Category:ArticlePurge extensions
Category:BeforePageDisplay extensions
Category:Extensions in Wikimedia version control
Category:Extensions included in Miraheze
Category:Extensions included in ProWiki
Category:Extensions included in WikiForge
Category:Extensions requiring Composer with git
Category:Extensions supporting Composer
Category:Extensions used on Wikimedia
Category:Extensions with manual MediaWiki version
Category:Extensions with release branches compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions
Category:LoadExtensionSchemaUpdates extensions
Category:Stable extensions
Category:User interface extensions
Category:Wikibase
Category:WikibaseChangeNotification extensions
Category:Wikibase extensions