Hello all.
I want to ask is it possible to know the total rows if I use list query? For example, I want to know how many editor are there, before making this kind of request: api.php?action=query&list=allusers&augroup=editor and repeatly using param query-continue aufrom later.
And is it possible to sort the query result. For example by userid or registration time?
Thank you.
Regards,
William
Hello!
A quick question on the wiki search:
I see you can search for a term and operate a query search with wildcard on
the phrase
Apparently lucene does not support it...did you maybe installed a module to
handle that?
Any hint?
--
Luigi Assom
Skype contact: oggigigi
The new api parameters (already live) uses action=mobileview: offset &
maxlen.
http://en.wikipedia.org/w/api.php?action=mobileview&format=jsonfm&prop=text…
On Tue, Jun 25, 2013 at 2:03 PM, Dan Foy <dfoy(a)wikimedia.org> wrote:
> - Adding Yuri
>
> Yuri just made a change to support a request from OpenPath to be able to
> limit the amount of data loaded at any one time.
>
> Yuri, can you provide the specific action that OpenPath is using?
>
> Thanks,
> Dan
>
>
>
> On Tue, Jun 25, 2013 at 9:35 AM, Tomasz Finc <tfinc(a)wikimedia.org> wrote:
>
>> On Tue, Jun 25, 2013 at 3:00 AM, Max Semenik <maxsem.wiki(a)gmail.com>
>> wrote:
>> >> Max, do you know if the Wikipedia J2ME app depends on WML output from
>> >> the API? If so then we'll need to plan a transition plan for them.
>> >
>> > AFAIK, they use action=mobileview (HTML-only) which allows much more
>> granularity
>> > in what gets returned and how much of it.
>>
>> Dan, can you confirm how the J2ME app is pulling content?
>>
>> --tomasz
>>
>
>
>
> --
> Dan Foy
> Technical Manager, Mobile Partnerships
> Wikimedia Foundation
>
>
>
Starting on July, 2 we will drop support for action=parse returning
WML content. WAP is a rotting corpse for many years already.
Note that we're retaining support for mobileformat=html however it
will eventually become a no-op as we're planning to deprecate as many
HTML transformations for mobile as possible.
--
Best regards,
Max Semenik ([[User:MaxSem]])
Hi All,
so, I'd like to:
1) set up a search system backend alike wikipedia
either
2) use the result of wiki search api but redirect them to our db
We set up a system in Solr, wiki is in Lucene.
I would like the results to be shown while typing are the same of wikipedia:
I guess wikipedia search criteria is to search for exact matches of words
within titles.
Is it correct?
Or does it search also on free text?
What happen if I have a title which is different from title page ?
(e.g. http://en.wikipedia.org/wiki/Chiappucci
but title of page is "Claudio Chiappucci" )
Basically I want to have the same results as in the wiki search fields
(which priorities the searches,
e.g. "C" result for "Canada, "Countries of the world", etc.)
Any criteria guideline on how to achieve this in Solr, and to obtain
responsive results as in wiki?
The second option would be to redirect the search of wiki to our db, but i
personally don't like this cause it sound convoluted.
thank you very very much.
--
Luigi Assom
Skype contact: oggigigi