Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1307603?usp=email )
Change subject: Deprecate Family.post_get_convert and Family.pre_put_convert functions ...................................................................... Deprecate Family.post_get_convert and Family.pre_put_convert functions Bug: T431188 Change-Id: Ic900afe7bdab346976d513a86f25a489b2db7251 Signed-off-by: Xqt <[email protected]> --- M pywikibot/family.py 1 file changed, 6 insertions(+), 0 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/pywikibot/family.py b/pywikibot/family.py index 8c61f28..4a7e791 100644 --- a/pywikibot/family.py +++ b/pywikibot/family.py @@ -700,19 +700,25 @@ """ return True + @deprecated(since='11.5.0') def post_get_convert(self, site, getText): """Do a conversion on the retrieved text from the Wiki. For example a :wiki:`X-conversion in Esperanto <Esperanto_orthography#X-system>`. + + .. version-deprecated:: 11.5 """ return getText + @deprecated(since='11.5.0') def pre_put_convert(self, site, putText): """Do a conversion on the text to insert on the Wiki. For example a :wiki:`X-conversion in Esperanto <Esperanto_orthography#X-system>`. + + .. version-deprecated:: 11.5 """ return putText -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1307603?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: Ic900afe7bdab346976d513a86f25a489b2db7251 Gerrit-Change-Number: 1307603 Gerrit-PatchSet: 4 Gerrit-Owner: Xqt <[email protected]> Gerrit-Reviewer: Xqt <[email protected]> Gerrit-Reviewer: jenkins-bot
_______________________________________________ Pywikibot-commits mailing list -- [email protected] To unsubscribe send an email to [email protected]
