WikiProxy is great, Daniel! Thanks for making such a robust interface for accessing text :-)
I have one question: is it possible to access the data WikiProxy holds without using HTTP? (For example, using PHP's CLI SAPI or direct inclusion of the WikiProxy library). You mention that you're concerned about PHP startup times, and I guess the latter method would alleviate that to some extent.
Thanks,
Tangotango
On Jul 28, 2007, at 9:45 PM, Daniel Kinzler wrote:
Hi all
<snip />
To use WikiProxy, you can go to http://tools.wikimedia.de/~daniel/WikiSense/WikiProxy.php and fill in the form. This will only work from the toolserver, though - for access from the outside, you need an access token, available on request.
To use it programmatically, use a URL like the following:
http://tools.wikimedia.de/~daniel/WikiSense/WikiProxy.php? wiki=de.wikipedia.org&title=SomePage
additional parameters:
- rev=12345 if you want a specific revision
- ns=5 if title is an un-prefixed page name (you can also use
canonical or local namespace names)
The wiki parameter accepts names like "de", "dewiki", or "de.wikipedia.org".
Please try it and tell me if you experience any problems.
Enjoy, Daniel