i'm trying to run this query from my .net code and i'm getting 403 Forbidden message, this was working fro me last month i tested it.
WebClient cleint = new WebClient();
cleint.BaseAddress = "http://en.wikipedia.org/";
string url = @"w/api.php?action=query&list=categorymembers&cmtitle=Category:Physics";
string htmlCode = cleint.DownloadString(url); //This is where i get the Exception.
Any Idea Guys?
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:…
Hi, guys,
Currently, I am working on a Wiki Project, I am trying to track some wiki
users' operation, like logging, and how long they spend on the wiki by
patrolling etc.
So is there any indicator I can get these cues? I collected the
recentchanges and logevents, but I think these are not enough.
Anyone knows this?
thanks,
Marc
Hello there!
I'm a Flash Video Game Developer working on a word based game. I stumbled
across the MediaWiki API component during my research and I've been testing
it locally in the game to retrieve word definitions and displaying them in
the game for the player. In general, everything works great locally, but
there's a few odd issues that I'd like to get worked out, if possible.
I actually posted my questions on the MediaWiki forums last night, but just
realized that the API specifically requests that questions be sent to this
email address. The link below goes to my post on the forums and the
suggestions a moderator, Skizzerz, has already provided.
http://www.mwusers.com/forums/showthread.php?14641-Questions-about-the-Medi…
Any help you may be able to provide would be greatly appreciated. Thanks for
this great component. It's been fairly simple to use so far.
Aaron.
EduGameDev
As an example:
The following query:
http://en.wikipedia.org/w/api.php?action=opensearch&search=Berlin&format=xml
returns 10 results, one of them:
<Item>
<Text xml:space="preserve">Berlin S-Bahn</Text>
<Description xml:space="preserve">The Berlin S-Bahn is a rapid transit system operated by S-Bahn Berlin GmbH, a subsidiary of the Deutsche Bahn. </Description>
<Url xml:space="preserve">http://en.wikipedia.org/wiki/Berlin_S-Bahn</Url>
<Image source="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/S-Bahn-Logo.svg/50…" width="50" height="50" />
</Item>
has the aforementioned image tag.
> I'm
> guessing whatever's showing you these images is using some heuristic
> like finding the first image on the page and showing you that.
I think so as well. I can confirm though that it is not always returning the first image on a page. Furthermore there are some pages with images, that do not return image tags in the corresponding opensearch result.
I would be interested in taking a look at the code that is generating the image tags in the opensearch results, but I have absolutly no idea where I should search for the code.
Best
Mad_Chom
> 2010/4/14 Madam Chomsky <madamchomsky at yahoo.de>:
> > Hi
> > Hope I am posting to the correct list.
> >
> > I am doing an opensearch query via the api (http://en.wikipedia.org/w/api.php?action=opensearch&search=Te). Some search results come with a tiny thumbnail image link. I would like to know if the thumbnails are defined when someone is creating a wikipedia page or if there is some kind of algorithm that automatically creates these thumbnails. Would be glad about any information about this matter.
> >
> The opensearch result itself just contains page titles, no images. I'm
> guessing whatever's showing you these images is using some heuristic
> like finding the first image on the page and showing you that.
>
> Roan Kattouw (Catrope)
hello friends,
I want to parse the word definition from wikitionary. but I do not
understand which parameter will used for it. please help me about this.
-----
Regards
Saeed Ahmed
http://saeed05.wordpress.com
-----
From: Behzad Behrouzi [mailto:behzad@dotnextinc.com]
Sent: Thursday, April 15, 2010 3:37 PM
To: mediawiki-api(a)lists.wikimedia.org
Cc: roan.kattouw(a)home.nl
Subject: Call limit
Hi -
We have implemented the WikiHow data to our search results on our LeapFish
Product (www.leapfish.com) via the MediaWiki API and unfortunately we seem
to have hit the maximum call limit and/or our IP has been confused with
SPAM. I'm not sure what the call limit is or where I can go to request an
increase but is there anyway we can remove the limit or whitelist our IP?
LeapFish is a fairly high traffic site. Please advise. Thank you for the
help.
Below is a current call example:
http://www.wikihow.com/api.php?action=query
<http://www.wikihow.com/api.php?action=query&list=search&srsearch=%22+ride+a
+bike%22&sroffset=0&format=xml&srlimit=4>
&list=search&srsearch=%22+ride+a+bike%22&sroffset=0&format=xml&srlimit=4
Would it help if we passed user information? If so how we would we pass it?
My login is behzadb
The request is coming from the following IP:
208.48.87.2
Behzad B.
Regards,
________________________________
Behzad Behrouzi | Vice President, Technology
cid:image001.jpg@01C961DF.D8E99DC0
Office : 888-748-5510 Ext: 110
Mobile: 925-367-6949
Fax: 925-225-9805
Behzad(a)DotNextInc.com | www.dotnextinc.com
Confidentiality:
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
It may also be privileged or otherwise protected by work product immunity or
other legal rules. You may not copy this message or disclose its contents
to anyone. You are hereby notified that disclosing, copying or distributing
this email or the contents of this information is strictly prohibited. If
you have received this email in error please delete it immediately.
Hi
Hope I am posting to the correct list.
I am doing an opensearch query via the api (http://en.wikipedia.org/w/api.php?action=opensearch&search=Te). Some search results come with a tiny thumbnail image link. I would like to know if the thumbnails are defined when someone is creating a wikipedia page or if there is some kind of algorithm that automatically creates these thumbnails. Would be glad about any information about this matter.
Thanks,
Linnart
Hi, all,
I am now working on Wikipedia, but I met a question like this:
see an example first:
http://fr.wikipedia.org/w/api.php?action=query&prop=revisions&pageids=1377&…
Currently, in my database, there are many pages like this with
"pageid="***", missing=""/"
Does this mean that this page is deleted page? or something else?
Thanks,
Marc