It doesn’t look like a comment_data-based multilingual comments system (T215637) will be ready in time for the initial WikibaseSchema deployment (even if the discussion in T218127 is settled soon, the MediaWiki parts will take some time to implement), so we’re going to implement a workaround similar to what Wikibase does: generate /* summaries */ like this and format them using the FormatAutocomments hook.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Lydia_Pintscher | T218889 [Epic] Create translatable edit summaries using FormatAutocomments hook | |||
Resolved | • Lucas_Werkmeister_WMDE | T218893 Set up translatable edit summaries using FormatAutocomments hook | |||
Resolved | hoo | T218894 Migrate “edit schema text” summaries to FormatAutocomments-based system | |||
Resolved | noarave | T218895 Migrate “edit schema label/description/aliases” summaries to FormatAutocomments-based system | |||
Resolved | Michael | T218896 Migrate “undo/restore Schema” summaries to FormatAutocomments-based system |
Event Timeline
Comment Actions
To ease a future migration, we can still add data to the CommentStoreComment:
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.
Comment Actions
Change 498444 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseSchema@master] Use autocomments for translatable edit summaries