XZise added a subscriber: XZise. XZise added a comment.
But when it generates the user agent string in core it doesn't fetch the version of pwb. So it seems unrelated to the user agent string.
Anyway we could use some classes or so which have a __str__ and lazy load the version number. So if there is no {version} in the string str.format won't do str(…) on that (hopefully). I'll test that.
TASK DETAIL https://phabricator.wikimedia.org/T98107
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: XZise, jayvdb, saper, Aklapper, pywikipedia-bugs