Adding / removing sitelinks

Đang mở
#486 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
api

Hướng nghiên cứu

Start by reading WikibaseDataEditor and the existing updateTermsStatements method to see how entity updates are exposed. The issue asks for ways to add and remove sitelinks; decide how those operations fit the current API, keeping the related discussion in #403 in mind. Done means callers can add and remove entity sitelinks through the editor.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature

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.

Ngôn ngữ chính
Java
Star
412
Fork
116
Merge trung bình
3 ngày 23 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Wikidata-Toolkit/Wikidata-Toolkit

Tất cả issue của Wikidata-Toolkit/Wikidata-Toolkit

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.