Hello,
im trying to login over a script on my MediaWiki Server and create a new page. I can't use a browser because the input is a stream which comes from the internet. I want to collect the stream, format it an put it on as a wiki-page. Can this be done? Has someone done this before?
Greetings
Smyley
Mrle schreef:
Hello,
im trying to login over a script on my MediaWiki Server and create a new page. I can't use a browser because the input is a stream which comes from the internet. I want to collect the stream, format it an put it on as a wiki-page. Can this be done? Has someone done this before?
Greetings
Smyley
Use the API for querying and editing from bots and the like. See [1] for a general introduction, and [2] and [3] for editing specifically.
Roan Kattouw (Catrope)
[1] http://www.mediawiki.org/wiki/API [2] http://www.mediawiki.org/wiki/API:Changing_wiki_content [3] http://www.mediawiki.org/wiki/API:Edit_-_Create%26Edit_pages
wikitech-l@lists.wikimedia.org