XZise added a comment.
One long term solution would be to deprecate the `title()` usage and add a `page()` method. Then with pywikibot 3 (currently we are working towards pywikibot 2) repurpose the `title()` method returning a string. To aid scripts in transition we could add a parameter like `title(_no_parse=False)` which must be explicitly set to True and it then already returns a string. In this case emit no deprecation warning yet but as soon as `title()` returns a string nevertheless.
TASK DETAIL https://phabricator.wikimedia.org/T78125
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: Aklapper, Daviskr, XZise, jayvdb, pywikipedia-bugs