Skip to content

Releases: CXuesong/WikiClientLibrary

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.

v0.6-intX4

14 Dec 17:29
Compare
Choose a tag to compare
v0.6-intX4 Pre-release
Pre-release

WCL

  • When composing the request arguments, WCL now supports using pipe character "|" to concatenate the values, if possible, and use alternative multiple-value separator ("\u001F") for values that has pipe character in the string. (400ac35)

Wikibase

  • Snak.RawDataValue is now of type JObject instead of JToken.
  • Added handy constructors for Claim, Snak. Added handly factory overloads for WbTime.
  • Replaced WbUri with System.Uri.
    • To reduce memory consumption, use WikibaseUriFactory for caching Uri instances.
  • Added some well-konwn URIs, including WbTime.JulianCalendar,
    WbTime.GregorianCalendar, and WbQuantity.Unity.
  • Entity.EditAsync supports progressive edits. It can break down the sequence of EntityEditEntry and perform the edits incrementally. In this mode, more detailed edit summary can be left in the revision history.