Xqt created this task.
Xqt added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Currently, the Siteinfo class uses formatversion=1.
  This causes several issues:
  
  - Boolean fields are returned as empty strings ("") or is missing instead of 
proper Booleans.
  - Nested structures (namespaces, magicwords) need manual post-processing.
  - `'*'` fields
  
  The goal of this task is to migrate Siteinfo to formatversion=2 so that:
  
  - All boolean values are returned by the API as True/False.
  - _post_process fixes structure, no longer converts booleans.
  - A backwards-compatible variant (`siteinfo`) remains for old scripts.
  - A new `site_info` property provides raw formatversion=2 data

TASK DETAIL
  https://phabricator.wikimedia.org/T404301

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to