Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/820214 )
Change subject: [doc] Update ROADMAP.rst and CHANGELOG.rst ......................................................................
[doc] Update ROADMAP.rst and CHANGELOG.rst
Change-Id: I10ef5eb8097914fbdae865a820f14d7930a74d9e --- M ROADMAP.rst M pywikibot/page/_pages.py M scripts/CHANGELOG.rst 3 files changed, 31 insertions(+), 1 deletion(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/ROADMAP.rst b/ROADMAP.rst index 29b9155..806b446 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,6 +1,13 @@ Current release 7.6.0 ^^^^^^^^^^^^^^^^^^^^^
+* Fix partial caching in :meth:`Category.subcategories()<page.Category.subcategories>` (:phab:`T88217`) +* Method :meth:`Page.has_content()<page.BasePage.has_content>` was added (:phab:`T313736`) +* Discard cache and reload it if cache was loaded without content and content is required + in :meth:`Page.templates()<page.BasePage.templates>` (:phab:`T313736`) +* Add support for vikidia:oc +* Exit loop in PageFromFileReader if match.end() <= 0 (:phab:`T313684`) +* Allow Exception as parameter of pywikibot.exceptions.Error * Make :func:`GoogleSearchPageGenerator<pagegenerators.GoogleSearchPageGenerator>` and :func:`PetScanPageGenerator<pagegenerators.PetScanPageGenerator>` a restartable Generator (:phab:`T313681`, :phab:`T313683`) diff --git a/pywikibot/page/_pages.py b/pywikibot/page/_pages.py index 51fb874..1ead289 100644 --- a/pywikibot/page/_pages.py +++ b/pywikibot/page/_pages.py @@ -407,6 +407,8 @@ Page has been loaded.
Not existing pages are considered loaded. + + .. versionadded:: 7.6 """ return not self.exists() or self._latest_cached_revision() is not None
diff --git a/scripts/CHANGELOG.rst b/scripts/CHANGELOG.rst index cac0f1e..9169144 100644 --- a/scripts/CHANGELOG.rst +++ b/scripts/CHANGELOG.rst @@ -6,11 +6,33 @@
*current release*
+archivebot +~~~~~~~~~~ + +* Skip the page if it does not exist +* Fix for DiscussionPage.size() (:phab:`T313886`) +* Decrease memory usage and improve processing speed + interwiki ~~~~~~~~~
* Fix wrong Subject property
+pagefromfile +~~~~~~~~~~~~ + +* Derive PageFromFileReader from tools.collections.GeneratorWrapper + +7.5.2 +----- + +*26 July 2022* + +archivebot +~~~~~~~~~~ + +* Add localized "archive" variables (:phab:`T71551`, :phab:`T313682`, :phab:`T313692`) + 7.5.1 -----
@@ -21,7 +43,6 @@
* Replace archive pattern fields to string conversion (:phab:`T313692`)
- 7.5.0 -----
pywikibot-commits@lists.wikimedia.org