Hi,
I am a new user to the Wikipedia API, and I have a few questions:
1) How do I return the results for a specific query?
2) Once I did that, how do I get to the content of the value's
Wikipedia page? (for example: http://en.wikipedia.org/wiki/Washington)
I have tried to look for this info in the
http://he.wikisource.org/w/api.php page, but it was so big that I kept
getting lost there and never found what I was looking for.
I'd greatly appreciate your help..
Thanks,
Nadav.
Nadav Rosenfeld | R&D Team| Unisurf - Mobile Internet Company|
|T 972 (0)73-2287814| M 972 (0)52 3965064| nadav(a)unisurf.co.il
<mailto:nadav@unisurf.co.il> |www.unisurf.co.il
<http://www.unisurf.co.il/> |
Could we add in an action get message to the api or add some
functionality to meta=allmessages ?
Really need to be able to:
A) send in parameterized replace values per msg key
B) get the html rendered / parsed result (rather than the wikitext)
Security wise the parameterized replace values should be treated as
wikitext and go through the wiki-text-parser before rendered back out to
the browser.
Otherwise we have to do quite a few calls to generate a msg text that
has a parametrized wiki-text-value.
--michael
Just a quick note that I released mwclient 0.6.2. This version
incorporates a lot of fixes from the last year, as I have not had time
for earlier intermediate releases. Users are recommended to upgrade to
the latest version, especially if they use the library for uploading
images.
Mwclient is a Python library that allows easy access to the MediaWiki
API and should be more or less usable on MediaWiki 1.11 or higher and
should graciously fallback when the write api is disbled.
See <https://apps.sourceforge.net/mediawiki/mwclient/> for download links.
Bryan