/*🌻*/ Wiki Client Library is a portable & asynchronous MediaWiki API client library on .NET Standard.
FilesGenerator
(#101 by @ashotjanibekyan)MyWatchlistGenerator
(#102 by @ashotjanibekyan)PagesWithPropGenerator
(#103 by @ashotjanibekyan)WikiPage.EditAsync
/EditSectionAsync
/AddSectionAsync
for Wiki page editing with more control (#99)
WikiPage.Content
in favor of WikiPage.EditAsync
.Full Changelog: https://github.com/CXuesong/WikiClientLibrary/compare/v0.8.0-int.7...v0.8.0-int.8
token
parameter in ScribuntoConsole.InvokeApiAsync
calls since MW 1.40.0-wmf.5 (wikimedia/mediawiki-extensions-Scribunto@0f2585244cbdc22580cc431745328a8f1fb270bd). (6c2e2c0639ae52faa6f8e780e6f9796eaa14ce42)WbTime.FromDateTime/FromDateTimeOffset
incorrectly loads the DateTime(Offset) components. (#98)QueryPageGenerator.EnumItemsAsync
haven't ever been working before. (#92)
QueryPageGenerator
now yields a sequence of QueryPageResultItem
instead of WikiPageStub
.FileUsageGenerator
. (#87 thanks to @User123698745)RefreshAsync(PageQueryOptions.FetchContent)
does not fetch page content (#85)CXuesong.AsyncEnumerableExtensions
since we have native async iterator function (async stream) support now.WikiPageStub
. You can now implicitly convert WikiPage
instance, page title (string
) or page ID (int
) into WikiPageStub
WikiPagePropertyList
and its dervied classes accept WikiPageStub
instead of page title and page ID. You can leverage the implicit conversion above to pass in the page information.WikiSite.SearchApiEndpointAsync
is now cancellable.UploadResult.StashErrors
property. (MW 1.29+)WikiPage.CreateCategoriesGenerator
extension method.MediaWikiVersion.{In, Above}
methods for comparing version without instantiating one.MediaWikiVersion
. All the version segments should be of short
type.EntityQueryOptions.SupressRedirects
--> EntityQueryOptions.SuppressRedirects
token
parameter in WikiSite.LogoutAsync
on earlier MW versions since security fix of phab:T25227 has been back-ported to
PatrolAsync
can refresh CSRF token automatically if the cached token is invalid.CargoRecordQueryable
.This package will not receive any feature updates.
Entity.IdFromSiteLinkAsync
to retrieve a single Wikibase entity ID from site link.For migrated FANDOM sites MW 1.33+ (See UCP migration post), you need to use Bot Password in order to login successfully.
Some of the Wikia API v1 is not working on UCP. We are still waiting for UCP migration to complete before we can start on revamp these APIs in WCL.
WikiaSite.LogoutAsync
: For migrated FANDOM sites (on MW 1.33+), action=logout
is now available now and we won't use the mitigation as described in #40This version of WCL release is intended to be the last version that targets .NET Standard 2.0 or below. That is, .NET Framework, .NET Core 2.1 or below are no longer supported since v0.8.x. (#82)
OperationFailedException
now also includes customized error message from MediaWiki site. (e.g. the details of wikibase-api-permissiondenied
error).This is a new library for querying tables on MediaWiki sites with Cargo extension. (#77) This library also provides LINQ to Cargo support!
CargoTests
in UnitTestProject1
or \Samples\LinqToCargo.csproj
to check it out!There is no update in this release. This library will not receive feature updates in the near future as the development of StructuredDiscussion is stalled:
The StructuredDiscussions extension was developed by the Collaboration team at the Wikimedia Foundation. It is still being maintained to fix bugs, but no substantial development on the extension has been done since 2015, other than a rename to "StructuredDiscussions" in September 2017. Development may possibly start again in the future.
There is no update in this release.
WbQuantity.ToString
throws InvalidOperationException
when WbQuantity.Unit
is unity (1
).