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
80 stars 16 forks source link

FileusageGenerator #87

Closed User123698745 closed 3 years ago

User123698745 commented 3 years ago

TranscludedInGenerator can not be used for files.

This PR adds FileusageGenerator (API docs) which is basically the same as the TranscludedInGenerator (API docs) just for files.

Note: The API endpoint is called "Imageusage", but it works with any file (see test case).

CXuesong commented 3 years ago

@User123698745 just for confirmation, I'm going to merge without squashing, so your 3 commits in this PR will present in the master branch history. Please raise up if there is any problem for you (such as you are not using the GitHub associated e-mail address to make the commits).

User123698745 commented 3 years ago

no problems. you can merge it