Lucas_Werkmeister_WMDE added a comment.

  To ease a future migration, we can still add data to the 
`CommentStoreComment`:
  
  name=pseudocode
    $comment = CommentStoreComment(
        '/*wbschema-newschema:en */ the label',
        [
            'type' => 'wbschema-newschema',
            'language' => 'en',
            'label' => 'the label',
            'description' => 'the description',
            'aliases' => [ 'the alias', 'the other alias' ],
            'schemaText' => 'the schema text',
        ]
    );
  
  Then, if we want to migrate away from `FormatAutocomments` in the future, we 
can write a maintenance script that goes through all the revisions in the 
Schema namespace and uses this data to construct a new `CommentStoreComment`.

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, pdehaye, alaa_wmde, Michael, Nandana, 
Lahi, Gq86, GoranSMilovanovic, QZanden, YULdigitalpreservation, LawExplorer, 
Salgo60, _jensen, rosalieper, abian, Wikidata-bugs, aude, Lydia_Pintscher, 
Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to