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

[wikia_census] Date of creation of a wiki could be gathered using the MediaWiki API #6

Open
Akronix opened this issue Nov 5, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@Akronix
Copy link
Collaborator

Akronix commented Nov 5, 2018

Instead of scrapping the Main_Page page, we could use this MediaWiki endpoint:
/api.php?action=query&prop=info&titles=Main%20Page&inprop=created
For instance: https://gardening.wikia.com/api.php?action=query&prop=info&titles=Main%20Page&inprop=created
Which retrieves the date of creation for the page called "Main Page".
This also would help for retrieving the date of creation of wikis using no-Gregorian calendars.

@Akronix Akronix added the enhancement New feature or request label Nov 5, 2018
@Akronix Akronix changed the title Date of creation of a wiki could be gathered using the MediaWiki API [wikia_census] Date of creation of a wiki could be gathered using the MediaWiki API Nov 5, 2018
@Akronix
Copy link
Collaborator Author

Akronix commented Nov 6, 2018

Actually, we can even use de Wikia API to get the date of creation: http://www.wikia.com/api/v1/#!/Wikis/getByStringExpanded_get_1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant