Deprecate Family.post_get_convert and Family.pre_put_convert functions. They were never used in either core or compat and simply returned the original string. The idea of providing a universal conversion mechanism, similar to the Esperanto X-conversion, was never realized. The compat release provided decodeEsperantoX and encodeEsperantoX, but those functions were only used for screen scraping. After 20 years, these hooks have proven unnecessary. Deprecate them now and remove them after the deprecation period in Pywikibot 14.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Deprecate Family.post_get_convert and Family.pre_put_convert functions | Xqt | pywikibot/core | master | +6 -0 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T89451 Reducing complexity of the Family class | |||
| Resolved | Xqt | T431188 Deprecate Family.post_get_convert and Family.pre_put_convert functions |
Event Timeline
Comment Actions
Change #1307603 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] Deprecate Family.post_get_convert and Family.pre_put_convert functions
Comment Actions
Change #1307603 merged by Xqt:
[pywikibot/core@master] Deprecate Family.post_get_convert and Family.pre_put_convert functions