Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding / removing sitelinks #486

Open
wetneb opened this issue Mar 3, 2020 · 0 comments
Open

Adding / removing sitelinks #486

wetneb opened this issue Mar 3, 2020 · 0 comments
Labels

Comments

@wetneb
Copy link
Member

wetneb commented Mar 3, 2020

In WikibaseDataEditor, we currently do not expose methods to add or remove sitelinks from entities.

We have updateTermsStatements which lets us add / remove terms and statements, but not sitelinks.

Adding two more arguments to a method like this (or a variant of it) feels like this is becoming pretty heavy. On the long term we should consider providing dedicated classes to represent planned updates to entities (whose fields should roughly be the current arguments of these methods). This is related to #403.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant