-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Add history for pages too #82
Comments
The main reason why file history was easy to add in WikiFile is that it required just a few additional parameters to the existing prop=imageinfo API call, and the results fit within the same WikiFile model. With page revisions, although I haven't studied it in detail yet, the rvprop= API call supports its own myriad of parameters. It would take a good look at which ones fit into the WikiPage model (e.g. rvdir doesn't, I think). I may be able to look into this further when I have time and inspiration, but since I don't need this feature myself, I won't make any promises. 😉 |
Some time ago I came across a (non-forked) repo using Wikimate that contains a WikiRevisions module that may serve your needs. Looking into revisions support is in the roadmap (#104) past the v1.0 release. |
Thanks @Xymph ! |
You're welcome. But I prefer to keep this open as incentive to add revision support within the Wikimate library itself. |
I can get at the revision data for a page by doing a custom query, which is fine, but it would be very helpful to add history data to the WikiPage class so it is easily accessible, similar to what is being done with files in the WikiFile class.
I can currently access history information for a page by doing a custom query, but if the history data can optionally be collected as part of of the
getPage
functionality, that would reduce the number of API calls needed if someone actually needs to collect revision data on a large number of records.The text was updated successfully, but these errors were encountered: