On 11/12/05, Johannes Feigl <johannes.feigl(a)aon.at> wrote:
> i think it would be nice of you add to the
index.php also the action
> "source".
> like: "index.php?title=Wikipedia&action=edit", and you only get the
> sourcecode of the article "Wikipedia"
Well, we already have an action akin to this, called "raw" -
...action=raw will give you just the wikitext (with a content-type of
text/x-wiki, I think). You can also use Special:Export/pagename to get
the wikitext wrapped in some XML metadata.
sorry, i thought about
"index.php?title=Wikipedia&action=source"
it could also include the hidden input arguments you get when using
"edit", could look like something like that when opening that page:
This sounds a lot less like "source", and more like a bot API, I guess
like the things requested at
http://bugzilla.wikimedia.org/show_bug.cgi?id=208 - although oddly,
nobody seems to have mentionned bot *edits* in that particular
discussion. [As you mention, the particularities of the editting case
are the need to receive and retransmit the extra verification fields
like timestamps and such; the rest of it is just a case of telling the
software not to do very much :)]
--
Rowan Collins BSc
[IMSoP]