Sorry, as far as I know it's not possible to achieve what you want via the API.
Can't you use one of the supported output formats?
If you absolutely need raw text, a Labs tool could be set up for that.

Il 13/12/2014 16:15, misaka83@hush.com ha scritto:
Yes something like that but without the markup, just clean text.
I can't imagine that there is no setting like this. There has to be hasn't it?

On 13.12.2014 at 5:05 PM, "Ricordisamoa" <ricordisamoa@openmailbox.org> wrote:
Without JSON? Do you mean action=raw, maybe?
But that contains wiki markup.

Il 13/12/2014 15:16, misaka83@hush.com ha scritto:
Sorry, this is not what I was looking for. I need it without the json stuff and everything. But thank you.


On 13.12.2014 at 3:46 PM, "Ricordisamoa" <ricordisamoa@openmailbox.org> wrote:
Il 13/12/2014 13:30, misaka83@hush.com ha scritto:
Hello everyone,

how can I extract just clean plain text from a Wikipedia article?
Without wiki-stuff, without html, without pictures, without json.

Just clean text.

I can't seem to find this exact solution.

Best regards

Mikoto

Use the TextExtracts API.
For example, this query returns the lead section of the English Wikipedia article Douglas Adams in plain text.