Makes sense, just make sure the call does not  query all 270 languages at
once, but on the need to know basis.


On Thu, Feb 14, 2013 at 6:00 AM, Amir E. Aharoni <
amir.ahar...@mail.huji.ac.il> wrote:

> I prefer to make the API call and not to check by a list of languages.
>
> Several reasons:
> 1. It's more robust in general.
> 2. Wikibase extension, as well as pywikipedia, can be used on other wikis,
> too.
> 3. There are dark corners in Wikimedia wikis - non-standard codes,
> redirects, locked wikis, non-language wikis (Commons, Outreach etc.)
> It's possible that these are out of the bots' scope, but checking the
> API will still make it more robust.
>
> --
> Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
> http://aharoni.wordpress.com
> ‪“We're living in pieces,
> I want to live in peace.” – T. Moore‬
>
>
> 2013/2/14 Amir Ladsgroup <ladsgr...@gmail.com>:
> > That's a very interesting idea when i check this:
> > http://fa.wikipedia.org/w/api.php?action=query&meta=wikibase
> > we can make a call for a bot to check every wiki but for now i think
> there
> > is a very few wikis updated on wikidata so I don't think it's very good
> idea
> > right now but for the future it's the only option so I'll work on it but
> not
> > now
> >
> > Best
> >
> >
> > On Thu, Feb 14, 2013 at 9:44 AM, Yuri Astrakhan <yuriastrak...@gmail.com
> >
> > wrote:
> >>
> >> We really ought to change it to dynamic:
> >>
> >> https://en.wikipedia.org/w/api.php?action=query&meta=wikibase
> >> (thanks duh)
> >>
> >> If there is no error, wikibase is present, disable. This way no update
> to
> >> the blacklist is needed. The query should be re-issued every 30 min to
> make
> >> sure it hasn't changed.
> >>
> >> The sad part is that interwiki bot needs to be significantly reworked,
> so
> >> there is no big incentive to do any changes like this to it. It should
> be
> >> aware of wikidata, remove all data unless it is not in wikidata, etc.
> Lots
> >> of heuristical changes.
> >>
> >> On Thu, Feb 14, 2013 at 12:34 AM, Amir Ladsgroup <ladsgr...@gmail.com>
> >> wrote:
> >>>
> >>> I did this:
> >>> https://www.mediawiki.org/wiki/Special:Code/pywikipedia/11073
> >>> so updated bots are not a concern anymore :)
> >>> BTW:congrats.
> >>>
> >>>
> >>> On Thu, Feb 14, 2013 at 1:11 AM, Katie Chan <k...@ktchan.info> wrote:
> >>>>
> >>>> On 13/02/2013 21:31, Denny Vrandečić wrote:
> >>>>>
> >>>>> You have examples of that? Did not happen to my edits (so far).
> >>>>
> >>>>
> >>>> Just once so far -
> >>>> <
> https://en.wikipedia.org/w/index.php?title=Papal_conclave,_2013&diff=prev&oldid=538105382
> >
> >>>>
> >>>>
> >>>> --
> >>>> Experience is a good school but the fees are high.
> >>>>     - Heinrich Heine
> >>>>
> >>>> _______________________________________________
> >>>> Wikidata-l mailing list
> >>>> Wikidata-l@lists.wikimedia.org
> >>>> https://lists.wikimedia.org/mailman/listinfo/wikidata-l
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Amir
> >>>
> >>>
> >>> _______________________________________________
> >>> Wikidata-l mailing list
> >>> Wikidata-l@lists.wikimedia.org
> >>> https://lists.wikimedia.org/mailman/listinfo/wikidata-l
> >>>
> >>
> >>
> >> _______________________________________________
> >> Wikidata-l mailing list
> >> Wikidata-l@lists.wikimedia.org
> >> https://lists.wikimedia.org/mailman/listinfo/wikidata-l
> >>
> >
> >
> >
> > --
> > Amir
> >
> >
> > _______________________________________________
> > Wikidata-l mailing list
> > Wikidata-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikidata-l
> >
>
> _______________________________________________
> Wikidata-l mailing list
> Wikidata-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata-l
>
_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l

Reply via email to