XZise created this task.
XZise added a subscriber: XZise.
XZise added a project: pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  One change in 0f1c5461 shows that there might be a problem when accessing 
general properties as though they were actually `siprop`s. For example 
`site.siteinfo['generator']` is actually doing 
`site.siteinfo['general']['generator']`. But only if the //general// siteinfo 
has a //generator// entry. Otherwise it assumes it's a `siprop` and that will 
fail.
  
  At the moment it doesn't provide any fallback and scripts need to handle this 
manually. There is already support for providing fallback values on `siprop`s 
but I'm not sure if we can easily adapted to values of //general//.

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

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

To: XZise
Cc: Aklapper, pywikibot-bugs-list, XZise, jayvdb, Malyacko



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to