jenkins-bot submitted this change.

View Change

Approvals: Matěj Suchánek: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
[cleanup] remove deprecated DisambiguationRobot methods

Deprecation is announces as FutureWarning since 5.2.0

Change-Id: I3322d300da198f0d41bc30d75f9a9b591da7e421
---
M scripts/solve_disambiguation.py
1 file changed, 0 insertions(+), 30 deletions(-)

diff --git a/scripts/solve_disambiguation.py b/scripts/solve_disambiguation.py
index 9a5559a..7091084 100755
--- a/scripts/solve_disambiguation.py
+++ b/scripts/solve_disambiguation.py
@@ -620,36 +620,6 @@

self.dn_template_str = i18n.translate(self.site, dn_template)

- @property
- @deprecated('site attribute', since='20201102', future_warning=True)
- def mysite(self):
- """DEPRECATED mysite attribute."""
- return self.site
-
- @mysite.setter
- @deprecated('site attribute', since='20201102', future_warning=True)
- def mysite(self, value):
- """DEPRECATED mysite attribute."""
- self.site = value
-
- @property
- @deprecated('site.lang attribute', since='20201102', future_warning=True)
- def mylang(self):
- """DEPRECATED mylang attribute."""
- return self.site.lang
-
- @property
- @deprecated('summary attribute', since='20201102', future_warning=True)
- def comment(self):
- """DEPRECATED edit summary property."""
- return self.summary
-
- @comment.setter
- @deprecated('summary attribute', since='20201102', future_warning=True)
- def comment(self, value):
- """DEPRECATED edit summary property setter."""
- self.summary = value
-
def checkContents(self, text) -> Optional[str]:
"""
Check if the text matches any of the ignore regexes.

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I3322d300da198f0d41bc30d75f9a9b591da7e421
Gerrit-Change-Number: 664058
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki@aol.com>
Gerrit-Reviewer: DannyS712 <DannyS712.enwiki@gmail.com>
Gerrit-Reviewer: Matěj Suchánek <matejsuchanek97@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged