Skip to content

Cannot remove Wikibase entity alias #123

@mormegil-cz

Description

@mormegil-cz

Trying to remove an alias from a Wikibase entity does nothing. The problem seems to be that WikiClientLibrary.Wikibase.Entity.SerializeEditEntries does not fill Contracts.MonolingualText.Value when removing an alias. While for Labels and Descriptions this is fine (those are WbMonolingualTextCollection – the language uniquely identifies the label/description to be removed), for Aliases this does not work (it is a WbMonolingualTextsCollection, and the language identifies a set of aliases, and the specific alias to be removed needs to be specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions