Hi, I wanted to call attention on this list to a small change  in
the api that we just released as part of a security update . We
previously had not set X-Frame-Option headers on the result of api
queries. This could leave a site open to a variety of UI redressing
attacks, so the WMF sites now set the X-Frame-Option: header to 'DENY'
on API results. This will also be the default configuration for new
If you need to show the result of an API query in an iframe, you can
set the $wgApiFrameOptions = false to disable the header. However, I
would encourage everyone to keep the header, as it will help prevent
this type of attack.
 - https://bugzilla.wikimedia.org/show_bug.cgi?id=39180
 - http://lists.wikimedia.org/pipermail/mediawiki-announce/2012-August/000119.…
I am new to wikipedia API.
can you help me with the following:
I want to grep all the content of the "united states of america" to a text file with out images.
I am looking a response in text format.
How can I do that?
looking for: http://en.wikipedia.org/wiki/United_States page contents.
I got this url constructed:
But I am not getting what I want ..:(.may be I am missing some thing basic
I did based on http://en.wikipedia.org/w/api.php..
1.how can I get the content of what ever string I give in the query?
please help me with the url.
2. I am trying to have this in a text file. can I get the response in the text format? other than xml and json?
3. In the unites_states example, I want to get the first coulm of the citys (
Leading population centers
how can I get that .
I understand how to submit API requests, but I want to be able to make the
following tweaks to the returned results:
* delete images & captions from returned pages?
* delete warning notices?
* delete  text
*The very best place for news about Nimble: *http://www.quora.com/ncp
If I'm reading http://www.mediawiki.org/wiki/API:E-mail correctly,
there appear to be no (technical) restrictions preventing anybody
capable of creating a MediaWiki account from spamming every user with
a registered mailing address. Please tell me I'm wrong, and I'm not
going to wake up some day to an avalanche of Wikipedia e-mail about
Viagra and penis extensions in my inbox?
I'm asking because I'm about to add an email operation to my
MediaWiki::Gateway Ruby gem, and would prefer that this not be used
The behavior of the ignorewarnings parameter in action=upload was
changed  recently. The ignorewarnings parameter causes an upload to
go through even if there were (non-fatal) warnings. Previously, it
also removed the warnings from the API output, but with Mark's recent
change, these warnings will now be shown. Clients that check for
"Success" or "Warning" shouldn't break, but clients that only check
for the <warnings> element to see if an upload failed may start
This change will be part of the 1.20wmf9 deployment, which will go
live on WMF wikis in stages between August 6 and August 13 .
Mediawiki-api-announce mailing list