Move get_best_claim to ItemPage and keep a wrapper in Page, per the discussion in the comments.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| get_best_claim: Move implementation to ItemPage | pywikibot/core | master | +52 -23 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | Goal | Strainu | T400608 Add high-level API for Wikidata in Pywikibot | ||
| Resolved | Strainu | T400610 Refactor get_best_claim function |
Event Timeline
Comment Actions
@Xqt , why did you choose to implement this directly in Page instead of ItemPage with a wrapper on top in Page? Is it OK if I move it?
Comment Actions
Change #1173478 had a related patch set uploaded (by Strainu; author: Strainu):
[pywikibot/core@master] get_best_claim: Move implementation to ItemPage
Comment Actions
Change #1173478 merged by jenkins-bot:
[pywikibot/core@master] get_best_claim: Move implementation to ItemPage