CXuesong / WikiClientLibrary

/*🌻*/ Wiki Client Library is an asynchronous MediaWiki API client library targeting modern .NET platforms
https://github.com/CXuesong/WikiClientLibrary/wiki
Apache License 2.0
82 stars 16 forks source link

MediaWikiVersion parsing fails on Debian package version suffixes #72

Closed tigerpaw28 closed 4 years ago

tigerpaw28 commented 4 years ago

The parsing functionality of MediaWikiVersion does not handle version numbers produced by Debian package installations of MediaWiki. TFWiki.net (https://tfwiki.net/wiki/Special:Version) has a version number of 1.19.5-1+deb7u1, but the +deb7u1 portion does not match up to any of the existing dev channel suffixes.

CXuesong commented 4 years ago

Not sure what the behavior is, if you are using PyWikiBot.

Nonetheless, I'm allowing truncating version suffix for SiteInfo.Version parsing.

CXuesong commented 4 years ago

Released v0.7.2. You should be able to update your NuGet package as soon as it gets propagated.

tigerpaw28 commented 4 years ago

Excellent. Updated to v0.7.2 and the version parsing is working. Thanks for the quick response and fix!

CXuesong commented 4 years ago

You're welcome. Happy editing!