jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/834690 )
Change subject: [doc] Fix WikibasePage documentation ......................................................................
[doc] Fix WikibasePage documentation
Change-Id: I6fac2af91f1a3798b34eafbf9b21b4a12ab41c5b --- M ROADMAP.rst M pywikibot/page/_wikibase.py 2 files changed, 6 insertions(+), 6 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/ROADMAP.rst b/ROADMAP.rst index fc3acfc..3b40eed 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,8 +1,7 @@ Current release 7.7.0 ^^^^^^^^^^^^^^^^^^^^^
-* TypeError is raised if *aliases* parameter of :meth:`WikibaseEntity.editEntity - <page.WikibaseEntity.editEntity>` or :meth:`WikibasePage.editEntity +* TypeError is raised if *aliases* parameter of :meth:`WikibasePage.editAliases <page.WikibasePage.editEntity>` method is not a list (:phab:`T318034`) * Raise TypeError in :meth:`AliasesDict.normalizeData <pywikibot.page._collections.AliasesDict.normalizeData>` if *data* value is not a list (:phab:`T318034`) diff --git a/pywikibot/page/_wikibase.py b/pywikibot/page/_wikibase.py index 332f97a..2418cd8 100644 --- a/pywikibot/page/_wikibase.py +++ b/pywikibot/page/_wikibase.py @@ -286,9 +286,9 @@ """Edit an entity using Wikibase ``wbeditentity`` API.
This function is wrapped around by: - - :meth:`editLabels` - - :meth:`editDescriptions` - - :meth:`editAliases` + - :meth:`WikibasePage.editLabels` + - :meth:`WikibasePage.editDescriptions` + - :meth:`WikibasePage.editAliases` - :meth:`ItemPage.setSitelinks`
.. seealso:: :meth:`WikibasePage.editEntity` @@ -1066,7 +1066,8 @@ A *sitelink* can be a Page object, a BaseLink object or a ``{'site': dbname, 'title': title}`` dictionary.
- Refer :meth:`editEntity` for *asynchronous* and *callback* usage. + Refer :meth:`WikibasePage.editEntity` for *asynchronous* and + *callback* usage. """ self.setSitelinks([sitelink], **kwargs)
pywikibot-commits@lists.wikimedia.org