jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689982 )
Change subject: [docs] Update some docs fo sphinx
......................................................................
[docs] Update some docs fo sphinx
Change-Id: I9fdbe2aef30ed1992568ff4fe45104630add04ab
---
M pywikibot/bot.py
M pywikibot/config.py
M pywikibot/cosmetic_changes.py
M pywikibot/textlib.py
M pywikibot/throttle.py
5 files changed, 79 insertions(+), 68 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index 0d90522..e1bc0e3 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -1742,19 +1742,19 @@
All options must be predefined in available_options dictionary. The type
of these options is responsible for the correct interpretation of the
options type given by the .ini file. They can be interpreted as bool,
- int, float or str (default). The settings file may be like:
+ int, float or str (default). The settings file may be like::
- [add_text]
- # edit summary for the bot.
- summary = Bot: Aggiungo template Categorizzare
+ [add_text]
+ # edit summary for the bot.
+ summary = Bot: Aggiungo template Categorizzare
- [shell] ; Shell options
- always: true
+ [shell] ; Shell options
+ always: true
The option values are interpreted in this order::
- - available_options default setting
- - script.ini options settings
+ - `available_options` default setting
+ - `script.ini options` settings
- command line arguments
*New in version 3.0.*
diff --git a/pywikibot/config.py b/pywikibot/config.py
index be1002e..fc2f8f2 100644
--- a/pywikibot/config.py
+++ b/pywikibot/config.py
@@ -1,20 +1,20 @@
"""
Module to define and load pywikibot configuration default and user preferences.
-User preferences are loaded from a python file called user-config.py, which
-may be located in directory specified by the environment variable
-PYWIKIBOT_DIR, or the same directory as pwb.py, or in a directory within
-the users home. See get_base_dir for more information.
+User preferences are loaded from a python file called `user-config.py`,
+which may be located in directory specified by the environment variable
+`PYWIKIBOT_DIR`, or the same directory as `pwb.py`, or in a directory
+within the users home. See L{get_base_dir} for more information.
If user-config.py cannot be found in any of those locations, this module
-will fail to load unless the environment variable PYWIKIBOT_NO_USER_CONFIG
-is set to a value other than '0'. i.e. PYWIKIBOT_NO_USER_CONFIG=1 will
-allow config to load without a user-config.py. However, warnings will be
-shown if user-config.py was not loaded. To prevent these warnings, set
-PYWIKIBOT_NO_USER_CONFIG=2. If pywikibot is installed as a site-package
-the behaviour is like PYWIKIBOT_NO_USER_CONFIG=2 is set.
+will fail to load unless the environment variable `PYWIKIBOT_NO_USER_CONFIG`
+is set to a value other than `'0'`. i.e. `PYWIKIBOT_NO_USER_CONFIG=1` will
+allow config to load without a `user-config.py`. However, warnings will be
+shown if `user-config.py` was not loaded. To prevent these warnings, set
+`PYWIKIBOT_NO_USER_CONFIG=2`. If Pywikibot is installed as a site-package
+the behaviour is like `PYWIKIBOT_NO_USER_CONFIG=2` is set.
-Functions made available to user-config:
+Functions made available to `user-config`:
- user_home_path
@@ -283,20 +283,21 @@
r"""Return the directory in which user-specific information is stored.
This is determined in the following order:
- 1. If the script was called with a -dir: argument, use the directory
- provided in this argument.
- 2. If the user has a PYWIKIBOT_DIR environment variable, use the value
- of it.
- 3. If user-config is present in current directory, use the current
- directory.
- 4. If user-config is present in pwb.py directory, use that directory
- 5. Use (and if necessary create) a 'pywikibot' folder under
- 'Application Data' or 'AppData\Roaming' (Windows) or
- '.pywikibot' directory (Unix and similar) under the user's home
- directory.
+ 1. If the script was called with a `-dir:` argument, use the
+ directory provided in this argument.
+ 2. If the user has a `PYWIKIBOT_DIR` environment variable, use the
+ value of it.
+ 3. If `user-config` is present in current directory, use the
+ current directory.
+ 4. If `user-config` is present in `pwb.py` directory, use that
+ directory
+ 5. Use (and if necessary create) a `'pywikibot'` folder under
+ `'Application Data'` or `'AppData\Roaming'` (Windows) or
+ `'.pywikibot'` directory (Unix and similar) under the user's
+ home directory.
- Set PYWIKIBOT_NO_USER_CONFIG=1 to disable loading user-config.py or
- install pywikibot as a site-package.
+ Set `PYWIKIBOT_NO_USER_CONFIG=1` to disable loading `user-config.py`
+ or install Pywikibot as a site-package.
@param test_directory: Assume that a user config file exists in this
directory. Used to test whether placing a user config file in this
diff --git a/pywikibot/cosmetic_changes.py b/pywikibot/cosmetic_changes.py
index da46f8a..8d2270c 100755
--- a/pywikibot/cosmetic_changes.py
+++ b/pywikibot/cosmetic_changes.py
@@ -4,11 +4,11 @@
The changes are not supposed to change the look of the rendered wiki page.
-If you wish to run this as an stand-alone script, use:
+If you wish to run this as an stand-alone script, use::
scripts/cosmetic_changes.py
-For regular use, it is recommended to put this line into your user-config.py:
+For regular use, it is recommended to put this line into your user-config.py::
cosmetic_changes = True
@@ -16,11 +16,11 @@
dictionary cosmetic_changes_enable to your user-config.py. It should contain
a tuple of languages for each site where you wish to enable in addition to
your own langlanguage if cosmetic_changes_mylang_only is True (see below).
-Please set your dictionary by adding such lines to your user-config.py:
+Please set your dictionary by adding such lines to your user-config.py::
cosmetic_changes_enable['wikipedia'] = ('de', 'en', 'fr')
-There is another config variable: You can set
+There is another config variable: You can set::
cosmetic_changes_mylang_only = False
@@ -33,7 +33,7 @@
You may use it with cosmetic_changes_mylang_only is False, but you can also
disable your own language. This also overrides the settings in the dictionary
cosmetic_changes_enable. Please set this dictionary by adding such lines to
-your user-config.py:
+your user-config.py::
cosmetic_changes_disable['wikipedia'] = ('de', 'en', 'fr')
@@ -41,11 +41,11 @@
unwanted scripts to the list cosmetic_changes_deny_script in your
user-config.py. By default it contains cosmetic_changes.py itself and touch.py.
This overrides all other enabling settings for cosmetic changes. Please modify
-the given list by adding such lines to your user-config.py:
+the given list by adding such lines to your user-config.py::
cosmetic_changes_deny_script.append('your_script_name_1')
-or by adding a list to the given one:
+or by adding a list to the given one::
cosmetic_changes_deny_script += ['your_script_name_1',
'your_script_name_2']
@@ -766,12 +766,19 @@
"""
Add a space between the equal signs and the section title.
- Example: ==Section title== becomes == Section title ==
+ Example::
- NOTE: This space is recommended in the syntax help on the English and
- German Wikipedia. It is not wanted on Lojban and English Wiktionary
- (T168399, T169064) and it might be that it is not wanted on other
- wikis. If there are any complaints, please file a bug report.
+ ==Section title==
+
+ becomes::
+
+ == Section title ==
+
+ :NOTE: This space is recommended in the syntax help on the
+ English and German Wikipedia. It is not wanted on Lojban and
+ English Wiktionary (T168399, T169064) and it might be that
+ it is not wanted on other wikis. If there are any complaints,
+ please file a bug report.
"""
if self.site.sitename in ['wiktionary:jbo', 'wiktionary:en']:
return text
@@ -785,9 +792,10 @@
"""
Add a space between the * or # and the text.
- NOTE: This space is recommended in the syntax help on the English,
- German, and French Wikipedia. It might be that it is not wanted on
- other wikis. If there are any complaints, please file a bug report.
+ :NOTE: This space is recommended in the syntax help on the
+ English, German, and French Wikipedia. It might be that it
+ is not wanted on other wikis. If there are any complaints,
+ please file a bug report.
"""
if not self.template:
exceptions = ['comment', 'math', 'nowiki', 'pre',
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py
index 48cce6b..b278865 100644
--- a/pywikibot/textlib.py
+++ b/pywikibot/textlib.py
@@ -1596,16 +1596,17 @@
There are minor differences between the two implementations.
The two implementations return nested templates in a different
- order, i.e. for {{a|b={{c}}}}, parsers returns [a, c], whereas regex
- returns [c, a].
+ order, i.e. for `{{a|b={{c}}}}`, parsers returns `[a, c]`, whereas
+ regex returns `[c, a]`.
The parser packages preserves whitespace in parameter names and
values.
- If there are multiple numbered parameters in the wikitext for the same
- position, MediaWiki will only use the last parameter value.
- e.g. {{a| foo | 2 <!-- --> = bar | baz }} is {{a|1=foo|2=baz}}
- To replicate that behaviour, enable both remove_disabled_parts and strip.
+ If there are multiple numbered parameters in the wikitext for the
+ same position, MediaWiki will only use the last parameter value.
+ e.g. `{{a| foo | 2 <!-- --> = bar | baz }}` is `{{a|1=foo|2=baz}}`
+ To replicate that behaviour, enable both `remove_disabled_parts`
+ and `strip` parameters.
@param text: The wikitext from which templates are extracted
@param remove_disabled_parts: If enabled, remove disabled wikitext
diff --git a/pywikibot/throttle.py b/pywikibot/throttle.py
index e2a5672..33dff52 100644
--- a/pywikibot/throttle.py
+++ b/pywikibot/throttle.py
@@ -32,11 +32,11 @@
"""Control rate of access to wiki server.
- Calling this object blocks the calling thread until at least 'delay'
- seconds have passed since the previous call.
+ Calling this object blocks the calling thread until at least
+ `'delay'` seconds have passed since the previous call.
- Each Site initiates one Throttle object (site.throttle) to control the
- rate of access.
+ Each Site initiates one Throttle object (`site.throttle`) to control
+ the rate of access.
"""
@@ -256,20 +256,21 @@
def lag(self, lagtime: Optional[float] = None):
"""Seize the throttle lock due to server lag.
- Usually the self.retry-after value from response_header of the last
- request if available which will be used for wait time. Otherwise
- lagtime from api maxlag is used. If neither retry_after nor lagtime is
- set, fallback to config.retry_wait.
+ Usually the `self.retry-after` value from `response_header` of the
+ last request if available which will be used for wait time.
+ Otherwise `lagtime` from api `maxlag` is used. If neither
+ `self.retry_after` nor `lagtime` is set, fallback to
+ `config.retry_wait`.
- If the lagtime is disproportionately high compared to retry-after
- value, the wait time will be increased.
+ If the `lagtime` is disproportionately high compared to
+ `self.retry_after` value, the wait time will be increased.
- This method is used by api.request. It will prevent any thread from
- accessing this site.
+ This method is used by `api.request`. It will prevent any thread
+ from accessing this site.
- @param lagtime: The time to wait for the next request which is the
- last maxlag time from api warning. This is only used as a fallback
- if self.retry-after isn't set.
+ @param lagtime: The time to wait for the next request which is
+ the last `maxlag` time from api warning. This is only used
+ as a fallback if `self.retry_after` isn't set.
"""
started = time.time()
with self.lock:
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689982
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I9fdbe2aef30ed1992568ff4fe45104630add04ab
Gerrit-Change-Number: 689982
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689940 )
Change subject: [doc] add pwb.py, generate_user_files.py and generate_family_files to sphinx
......................................................................
[doc] add pwb.py, generate_user_files.py and generate_family_files to sphinx
Change-Id: Ia159179b88a1de40f6a7895cfb1c2812669e200b
---
M docs/index.rst
A docs/utilities/index.rst
M pwb.py
3 files changed, 21 insertions(+), 3 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/docs/index.rst b/docs/index.rst
index 2e819d1..dd55ccd 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -49,6 +49,7 @@
:maxdepth: 1
installation
+ utilities/index
scripts/index
getting_help
diff --git a/docs/utilities/index.rst b/docs/utilities/index.rst
new file mode 100644
index 0000000..96131fa
--- /dev/null
+++ b/docs/utilities/index.rst
@@ -0,0 +1,17 @@
+Utility scripts
+===============
+
+pwb wrapper script
+------------------
+
+.. automodule:: pwb
+
+generate\_family\_file script
+-----------------------------
+
+.. automodule:: generate_family_file
+
+generate\_user\_files script
+----------------------------
+
+.. automodule:: generate_user_files
diff --git a/pwb.py b/pwb.py
index 98362e0..9b4873c 100755
--- a/pwb.py
+++ b/pwb.py
@@ -2,15 +2,15 @@
# -*- coding: utf-8 -*-
"""Wrapper script to invoke pywikibot-based scripts.
-Run scripts with pywikibot in directory mode using:
+Run scripts with pywikibot in directory mode using::
python pwb.py <pwb options> <name_of_script> <options>
This wrapper script uses the package directory to store all user files,
will fix up search paths so the package does not need to be installed, etc.
-Currently <pwb options> are global options. This can be used for tests
-to set the default site (see T216825):
+Currently `<pwb options>` are global options. This can be used for tests
+to set the default site (see T216825)::
python pwb.py -lang:de bot_tests -v
"""
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689940
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ia159179b88a1de40f6a7895cfb1c2812669e200b
Gerrit-Change-Number: 689940
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689520 )
Change subject: [cleanup] Remove deprecated page methods
......................................................................
[cleanup] Remove deprecated page methods
- remove BasePage.getLatestEditors() method deprecated for 6 years
- remove User.name() method deprecated for 5 years
Change-Id: I5cd0d94567f4748047fe45d01a2e79309d0e0afd
---
M pywikibot/page/__init__.py
M tests/user_tests.py
2 files changed, 0 insertions(+), 37 deletions(-)
Approvals:
JJMC89: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/page/__init__.py b/pywikibot/page/__init__.py
index ecd5672..9cdaa25 100644
--- a/pywikibot/page/__init__.py
+++ b/pywikibot/page/__init__.py
@@ -1661,23 +1661,6 @@
return sum(cnt[user.username] if isinstance(user, User) else cnt[user]
for user in contributors)
- @deprecated('contributors() or revisions()', since='20150206',
- future_warning=True)
- @deprecated_args(limit='total') # pragma: no cover
- def getLatestEditors(self, total=1) -> list:
- """
- Get a list of revision information of the last total edits.
-
- DEPRECATED: Use Page.revisions.
-
- @param total: iterate no more than this number of revisions in total
- @return: list of dict, each dict containing the username and Timestamp
- """
- return [
- {'user': rev.user,
- 'timestamp': rev.timestamp.isoformat()}
- for rev in self.revisions(total=total)]
-
def merge_history(self, dest, timestamp=None, reason=None):
"""
Merge revisions from this page into another page.
@@ -2835,15 +2818,6 @@
pywikibot.output(
'This is an autoblock ID, you can only use to unblock it.')
- @deprecated('User.username', since='20160504', future_warning=True)
- def name(self) -> str: # pragma: no cover
- """
- The username.
-
- DEPRECATED: use username instead.
- """
- return self.username
-
@property
def username(self) -> str:
"""
diff --git a/tests/user_tests.py b/tests/user_tests.py
index ecf8683..a8368d1 100644
--- a/tests/user_tests.py
+++ b/tests/user_tests.py
@@ -9,7 +9,6 @@
import pywikibot
from pywikibot import Page, Timestamp, User
from pywikibot.exceptions import AutoblockUserError
-from pywikibot.tools import suppress_warnings
from tests import patch
from tests.aspects import DefaultSiteTestCase, TestCase, unittest
@@ -23,8 +22,6 @@
def _tests_unregistered_user(self, user, prop='invalid'):
"""Proceed user tests."""
- with suppress_warnings(r'pywikibot\.page\.User\.name', FutureWarning):
- self.assertEqual(user.name(), user.username)
self.assertEqual(user.title(with_ns=False), user.username)
self.assertFalse(user.isRegistered())
self.assertIsNone(user.registration())
@@ -54,8 +51,6 @@
def test_registered_user(self):
"""Test registered user."""
user = User(self.site, 'Xqt')
- with suppress_warnings(r'pywikibot\.page\.User\.name', FutureWarning):
- self.assertEqual(user.name(), user.username)
self.assertEqual(user.title(with_ns=False), user.username)
self.assertTrue(user.isRegistered())
self.assertFalse(user.isAnonymous())
@@ -122,9 +117,6 @@
p.assert_called_once_with(
'This is an autoblock ID, you can only use to unblock it.')
self.assertEqual('#1242976', user.username)
- with suppress_warnings(r'pywikibot\.page\.User\.name is deprecated',
- FutureWarning):
- self.assertEqual(user.name(), user.username)
self.assertEqual(user.title(with_ns=False), user.username[1:])
self.assertFalse(user.isRegistered())
self.assertFalse(user.isAnonymous())
@@ -147,9 +139,6 @@
with patch.object(pywikibot, 'output'):
user = User(self.site, 'User:#1242976')
self.assertEqual('#1242976', user.username)
- with suppress_warnings(r'pywikibot\.page\.User\.name is deprecated',
- FutureWarning):
- self.assertEqual(user.name(), user.username)
self.assertEqual(user.title(with_ns=False), user.username[1:])
self.assertFalse(user.isRegistered())
self.assertFalse(user.isAnonymous())
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689520
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I5cd0d94567f4748047fe45d01a2e79309d0e0afd
Gerrit-Change-Number: 689520
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Huji <huji.huji(a)gmail.com>
Gerrit-Reviewer: JJMC89 <JJMC89.Wikimedia(a)gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689511 )
Change subject: [doc] Add version hints
......................................................................
[doc] Add version hints
Change-Id: I24b3bf107e604b02697b4adfe371cf88f5971fff
---
M pywikibot/config.py
M pywikibot/exceptions.py
M pywikibot/site/_apisite.py
M pywikibot/specialbots/_upload.py
M pywikibot/textlib.py
M pywikibot/userinterfaces/gui.py
6 files changed, 19 insertions(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/config.py b/pywikibot/config.py
index 2c5f752..be1002e 100644
--- a/pywikibot/config.py
+++ b/pywikibot/config.py
@@ -24,6 +24,8 @@
- makepath
- datafilepath
- shortpath
+
+*Renamed in version 6.2*
"""
#
# (C) Pywikibot team, 2003-2021
diff --git a/pywikibot/exceptions.py b/pywikibot/exceptions.py
index c9052f7..a68cdaa 100644
--- a/pywikibot/exceptions.py
+++ b/pywikibot/exceptions.py
@@ -155,6 +155,8 @@
- login._PasswordFileWarning: password file problems
- ArgumentDeprecationWarning: command line argument problems
- FamilyMaintenanceWarning: missing information in family definition
+
+*Changed in version 6.0:* exceptions were renamed and are ending with "Error".
"""
#
# (C) Pywikibot team, 2008-2021
@@ -466,7 +468,10 @@
class InvalidPageError(PageLoadRelatedError):
- """Invalid page title."""
+ """Missing page history.
+
+ *New in version 6.2.*
+ """
message = 'Page %s is invalid.'
diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py
index d0cabef..80fc46a 100644
--- a/pywikibot/site/_apisite.py
+++ b/pywikibot/site/_apisite.py
@@ -2557,6 +2557,9 @@
*Changed in version 6.0:* keyword arguments required for all
parameters except *filepage*.
+ *Changed in version 6.2:* asynchronous upload is used if
+ *asynchronous* parameter is set.
+
@param filepage: a FilePage object from which the wiki-name of the
file will be obtained.
@param source_filename: path to the file to be uploaded
diff --git a/pywikibot/specialbots/_upload.py b/pywikibot/specialbots/_upload.py
index ed67485..ad1cd84 100644
--- a/pywikibot/specialbots/_upload.py
+++ b/pywikibot/specialbots/_upload.py
@@ -52,6 +52,9 @@
filename_prefix: Optional[str] = None, **kwargs):
"""Initializer.
+ *Changed in version 6.2:* asynchronous upload is used if
+ *asynchronous* parameter is set.
+
@param url: path to url or local file, or list of urls or paths
to local files.
@param description: Description of file for its page. If multiple files
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py
index 4721c0e..48cce6b 100644
--- a/pywikibot/textlib.py
+++ b/pywikibot/textlib.py
@@ -1612,6 +1612,9 @@
such as comments and pre.
@param strip: If enabled, strip arguments and values of templates.
@return: list of template name and params
+
+ *New in version 6.1:* *wikitextparser* package is supported; either
+ *wikitextparser* or *mwparserfromhell* is strictly recommended.
"""
use_regex = isinstance(wikitextparser, ImportError)
diff --git a/pywikibot/userinterfaces/gui.py b/pywikibot/userinterfaces/gui.py
index d78936a..2eb2bb0 100644
--- a/pywikibot/userinterfaces/gui.py
+++ b/pywikibot/userinterfaces/gui.py
@@ -2,6 +2,8 @@
A window with a textfield where the user can edit.
Useful for editing the contents of an article.
+
+*New in version 6.1:* Python 3.6 or highter is required.
"""
#
# (C) Pywikibot team, 2003-2021
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689511
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I24b3bf107e604b02697b4adfe371cf88f5971fff
Gerrit-Change-Number: 689511
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689504 )
Change subject: [doc] update ROADMAP.rst
......................................................................
[doc] update ROADMAP.rst
Change-Id: Iccf7b28cba1bbee4d318bea27ffa611d66f90d1e
---
M ROADMAP.rst
1 file changed, 8 insertions(+), 0 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ROADMAP.rst b/ROADMAP.rst
index af5dde9..6a33a7b 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,6 +1,11 @@
Current release changes
~~~~~~~~~~~~~~~~~~~~~~~
+* tools.is_IP was renamed to is_ip_address due to PEP8
+* Fix Page.getDeletedRevision() method which always returned an empty list
+* Async chunked uploads are supported (T129216, 133443)
+* A new InvalidPageError will be raised if a Page has no version history (T280043)
+* config2.py was renamed to config.py
* L10N updates
* Fix __getattr__ for WikibaseEntity (T281389)
* Handle abusefilter-{disallow,warning} codes (T85656)
@@ -9,6 +14,9 @@
Deprecations
~~~~~~~~~~~~
+* 6.2.0: deprecated tools.is_IP will be removed
+* 6.2.0: Usage of pywikibot.config2 is deprecated and will be dropped
+* 6.2.0: Exceptions must be imported from exceptions namespace (T280227)
* 6.2.0: Deprecated exception identifiers will be removed (T280227)
* 6.2.0: empty_iterator will be removed in favour of iter()
* 6.1.0: tools.frozenmap will be removed in favour of types.MappingProxyType
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689504
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iccf7b28cba1bbee4d318bea27ffa611d66f90d1e
Gerrit-Change-Number: 689504
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged