Lucas_Werkmeister_WMDE added a comment.

  I think there’s two issues here, and hopefully neither of them is too hard to 
solve. The first is that statement sections are configured by entity type, and 
we haven’t configured any for lexemes:
  
  name=InitialiseSettings.php
    'wmgWikibaseRepoStatementSections' => [
        'default' => [],
        'wikidatawiki' => [
                'item' => [
                        'statements' => null,
                        'identifiers' => [
                                'type' => 'dataType',
                                'dataTypes' => [ 'external-id' ],
                        ],
                ],
                'property' => [
                        'statements' => null,
                        'constraints' => [
                                'type' => 'propertySet',
                                'propertyIds' => [ 'P2302' ],
                        ],
                ],
        ],
  
  If we add a config for lexemes there, I think it should work, because 
`LexemeView` already uses the `StatementSectionsView` class. The other issue is 
that `SensesView` and `FormsView`, on the other hand, don’t use this class, but 
instead use the underlying `StatementGroupListView` directly; if we want 
sections to work in senses and forms, we’d need to fix that, I think.

TASK DETAIL
  https://phabricator.wikimedia.org/T318310

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lydia_Pintscher, ItamarWMDE, Lucas_Werkmeister_WMDE, Abbe98, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to