Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785820 )
Change subject: [doc] fix sphinx presentation
......................................................................
[doc] fix sphinx presentation
Change-Id: Ief84e7a0f1afd1a9a64d55bf2680110795e7fcce
---
M ROADMAP.rst
1 file changed, 2 insertions(+), 4 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 04a763a..66dfe63 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -11,10 +11,8 @@
* `use_disambig` BaseBot attribute was added to hande disambig skipping
* Deprecate RedirectPageBot and NoRedirectPageBot in favour of `use_redirects` attribute
* tools.formatter.color_format is deprecated and will be removed
-* A new and easier color format was implemented; colors can be used like::
-
- 'this is a <<green>>colored<<default>> text'
-
+* A new and easier color format was implemented; colors can be used like:
+ ``'this is a <<green>>colored<<default>> text'``
* Unused and unsupported `xmlreader.XmlParserThread` was removed
* Use upercased IP user titles (:phab:`T306291`)
* Use pathlib to extract filename and file_package in pwb.py
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785820
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: Ief84e7a0f1afd1a9a64d55bf2680110795e7fcce
Gerrit-Change-Number: 785820
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785806 )
Change subject: [doc] update ROADMAP.rst and CHANGELOG.md
......................................................................
[doc] update ROADMAP.rst and CHANGELOG.md
Change-Id: I0c671e2f55014551f95b29aeca98c5383b4e98ed
---
M ROADMAP.rst
M scripts/CHANGELOG.md
2 files changed, 37 insertions(+), 4 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 792727e..04a763a 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,6 +1,24 @@
Current release 7.2.0
^^^^^^^^^^^^^^^^^^^^^
+* L10N updates
+* Circumvent circular import in tools module (:phab:`T306760`)
+* Don't fix html inside syntaxhighlight parts in fixes.py (:phab:`T306723`)
+* Make layer parameter optional in `pywikibot.debug()` (:phab:`T85620`)
+* Retry for internal_api_error_DBQueryTimeoutError errors due to :phab:`T297708`
+* Handle ParserError within xmlreader.XmlDump.parse() instead of raising an exception (:phab:`T306134`)
+* XMLDumpOldPageGenerator is deprecated in favour of a `content` parameter (:phab:`T306134`)
+* `use_disambig` BaseBot attribute was added to hande disambig skipping
+* Deprecate RedirectPageBot and NoRedirectPageBot in favour of `use_redirects` attribute
+* tools.formatter.color_format is deprecated and will be removed
+* A new and easier color format was implemented; colors can be used like::
+
+ 'this is a <<green>>colored<<default>> text'
+
+* Unused and unsupported `xmlreader.XmlParserThread` was removed
+* Use upercased IP user titles (:phab:`T306291`)
+* Use pathlib to extract filename and file_package in pwb.py
+* Fix isbn messages in fixes.py (:phab:`T306166`)
* Fix Page.revisions() with starttime (:phab:`T109181`)
* Use stream_output for messages inside input_list_choice method (:phab:`T305940`)
* Expand simulate query result (:phab:`T305918`)
@@ -20,7 +38,10 @@
Deprecations
^^^^^^^^^^^^
-* 8.0.0: Python 3.5 support will be dropped (:phab:`T301908`)
+* Python 3.5 support will be dropped with Python 8 (:phab:`T301908`)
+* 7.2.0: XMLDumpOldPageGenerator is deprecated in favour of a `content` parameter (:phab:`T306134`)
+* 7.2.0: RedirectPageBot and NoRedirectPageBot bot classes are deprecated in favour of `use_redirects` attribute
+* 7.2.0: `tools.formatter.color_format` is deprecated and will be removed
* 7.1.0: win32_unicode.py will be removed with Pywikibot 8
* 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()
@@ -42,6 +63,6 @@
* 6.2.0: Throttle.multiplydelay attribute is deprecated
* 6.2.0: SequenceOutputter.format_list() is deprecated in favour of 'out' property
* 6.0.0: config.register_family_file() is deprecated
-* 5.5.0: APISite.redirectRegex() is deprecated in favour of APISite.redirect_regex()
-* 4.0.0: Revision.parent_id is deprecated in favour of Revision.parentid
-* 4.0.0: Revision.content_model is deprecated in favour of Revision.contentmodel
+* 5.5.0: APISite.redirectRegex() is deprecated in favour of APISite.redirect_regex() and will be removed with Pywikibot 8
+* 4.0.0: Revision.parent_id is deprecated in favour of Revision.parentid and will be removed with Pywikibot 8
+* 4.0.0: Revision.content_model is deprecated in favour of Revision.contentmodel and will be removed with Pywikibot 8
diff --git a/scripts/CHANGELOG.md b/scripts/CHANGELOG.md
index a9f214d..29663fd 100644
--- a/scripts/CHANGELOG.md
+++ b/scripts/CHANGELOG.md
@@ -6,18 +6,30 @@
### general
* Archived scripts were removed
+### archive
+* Fix trailing newlines (:phab:`T306529`)
+
### checkimages
+* Use page_from_repository() method to read categoried from wikibase
* Use `itertools.zip_longest` to find the most important image
### dataextend
+* A -showonly option was added to only show claims of an ItemPage
* This new script was added. It is able to add properties, identifiers and sources to WikiBase items
+### delinker
+* New delinker script was added; it replaces compat's CommonsDelinker (:phab:`T299563`)
+
### image
* Fix image regex (:phab:`T305226`, :phab:`T305227`)
### reflinks
+* Ignore Bloomberg captcha (:phab:`T306304`)
* Fix cp encodings (:phab:`T304830`)
+### replace
+* A -quiet option was ddet to omit message when no change was made
+
## 7.1.0
*26 March 2022*
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785806
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: I0c671e2f55014551f95b29aeca98c5383b4e98ed
Gerrit-Change-Number: 785806
Gerrit-PatchSet: 4
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785386 )
Change subject: [bugfix] import pywikibot as a whole in tools/__init__.py
......................................................................
[bugfix] import pywikibot as a whole in tools/__init__.py
This is needed due to import problems with Python 3.5
Bug: T306760
Change-Id: Ie27a82a7ff763ae44667fdd3965e0691295cb9d8
---
M pywikibot/tools/__init__.py
1 file changed, 12 insertions(+), 11 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py
index 3dcaa3c..e5f80c0 100644
--- a/pywikibot/tools/__init__.py
+++ b/pywikibot/tools/__init__.py
@@ -28,7 +28,7 @@
import pkg_resources
-import pywikibot.logging as _pylogging
+import pywikibot # T306760
from pywikibot.tools._deprecate import ( # noqa: F401 skipcq: PY-W2000
ModuleDeprecationWrapper,
add_decorated_full_name,
@@ -504,8 +504,8 @@
'Found "{}" in "{}"'.format(handled,
version_match.group(2))
if version_match.group(2):
- _pylogging.debug('Additional unused version part '
- '"{}"'.format(version_match.group(2)))
+ pywikibot.logging.debug('Additional unused version part '
+ '"{}"'.format(version_match.group(2)))
self._dev_version = (4, )
self.suffix = version_match.group(2) or ''
@@ -805,17 +805,18 @@
super().append(thd)
thd.start()
- _pylogging.debug("thread {} ('{}') started"
- .format(len(self), type(thd)))
+ pywikibot.logging.debug("thread {} ('{}') started"
+ .format(len(self), type(thd)))
def stop_all(self) -> None:
"""Stop all threads the pool."""
if self:
- _pylogging.debug('EARLY QUIT: Threads: {}'.format(len(self)))
+ pywikibot.logging.debug('EARLY QUIT: Threads: {}'
+ .format(len(self)))
for thd in self:
thd.stop()
- _pylogging.debug('EARLY QUIT: Queue size left in {}: {}'
- .format(thd, thd.queue.qsize()))
+ pywikibot.logging.debug('EARLY QUIT: Queue size left in {}: {}'
+ .format(thd, thd.queue.qsize()))
def intersect_generators(*iterables, allow_duplicates: bool = False):
@@ -884,9 +885,9 @@
# If any iterable is empty, no pages are going to be returned
for source in iterables:
if not source:
- _pylogging.debug('At least one iterable ({!r}) is empty and '
- 'execution was skipped immediately.'
- .format(source))
+ pywikibot.logging.debug('At least one iterable ({!r}) is empty '
+ 'and execution was skipped immediately.'
+ .format(source))
return
# Item is cached to check that it is found n_gen times
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785386
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: Ie27a82a7ff763ae44667fdd3965e0691295cb9d8
Gerrit-Change-Number: 785386
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged