Have you ever searched for anniversaries to put on the main page of Wikipedia? Or do you know users who deal with this?
I had a dream to find possible anniversaries with bot and this weekend I did it. The bot goes through articles and collects data in connection with the given date. In huwiki editors began to use it in the first minutes. :-)
It is hard to write it generally in a form suitable for all Wikipedias, so I choosed to make localization easy with code and description. Bot v0.8: https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/anniversary.py Documentation: https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/anniversary.py/doc Sample product: https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/%C3%89vfordul%C3%B3pr%C...
It is not ready as the date must still be set in code (main()), but it works and I am working on it further.
Hoi, Does it allow for an update in Wikidata? Thanks, Gerard
On 12 January 2014 18:25, Bináris wikiposta@gmail.com wrote:
Have you ever searched for anniversaries to put on the main page of Wikipedia? Or do you know users who deal with this?
I had a dream to find possible anniversaries with bot and this weekend I did it. The bot goes through articles and collects data in connection with the given date. In huwiki editors began to use it in the first minutes. :-)
It is hard to write it generally in a form suitable for all Wikipedias, so I choosed to make localization easy with code and description. Bot v0.8: https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/anniversary.py Documentation: https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/anniversary.py/doc Sample product: https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/%C3%89vfordul%C3%B3pr%C...
It is not ready as the date must still be set in code (main()), but it works and I am working on it further.
-- Bináris
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
2014/1/12 Gerard Meijssen gerard.meijssen@gmail.com
Hoi, Does it allow for an update in Wikidata?
It just collects data from a Wikipedia and writes them on a given page. I am afraid I am too sleepy to understand your question.
Hoi, When you are able to identify dates of birth / dates of death from WIkipedias, you can update Wikidata wherever there is no dob dod. When all these statements are made, it will be possible to find more people who died or were born on the same date. Thanks, GerardM
On 12 January 2014 19:57, Bináris wikiposta@gmail.com wrote:
2014/1/12 Gerard Meijssen gerard.meijssen@gmail.com
Hoi, Does it allow for an update in Wikidata?
It just collects data from a Wikipedia and writes them on a given page. I am afraid I am too sleepy to understand your question.
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
2014/1/12 Gerard Meijssen gerard.meijssen@gmail.com
Hoi, When you are able to identify dates of birth / dates of death from WIkipedias, you can update Wikidata wherever there is no dob dod. When all these statements are made, it will be possible to find more people who died or were born on the same date.
Oh, I see. Currently the bot is not able to correctly recognize births and deaths. Rather, it copies a small environment of the original text in a human readable format so that editors can evaluate it.
If we suppose that in a given wiki all the plenty of infobox templates use the same parameter name for birth date, the bot may be tought to recognize it from infoboxes. Then wi still have the question of reliability.
Bináris
Hoi, When we have no data at all, we have a 100% failure rate. When we import data from Wikipedia we improve on that. When we copy by hand there is an additional failure rate because people make mistakes.
Given the ever increasing number of external sources that are referenced to from many items (often these references are the only statements), it should be not that hard to create bots that compare "our" data with "their" data. The discrepancies found indicate that their is a reason for attention. When there is no discrepancy it can still be wrong..
My point is obvious; adding data to the best of our abilities is to be preferred over no data at all. Thanks, GerardM
On 12 January 2014 20:39, Bináris wikiposta@gmail.com wrote:
2014/1/12 Gerard Meijssen gerard.meijssen@gmail.com
Hoi, When you are able to identify dates of birth / dates of death from WIkipedias, you can update Wikidata wherever there is no dob dod. When all these statements are made, it will be possible to find more people who died or were born on the same date.
Oh, I see. Currently the bot is not able to correctly recognize births and deaths. Rather, it copies a small environment of the original text in a human readable format so that editors can evaluate it.
If we suppose that in a given wiki all the plenty of infobox templates use the same parameter name for birth date, the bot may be tought to recognize it from infoboxes. Then wi still have the question of reliability.
Bináris
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Upgraded to v1.0. New features: Supports "all year" lookups besides round anniversaries. Has some sample wrappers and commandline parameters. Default behaviour changed: existing target pages will be skipped (primarily for sparing time, not for protecting data); overwrite must be forced. Gerard's suggestion inserted into a new "todo" section with question mark. :-) (That's what I can do for it in the moment.) Code and documentation, with detailed suggestions for localization: https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/anniversary.py A sample result: https://hu.wikipedia.org/wiki/Wikip%C3%A9dia:%C3%89vfordul%C3%B3k_kincsest%C...
Have fun!
pywikipedia-l@lists.wikimedia.org