Hi MediaWiki people,I made an iPhone game called "3 Degrees of Wikipedia". It was just release 2 days ago and got pretty good reviews so far (#1 trivia & educational game in the App Store Canada, top 5 in US).Check it out. I think it could be interesting to a knowledge hungry person like you. If you are in US, feel free to email me for a promo code.http://www.threewiki.comCheers,Ivan
Hi everyone,
I plan to be making a fair number of read access calls to the Wikipedia
API over the next several months and would like to know what the best
practices for efficient, fast access that doesn't hog resources. I've
found that having a single thread that makes a call and waits for a
response before making the next call has been extremely reliable (much
more so
than basically any other web API I've used before). What I'd like to
do make my application multithreaded for reading from the Wikipedia and
make simultaneous calls to the Wikipedia (since the speed of my
application is limited by the rate at which I can read from the Wikipedia.)
I have the following questions:
1) What limits should I observe in terms of number of calls I make per
second and how many calls I should have going simultaneously?
2) How would I know when I'm accessing the API too quickly or too
often? I read at http://www.mediawiki.org/wiki/API:Errors_and_warnings
that there is ratelimited error message, but so far, I've not seen that
error myself. If I don't get a ratelimited error, does that mean I'm
doing ok with respect to being a good API citizen.
3) Even if I am requiring read access, should I identify myself
explicitly to the API by logging in for the read access -- so that I can
be contacted should there be a problem?
4) Does it make sense to try to obtain bot privileges (even for read
only access)? My understanding is that bots get access to larger
payload in some API calls.
Note: since I'm looking at recent changes to the Wikipedia, downloading
a data dump of the Wikipeida to work on doesn't help me.
Thanks,
-Raymond Yee
(User:RaymondYee)
Hello,
Is there some issue going on with the search API. The returned results
appear to be a bit off.
For example
http://www.mediawiki.org/w/api.php?action=query&list=search&srsearch=Country
returns
<?xml version="1.0"?>
<api>
<query>
<searchinfo totalhits="10" suggestion="Count" />
<search>
<p ns="0" title="*Wikidata*" snippet="A data-numbers table: page_id
revision_id name value - 301 2044 <span
class='searchmatch'>country</span>_population
80000000 301 2040 <span
class='searchmatch'>country</span>_population
75000000 <b>...</b> " size="13242" wordcount="1760"
timestamp="2010-08-15T13:43:24Z" />
<p ns="0" title="*Hit stats aggregation*" snippet="Page views : geoip
lookup (<span class='searchmatch'>country</span>
or city-resolution?) Image views : What's available from each
hit: image name. thumbnail pixel width <b>...</b> "
size="2161" wordcount="311" timestamp="2010-01-03T08:04:51Z" />
<p ns="0" title="<?xml version="1.0"?>
<api>
<query>
<searchinfo totalhits="10" suggestion="Count" />
<search>
<p ns="0" title="*Wikidata*" snippet="A data-numbers table: page_id
revision_id name value - 301 2044 <span
class='searchmatch'>country</span>_population
80000000 301 2040 <span
class='searchmatch'>country</span>_population
75000000 <b>...</b> " size="13242" wordcount="1760"
timestamp="2010-08-15T13:43:24Z" />
<p ns="0" title="*Hit stats aggregation*" snippet="Page views : geoip
lookup (<span class='searchmatch'>country</span>
or city-resolution?) Image views : What's available from each
hit: image name. thumbnail pixel width <b>...</b> "
size="2161" wordcount="311" timestamp="2010-01-03T08:04:51Z" />
<p ns="0" title="*WMDE contract offers*" snippet="Your real name and
<span class='searchmatch'>country</span> of
residence. How you plan to go about implementing the desired function.
Any experience working with MediaWiki <b>...</b> "
size="1483" wordcount="206" timestamp="2010-04-09T18:31:35Z" />
<p ns="0" title="*Sites using MediaWiki/en*" snippet="com : The
Unofficial ASEAN Tourism Encyclopedia, the reference guide to 10
Southeast Asian <span
class='searchmatch'>Countries</span>. Asian Business
Round Table - http:// <b>...</b> " size="138820"
wordcount="19314" timestamp="2010-10-30T19:15:23Z" />
<p ns="0" title="Namespace manager" snippet="In the context of Wikidata,
they are intended to segregate different types of structured content,
such as person data, <span
class='searchmatch'>country</span> information
<b>...</b> " size="11305" wordcount="1693"
timestamp="2010-10-26T05:31:01Z" />
<p ns="0" title="InstantCommons" snippet="It does not permit offline
viewing, which is crucial in <span
class='searchmatch'>countries</span> which have only
intermittent network access. InstantCommons seeks to
<b>...</b> " size="6505" wordcount="985"
timestamp="2010-09-22T08:38:28Z" />
<p ns="0" title="List of extensions to be merged to the core"
snippet="There are laws in some <span
class='searchmatch'>countries</span> forbidding
logging of IPs, etc. So it should be disabled by default. Soxred93
00:35, 26 January 2009 <b>...</b> " size="8676"
wordcount="857" timestamp="2010-09-22T12:42:56Z" />
<p ns="0" title="Summer of Code 2009" snippet="Bot for automation
interwikis adding for categories by <span
class='searchmatch'>countries</span>, albums by
artist, interwikis for categories based on interwikis for
<b>...</b> " size="12337" wordcount="1677"
timestamp="2010-03-12T12:14:19Z" />
<p ns="0" title="Sites using MediaWiki/corporate" snippet="With more
than 50,000 customers in 43 <span
class='searchmatch'>countries</span>, Novell helps
customers manage, simplify, secure and integrate their technology
<b>...</b> " size="23008" wordcount="3174"
timestamp="2010-10-21T16:40:06Z" />
</search>
</query>
</api>" snippet="Your real name and <span
class='searchmatch'>country</span> of residence. How
you plan to go about implementing the desired function. Any experience
working with MediaWiki <b>...</b> " size="1483"
wordcount="206" timestamp="2010-04-09T18:31:35Z" />
<p ns="0" title="Sites using MediaWiki/en" snippet="com : The Unofficial
ASEAN Tourism Encyclopedia, the reference guide to 10 Southeast Asian
<span class='searchmatch'>Countries</span>. Asian
Business Round Table - http:// <b>...</b> " size="138820"
wordcount="19314" timestamp="2010-10-30T19:15:23Z" />
<p ns="0" title="Namespace manager" snippet="In the context of Wikidata,
they are intended to segregate different types of structured content,
such as person data, <span
class='searchmatch'>country</span> information
<b>...</b> " size="11305" wordcount="1693"
timestamp="2010-10-26T05:31:01Z" />
<p ns="0" title="InstantCommons" snippet="It does not permit offline
viewing, which is crucial in <span
class='searchmatch'>countries</span> which have only
intermittent network access. InstantCommons seeks to
<b>...</b> " size="6505" wordcount="985"
timestamp="2010-09-22T08:38:28Z" />
<p ns="0" title="List of extensions to be merged to the core"
snippet="There are laws in some <span
class='searchmatch'>countries</span> forbidding
logging of IPs, etc. So it should be disabled by default. Soxred93
00:35, 26 January 2009 <b>...</b> " size="8676"
wordcount="857" timestamp="2010-09-22T12:42:56Z" />
<p ns="0" title="Summer of Code 2009" snippet="Bot for automation
interwikis adding for categories by <span
class='searchmatch'>countries</span>, albums by
artist, interwikis for categories based on interwikis for
<b>...</b> " size="12337" wordcount="1677"
timestamp="2010-03-12T12:14:19Z" />
<p ns="0" title="Sites using MediaWiki/corporate" snippet="With more
than 50,000 customers in 43 <span
class='searchmatch'>countries</span>, Novell helps
customers manage, simplify, secure and integrate their technology
<b>...</b> " size="23008" wordcount="3174"
timestamp="2010-10-21T16:40:06Z" />
</search>
</query>
</api>
Thanks
Prateek
--
*Prateek Jain*
*PhD Student, Research Assistant*
*Kno.e.sis Center, Wright State University*
*Dayton,OH 45435*
*Web: http://wiki.knoesis.org/index.php/Prateek*
*Email: prateek(a)knoesis.org*
*Phone: (770) 406-6356*
Hi,
I know how to retrieve a list of all external links from a wiki-page.
However, I'm looking for a way to retrieve all external links which are
listed under "External Links".
For instance, I would like to fetch all "External Links" links from
http://en.wikipedia.org/wiki/PHP - which would be a list of 6 items
("Official website", "PHP", "Open Directory Project", ...)
Thanks for your kind help
Christian