Releases: CXuesong/WikiClientLibrary
v0.6.4
- Added
Target
,TargetUrl
andDisplayText
properties toWikiLink
.- See library reference for more information.
v0.6.3
v0.6.2
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
inLogEventItem.ToString
caused byLogEventItem.Params == null
. - Make
LogParameterCollection.SuppressRedirect
compatible with MW 1.19.- Older version of MediaWiki uses
suppressedredirect
rather thansuppressredirect
for property name.
- Older version of MediaWiki uses
v0.6.1
WCL
- Added
RandomPageGenerator
(mw:API:Random) (#43 by @aquilla12 ) - Make
IncludesInterwiki
andBackendName
properties effective inSearchGenerator
. They used to be neglected when executing MW API requests.
v0.6.0
-
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 bySiteVariableData.CacheBuster
. (#39) -
Fixed
WikiClientLibrary.InvalidActionException
caused by the absence ofaction=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 inBoard.EnumTopicsAsync
.
v0.6-intX7a
v0.6-intX7
- 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 ofdynamic
for RecentChangeItem.LogParams .- You can access
LogParams
in a more convenient way.
- You can access
- Added
LogEventsList
. You may query for MW log events now. - Moved
FileRevision
& upload-related classes fromPages
toFiles
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 editingEntitySiteLink
.
v0.6-intX6
Wikibase
SerializableEntity.Load
should returnnull
for EOF.SerializableEntity.ToContract
should include claims.- Added
SerializableEntity.LoadAll
/ParseAll
methods.
v0.6-intX5
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
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 typeJObject
instead ofJToken
.- Added handy constructors for
Claim
,Snak
. Added handly factory overloads forWbTime
. - Replaced
WbUri
withSystem.Uri
.- To reduce memory consumption, use
WikibaseUriFactory
for cachingUri
instances.
- To reduce memory consumption, use
- Added some well-konwn URIs, including
WbTime.JulianCalendar
,
WbTime.GregorianCalendar
, andWbQuantity.Unity
. Entity.EditAsync
supports progressive edits. It can break down the sequence ofEntityEditEntry
and perform the edits incrementally. In this mode, more detailed edit summary can be left in the revision history.