AtharvaKathe created this task. AtharvaKathe added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION parse_start() currently interprets strings >= 8 characters as timestamps and strings < 8 characters as numeric totals. This behaviour is correct but not clearly validated. Current behaviour: - Short values (<8 chars): always converted using int(start) - Non-numeric short values raise raw ValueError - Error messages shown are unclear - Deprecation warning for totals is correct and must remain unchanged Expected behaviour: - >=8 chars → treat as timestamp - <8 chars → treat as numeric total (deprecated) - Non-numeric short strings → clear user-facing error - Leave deprecation warning untouched This patch validates short values while preserving all existing expected behaviour in LogeventsPageGenerator. TASK DETAIL https://phabricator.wikimedia.org/T415371 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
