jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/680350 )
Change subject: [doc] Update documentation
......................................................................
[doc] Update documentation
Some improvements to doc:
* http --> https and update URL
* api --> API
* Full stop not part of the URL
* arabic --> Arabic
* pypi --> PyPI
** See https://pypi.org/
Change-Id: I435139a09184e1d13f57b6d4b3ff058490b299e3
---
M CONTENT.rst
M pywikibot/cosmetic_changes.py
M scripts/archive/data_ingestion.py
M scripts/archive/flickrripper.py
4 files changed, 6 insertions(+), 6 deletions(-)
Approvals:
Xqt: Looks good to me, approved
DannyS712: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/CONTENT.rst b/CONTENT.rst
index f9a1b5c..230992c 100644
--- a/CONTENT.rst
+++ b/CONTENT.rst
@@ -20,7 +20,7 @@
+---------------------------+-----------------------------------------------------------+
| generate_user_files.py | Creates user-config.py or user-fixes.py |
+---------------------------+-----------------------------------------------------------+
- | HISTORY.rst | pypi version history file |
+ | HISTORY.rst | PyPI version history file |
+---------------------------+-----------------------------------------------------------+
| LICENSE | Reference to the MIT license |
+---------------------------+-----------------------------------------------------------+
@@ -32,7 +32,7 @@
+---------------------------+-----------------------------------------------------------+
| requirements.txt | General PIP requirements file |
+---------------------------+-----------------------------------------------------------+
- | ROADMAP.rst | pypi version roadmap file |
+ | ROADMAP.rst | PyPI version roadmap file |
+---------------------------+-----------------------------------------------------------+
| setup.py | Installer script for Pywikibot framework |
+---------------------------+-----------------------------------------------------------+
diff --git a/pywikibot/cosmetic_changes.py b/pywikibot/cosmetic_changes.py
index f6f0929..3c085ee 100755
--- a/pywikibot/cosmetic_changes.py
+++ b/pywikibot/cosmetic_changes.py
@@ -968,7 +968,7 @@
return text
def fixArabicLetters(self, text):
- """Fix arabic and persian letters."""
+ """Fix Arabic and Persian letters."""
if self.site.code not in ['ckb', 'fa']:
return text
diff --git a/scripts/archive/data_ingestion.py b/scripts/archive/data_ingestion.py
index 10a7cb4..b6111dd 100755
--- a/scripts/archive/data_ingestion.py
+++ b/scripts/archive/data_ingestion.py
@@ -164,7 +164,7 @@
"""
Find duplicates of the photo.
- Calculates the SHA1 hash and asks the MediaWiki api
+ Calculates the SHA1 hash and asks the MediaWiki API
for a list of duplicates.
TODO: Add exception handling, fix site thing
diff --git a/scripts/archive/flickrripper.py b/scripts/archive/flickrripper.py
index 758b77c..4fdfaeb 100755
--- a/scripts/archive/flickrripper.py
+++ b/scripts/archive/flickrripper.py
@@ -42,7 +42,7 @@
Tkdialog = _tk_error
try:
- import flickrapi # see: http://stuvel.eu/projects/flickrapi
+ import flickrapi # see: https://stuvel.eu/software/flickrapi/
except ImportError as e:
flickrapi = e
@@ -144,7 +144,7 @@
def getFlinfoDescription(photo_id):
"""
- Get the description from http://wikipedia.ramselehof.de/flinfo.php.
+ Get the description from http://wikipedia.ramselehof.de/flinfo.php
TODO: Add exception handling, try a couple of times
"""
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/680350
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: I435139a09184e1d13f57b6d4b3ff058490b299e3
Gerrit-Change-Number: 680350
Gerrit-PatchSet: 9
Gerrit-Owner: Meno25 <meno25mail(a)gmail.com>
Gerrit-Reviewer: DannyS712 <dannys712.wiki(a)gmail.com>
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/+/680313 )
Change subject: [doc] Update ROADMAP.rst
......................................................................
[doc] Update ROADMAP.rst
Change-Id: I52784339752de243b64201b0ff34a0f10e2609fa
---
M ROADMAP.rst
1 file changed, 12 insertions(+), 0 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ROADMAP.rst b/ROADMAP.rst
index b47f76d..bf9edc7 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,6 +1,15 @@
Current release changes
~~~~~~~~~~~~~~~~~~~~~~~
+* **mwparserfromhell** or **wikitextparser** are strictly recommended (T106763)
+* Enable different types with BaseBot.treat()
+* Context manager depends on pymysql version, not Python release (T279753)
+* Bugfix for Site.interwiki_prefix() (T188179)
+* Deprecated MoveEntry.new_ns() and new_title() methods were removed
+* Unused NoSuchSite and PageNotSaved exception were removed
+* Unused BadTitle exception was removed (T267768)
+* getSite() function was removed in favour of Site() constructor
+* Page.fileUrl() was removed in favour of Page.get_file_url()
* Require **Pillow**>=8.1.1 due to vulnerability found (T278743)
* TkDialog of GUI userinterface requires **Python 3.6+** (T278743)
* Enable textlib.extract_templates_and_params with **wikitextparser** package
@@ -17,6 +26,9 @@
Future release notes
~~~~~~~~~~~~~~~~~~~~
+* 6.1.0: tools.DotReadableDict will be removed
+* 6.1.0: mwparserfromhell or wikitextparser MediaWiki markup parser becomes mandatory (T106763)
+* 6.1.0: textlib.unescape() function will be removed in favour of html.unescape()
* 6.0.1: Site.undeletepage() and Site.undelete_file_versions() will be removed in favour of Site.undelete() method
* 6.0.1: Site.deletepage() and Site.deleteoldimage() will be removed in favour of Site.delete() method
* 6.0.1: DataSite.createNewItemFromPage() method will be removed in favour of ImagePage.fromPage() (T98663)
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/680313
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: I52784339752de243b64201b0ff34a0f10e2609fa
Gerrit-Change-Number: 680313
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged