[Mediawiki-api] parse output

Chad innocentkiller at gmail.com
Mon Feb 23 20:17:52 UTC 2009


Action=parse can take multiple titles, and you can get
other page metadata in addition to just HTML output.
Not to mention you can bundle it into one request with
action=parse|query.

-Chad

On Feb 23, 2009 3:14 PM, "Michael Dale" <mdale at wikimedia.org> wrote:

it would be really nice if we could get html output from the api query
... this would avoid issuing doing dozens of action parse requests
separately.

It apperas to be mentioned pretty regularly... does anyone know if a bug
to that end has been filed.. I will plop one in there if none exists
(did not find any with in my quick search)

--michael



Bryan Tong Minh wrote:
> On Fri, Feb 20, 2009 at 6:45 PM, marco tanzi <tanzi.marco at gmail.com>
wrote:
>
>> I received a correct json object, but the content of the revision is
>> full of data I do not need like {{....}} [[...]] ecc. I would like to
>> get only the clean description, only text (like the one visible from
>> the wiki website).
>>
>>
>
> Run the parsed text (action=parse) through an HTML parser that strips
> all the tags.
>
>
> Bryan
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/mediawiki-api/attachments/20090223/94a266c4/attachment.htm 


More information about the Mediawiki-api mailing list