Bryan Tong Minh | 2 Apr 2008 10:46
Picon
Gravatar

Re: Using the API to search the MediaWiki

On Tue, Apr 1, 2008 at 6:58 PM, Aurelien Dusween <ideozen@...> wrote:
>
>  Hi,
>
>  I am trying to send queries to my installation of MediaWiki outside of MediaWiki.
>  I want to build a test application that searches a major search engine but also the MediaWiki install.
>
>  I use the API with the list=search call but I don't get a lot of information out of it.
>  Example of call and result:
>
>  - Call
>  http://127.0.0.1/wiki/api.php?action=query&list=search&srsearch=success&srwhat=text&srnamespace=0|1|2|3|4|5&format=xml
>
>  - Result
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>  Is there any way I could get a teaser for each page (like the teasers that you get when you actually search on
the wiki)?
(Continue reading)

Manuel Schölling | 3 Apr 2008 02:41
Picon
Picon

Intent of mediawiki api?

Hi guys,

I'm sorry to bother you with this question but I could not find any 
answer on the mediawiki website.
Is this api intended to be an interface just for manipulating the 
wikipedia/wiktionary/wiki* content or is this api also for software 
developers to include wiki* content in their software?
(I don't want to abuse the api)

Thanks for your answers

Cheers
Manuel
Bryan Tong Minh | 3 Apr 2008 10:07
Picon
Gravatar

Re: Intent of mediawiki api?

On Thu, Apr 3, 2008 at 1:41 AM, Manuel Schölling
<manuel.schoelling@...> wrote:
> Hi guys,
>
>  I'm sorry to bother you with this question but I could not find any
>  answer on the mediawiki website.
>  Is this api intended to be an interface just for manipulating the
>  wikipedia/wiktionary/wiki* content or is this api also for software
>  developers to include wiki* content in their software?
>  (I don't want to abuse the api)
>
>  Thanks for your answers
>
>  Cheers
>  Manuel
>
>  _______________________________________________
>  Mediawiki-api mailing list
>  Mediawiki-api@...
>  https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>

You can use the api to include wiki content in your software. You
should however make sure that you follow the wiki's license when
reusing content.

However if you have plans to use full scale mirror, you might want to
contact the Wikimedia admins. Also note that in case you don't need
dynamic content, you can also download static dumps from
<http://download.wikimedia.org/backup-index.html>.
(Continue reading)

Platonides | 3 Apr 2008 22:04
Picon

Re: Intent of mediawiki api?

Bryan Tong Minh wrote:
> You can use the api to include wiki content in your software. You
> should however make sure that you follow the wiki's license when
> reusing content.
> 
> However if you have plans to use full scale mirror, you might want to
> contact the Wikimedia admins. 

You might want = If you're making trouble to the servers you will be 
blocked.
It's better to use the dumps when posible 
http://download.wikimedia.org/backup-index.html

There's a paying feed for getting the articles when they're updated.
MinuteElectron | 4 Apr 2008 01:04

External links query

Hello,

Earlier today I attempted to retrieve a full list of all external URLs
in my wiki, unfortunately I was unable to do so as the list would not be
output (return an error) if I specified a generic euquery such as "*",
nor would it output if I specified no query at all.

Does anyone know if it is possible to retrieve a list of all URLs in a
wiki via the API, if not would it be likely to be implemented?

MinuteElectron.
Bryan Tong Minh | 4 Apr 2008 13:20
Picon
Gravatar

Re: External links query

On Fri, Apr 4, 2008 at 1:04 AM, MinuteElectron
<minuteelectron@...> wrote:
> Hello,
>
>  Earlier today I attempted to retrieve a full list of all external URLs
>  in my wiki, unfortunately I was unable to do so as the list would not be
>  output (return an error) if I specified a generic euquery such as "*",
>  nor would it output if I specified no query at all.
>
>  Does anyone know if it is possible to retrieve a list of all URLs in a
>  wiki via the API, if not would it be likely to be implemented?
>
>  MinuteElectron.
>
>  _______________________________________________
>  Mediawiki-api mailing list
>  Mediawiki-api@...
>  https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
It looks indexed, so I see no reason not to to.

Bryan
Roan Kattouw | 4 Apr 2008 13:22
Picon
Favicon

Re: External links query

Bryan Tong Minh schreef:
> On Fri, Apr 4, 2008 at 1:04 AM, MinuteElectron
> <minuteelectron@...> wrote:
>   
>> Hello,
>>
>>  Earlier today I attempted to retrieve a full list of all external URLs
>>  in my wiki, unfortunately I was unable to do so as the list would not be
>>  output (return an error) if I specified a generic euquery such as "*",
>>  nor would it output if I specified no query at all.
>>
>>  Does anyone know if it is possible to retrieve a list of all URLs in a
>>  wiki via the API, if not would it be likely to be implemented?
>>
>>  MinuteElectron.
>>
>>  _______________________________________________
>>  Mediawiki-api mailing list
>>  Mediawiki-api@...
>>  https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>
>>     
> It looks indexed, so I see no reason not to to.
Done in r32722.

Roan Kattouw (Catrope)
MinuteElectron | 4 Apr 2008 13:35

Re: External links query

Roan Kattouw wrote:
> Done in r32722.
Thank you, much appreciated.

MinuteElectron.

Gmane