Page MenuHomePhabricator

Deprecate Family.post_get_convert and Family.pre_put_convert functions
Closed, ResolvedPublic

Description

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.

Event Timeline

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

https://gerrit.wikimedia.org/r/1307603

Xqt claimed this task.

Change #1307603 merged by Xqt:

[pywikibot/core@master] Deprecate Family.post_get_convert and Family.pre_put_convert functions

https://gerrit.wikimedia.org/r/1307603