Skip to content
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

Open
lriggle-strib opened this issue Feb 27, 2017 · 4 comments
Open

Feature Request: Add history for pages too #82

lriggle-strib opened this issue Feb 27, 2017 · 4 comments

Comments

@lriggle-strib
Copy link

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.

@Xymph
Copy link
Collaborator

Xymph commented Mar 12, 2017

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. 😉

@Xymph Xymph mentioned this issue Aug 23, 2021
@Xymph
Copy link
Collaborator

Xymph commented Sep 2, 2021

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.

@lriggle-strib
Copy link
Author

Thanks @Xymph !

@Xymph
Copy link
Collaborator

Xymph commented Sep 2, 2021

You're welcome. But I prefer to keep this open as incentive to add revision support within the Wikimate library itself.

@Xymph Xymph reopened this Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants