Skip to content

Releases: CXuesong/WikiClientLibrary

v0.6.5

21 Nov 15:24
Compare
Choose a tag to compare
  • Removed WikiClient.Referer property as it is not actually used in the library.
  • Removed [Obsolete] APIs.
  • Use InvariantCulture for stringify page IDs, as well as gscoord in GeoSearchGenerator. (#46)
  • Now MediaWikiHelper.ParseJsonAsync throws UnexpectedDataException when it cannot parse the Stream as JSON. (600d62a)
    • Added a link for troubleshooting in the Exception message when receives HTML content.
  • Typo fix. Renamed WikiaJsonResonseParser to WikiaJsonResponseParser.

v0.6.4

30 Aug 16:23
Compare
Choose a tag to compare
  • Added Target, TargetUrl and DisplayText properties to WikiLink.

v0.6.3

28 Aug 15:45
Compare
Choose a tag to compare
  • Make InterwikiMap more resilient to conflicting interwiki prefixes, such as duplicate interwiki prefixes in the interwiki map returned by the MediaWiki server. ArgumentException caused by duplicate dictionary keys used to be thrown in this case.

v0.6.2

15 Aug 15:22
Compare
Choose a tag to compare

With the help of SourceLink, now may debug into the source code of WCL from your application in VS 2017. If you meet any problem debugging into WCL, please go to #41 and report it.

  • Fixed the incorrect logic in WikiReadOnlyDictionary.GetBooleanValue.
  • Fixed occasional NullReferenceException in LogEventItem.ToString caused by LogEventItem.Params == null.
  • Make LogParameterCollection.SuppressRedirect compatible with MW 1.19.
    • Older version of MediaWiki uses suppressedredirect rather than suppressredirect for property name.

v0.6.1

12 Aug 14:00
Compare
Choose a tag to compare

WCL

  • Added RandomPageGenerator (mw:API:Random) (#43 by @aquilla12 )
  • Make IncludesInterwiki and BackendName properties effective in SearchGenerator. They used to be neglected when executing MW API requests.

v0.6.0

30 Jul 08:07
Compare
Choose a tag to compare
  • Introduced SourceLink support. Ideally, you may debug into the source code of WCL from your application in VS. If you meet any problem debugging into WCL, please go to #41 and report it.

  • An HTML help document has been attached in this release (WikiClientLibrary-0.6.0.chm); check it out!

Wikia

  • Fixed Int32OverflowExeption caused by SiteVariableData.CacheBuster. (#39)

  • Fixed WikiClientLibrary.InvalidActionException caused by the absence of action=logout in MW API of recent Wikia builds. (#40)

    there is no escape

    ”That's outrageous.“
    — Otulissa

Flow

  • Fixed ArgumentException for Flow boards without pagination in Board.EnumTopicsAsync.

v0.6-intX7a

13 Mar 09:21
Compare
Choose a tag to compare
v0.6-intX7a Pre-release
Pre-release
  • Now MakeAbsoluteProtocol accepts "https" instead of "https:". (#36) Fixed #37.

v0.6-intX7

07 Mar 12:57
Compare
Choose a tag to compare
v0.6-intX7 Pre-release
Pre-release
  • Removed members that have been marked with [Obsolete].
  • Multi-targeted WikiClientLibrary package to .NET Standard 1.1/2.0. This can eliminate the dependency to System.Reflection.Emit since .NET Standard 2.0.

WCL

  • Added predefined LogTypes & LogActions.
  • Use WikiReadOnlyDictionary instead of dynamic for RecentChangeItem.LogParams .
    • You can access LogParams in a more convenient way.
  • Added LogEventsList. You may query for MW log events now.
  • Moved FileRevision & upload-related classes from Pages to Files namespace.
  • Add ParsingOptions.DisableEditSection & ParsingOptions.DisableTidy. You can parse wikitext without generating TOC nor "Edit section" links now.

Wikibase

  • Added Entity.IdsFromSiteLinksAsync to query for entity IDs from sitelinks.
  • Fixed InvalidCastException when progressive editing EntitySiteLink.

v0.6-intX6

13 Jan 17:08
Compare
Choose a tag to compare
v0.6-intX6 Pre-release
Pre-release

Wikibase

  • SerializableEntity.Load should return null for EOF.
  • SerializableEntity.ToContract should include claims.
  • Added SerializableEntity.LoadAll/ParseAll methods.

v0.6-intX5

27 Dec 14:56
Compare
Choose a tag to compare
v0.6-intX5 Pre-release
Pre-release

WCL

The JsonSerializer returned by MediaWikiHelper.CreateWikiJsonSerializer now supports serializing the POCO classes into (as well as de-serializing from) well-formed JSON.

Wikibase

  • Removed superfluous id parameter in wbsetclaim. This used to cause MW API warnings.
  • Introduced SerializableEntity. Now you can work with Wikibase JSON dump offline more easily with this class.