CXuesong / WikiClientLibrary

/*🌻*/ Wiki Client Library is an asynchronous MediaWiki API client library targeting modern .NET platforms
https://github.com/CXuesong/WikiClientLibrary/wiki
Apache License 2.0
82 stars 16 forks source link

SiteInfo.MagicWords is not filled by anything #89

Closed stjohann closed 2 years ago

stjohann commented 3 years ago

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.)

CXuesong commented 2 years ago

Released in v0.8.0-int.5.