Ladsgroup added a comment.
Things that might be useful: - Here's an example of adding new constraint: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseQualityConstraints/+/430619 - You can use ExtensionRegistry to make sure WikibaseLexeme is enabled or not (see https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/86bae264991f47ad83ea05766ec431681c215191/client/includes/Hooks/DataUpdateHookHandler.php#130) - There is a check for statement to see if it's deprecated or not (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseQualityConstraints/+/430619/2/src/ConstraintCheck/Checker/NoneOfChecker.php#72) you can do a similar thing to make sure the check is on Lexeme and not on an item, etc. TASK DETAIL https://phabricator.wikimedia.org/T200689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup Cc: Ladsgroup, Nikki, Lucas_Werkmeister_WMDE, Esc3300, Ivan_A_Krestinin, Aklapper, Invadibot, maantietaja, Akuckartz, Iflorez, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, merbst, LawExplorer, _jensen, rosalieper, Agabi10, Scott_WUaS, Jonas, abian, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
