CXuesong/WikiClientLibrary

SiteInfo.MagicWords is not filled by anything

stjohann opened this issue · 1 comments

While SiteInfo.MagicWords is present and public, it never gets filled by anything since standard API requests from the library do not contain magicwords property in their response. It should be marked as private if this is intended, or fixed (by adding |magicwords to request) if it was not.

Example:
https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|interwikimap|extensions

(In general, it would have been better to be able to pick and choose these properties yourself, but I think I’ll eventually have to move away from standard SiteInfo, so not a huge deal.)

Released in v0.8.0-int.5.