Repository navigation
v0.9.0-int.2
Pre-release
Pre-release
WCL package
New features
- Added
PageHelperclass andWikiClientHelperclass to provide some opinionated but could-be-useful methods for- stripping the bracketed part from disambiguation page titles
- computing SHA-1 hash from a string containing the page content, with limited local page content normalization support.
- generating
User-Agentheader with reflection information from the providedAssemblyobject.
These utilities are migrated from the old NuGet package named CXuesong.MW.WikiClientLibrary.Bots.
API changes
- Pushed down
AccountInfo.Block*properties into a stand-aloneAccountBlockInfoobject stored inAccountInfo.BlockInfoproperty.- Also added the rest of properties for the block detail, including
AccountBlockInfo.BlockComponentsfor composite blocks. - Breaking change: Removed the old
AccountInfo.Block*properties in this version.
- Also added the rest of properties for the block detail, including
- Preset
AutomaticDecompressionof the defaultHttpClientHandlerused inWikiClientclass toAll. This will enable Brotli compression support when sending MW API requests.
Bug fixes
MediaWikiHelper.JoinValues<T>has not been correctly switching delimiter to\u001F, when there are one or more items containing pipe character (|).