jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[doc] Update ROADMAP.rst and CHANGELOG.rst

Change-Id: I2cb8bdd6d7628a7e0f263929c4726280df1e9fbd
---
M ROADMAP.rst
M docs/changelog.rst
M pywikibot/site/_generators.py
M scripts/CHANGELOG.rst
4 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/ROADMAP.rst b/ROADMAP.rst
index 717f301..a409089 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,6 +1,10 @@
Current release 7.7.0
^^^^^^^^^^^^^^^^^^^^^

+* Run :mod:`pywikibot.scripts.login` script in parallel tasks if ``-async`` option is given (:phab:`T57899`)
+* Ability to preload categories was added to :meth:`APISite.preloadpages
+ <pywikibot.site._generators.GeneratorsMixin.preloadpages>` (:phab:`T241689`)
+* Add :class:`WikiBlame<page._toolforge.WikiBlameMixin>` support was added to get the five topmost authors
* Raise KeyError instead of AttributeError if :class:`page.FileInfo` is used as Mapping
* L10N updates

@@ -8,13 +12,15 @@
Deprecations
^^^^^^^^^^^^

-* 7.6.0: :mod:`tools.itertools` datatypes should no longer imported from :mod:`pywikibot.tools`
-* 7.6.0: :mod:`tools.collections` datatypes should no longer imported from :mod:`pywikibot.tools`
-* 7.5.0: :mod:`pywikibot.textlib`.tzoneFixedOffset class will be removed in favour of :class:`pywikibot.time.TZoneFixedOffset`
-* 7.4.0: `FilePage.usingPages()` was renamed to :meth:`using_pages()<pywikibot.FilePage.using_pages>`
+* 7.6.0: :mod:`tools.itertools` datatypes should no longer imported from :mod:`tools`
+* 7.6.0: :mod:`tools.collections` datatypes should no longer imported from :mod:`tools`
+* 7.5.0: :mod:`textlib`.tzoneFixedOffset class will be removed in favour of :class:`time.TZoneFixedOffset`
+* 7.4.0: ``FilePage.usingPages()`` was renamed to :meth:`using_pages()<pywikibot.FilePage.using_pages>`
* 7.2.0: ``tb`` parameter of :func:`exception()<pywikibot.exception>` function was renamed to ``exc_info``
-* 7.2.0: XMLDumpOldPageGenerator is deprecated in favour of a `content` parameter of `XMLDumpPageGenerator` (:phab:`T306134`)
-* 7.2.0: RedirectPageBot and NoRedirectPageBot bot classes are deprecated in favour of :attr:`use_redirects<bot.BaseBot.use_redirects>` attribute
+* 7.2.0: XMLDumpOldPageGenerator is deprecated in favour of a ``content`` parameter of
+ :func:`XMLDumpPageGenerator<pagegenerators.XMLDumpPageGenerator>` (:phab:`T306134`)
+* 7.2.0: RedirectPageBot and NoRedirectPageBot bot classes are deprecated in favour of
+ :attr:`use_redirects<bot.BaseBot.use_redirects>` attribute
* 7.2.0: :func:`tools.formatter.color_format<tools.formatter.color_format>` is deprecated and will be removed
* 7.1.0: Unused `get_redirect` parameter of Page.getOldVersion() will be removed
* 7.1.0: APISite._simple_request() will be removed in favour of APISite.simple_request()
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 6840fb0..8e6a551 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -3,7 +3,7 @@
Change log
==========

-**Current version:** |release|
+What is new with Pywikibot |release|? What are the main changes of older version?

.. include:: ../ROADMAP.rst

diff --git a/pywikibot/site/_generators.py b/pywikibot/site/_generators.py
index c92042e..49ca8ca 100644
--- a/pywikibot/site/_generators.py
+++ b/pywikibot/site/_generators.py
@@ -103,7 +103,9 @@
In case of duplicates in a groupsize batch, return the first entry.

.. versionchanged:: 7.6
- ``content`` parameter was added.
+ *content* parameter was added.
+ .. versionchanged:: 7.7
+ *categories* parameter was added.

:param pagelist: an iterable that returns Page objects
:param groupsize: how many Pages to query at a time
@@ -112,7 +114,7 @@
:param langlinks: preload all language links from the provided pages
to other languages
:param pageprops: preload various properties defined in page content
- @param categories: preload page categories
+ :param categories: preload page categories
:param content: preload page content
"""
props = 'revisions|info|categoryinfo'
@@ -173,11 +175,13 @@
'preloadpages: Query returned unexpected '
"title '{}'".format(pagedata['title']))
continue
+
except KeyError:
pywikibot.debug("No 'title' in {}".format(pagedata))
pywikibot.debug('pageids={}'.format(pageids))
pywikibot.debug('titles={}'.format(list(cache.keys())))
continue
+
priority, page = cache[pagedata['title']]
api.update_page(page, pagedata, rvgen.props)
priority, page = heapq.heappushpop(prio_queue,
diff --git a/scripts/CHANGELOG.rst b/scripts/CHANGELOG.rst
index 87d02b6..8066403 100644
--- a/scripts/CHANGELOG.rst
+++ b/scripts/CHANGELOG.rst
@@ -7,6 +7,7 @@
archivebot
~~~~~~~~~~

+* Process pages in parallel tasks with ``-async`` option (:phab:`T57899`)
* Add -sort option to sort archives by (latest) timestamp
* Archive unsigned threads using timestamp of the next thread (:phab:`T69663`, :phab:`T182685`)

@@ -18,6 +19,7 @@
watchlist
~~~~~~~~~

+* Watchlist is retrieved faster in parallel tasks (:phab:`T57899`)
* Enable watchlist.refresh_all for API generator access (:phab:`T316359`)

7.6.0

To view, visit change 831200. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I2cb8bdd6d7628a7e0f263929c4726280df1e9fbd
Gerrit-Change-Number: 831200
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki@aol.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged