We’d like to move constraint statements (all statements of P2302) to a separate section on properties, after the Statements section (like the Identifiers section on items).
As far as I can tell, there are two parts to this:
- Add this to the $wgWBRepoSettings['statementSections'] config in operations/mediawiki-config::wmf-config/Wikibase.php:
'property' => [ 'statements' => null, 'constraints' => [ 'type' => 'propertySet', 'propertyIds' => [ 'P2302' ] ] ]
- Add the i18n string wikibase-statementsection-constraints. I haven’t been able to find out where the statement section strings other than -statements are defined – is -identifiers really only on TranslateWiki and nowhere else?
The message is in the WikimediaMessages extension, see https://phabricator.wikimedia.org/diffusion/EWME/browse/master/i18n/wikimedia/en.json;3774395de74289eb564af674fb187b9c6d823620$199.
There are some statements that are more “internal”, like “Wikidata property example”, “Wikidata usage instructions”, “property proposal discussion”, “property usage tracking category”, perhaps even “see also”. But I think it would be better to bring this up with the community (I’m sure there’s some property I missed).