-----BEGIN PGP SIGNED MESSAGE-----
Moin,
On Sunday 27 February 2005 00:23, Thomas Gries wrote:
Jakob has asked me to write a tiny script, which can be called from the commandline to add (or to prepend) an arbitrary text to a wiki page. The script is for mediawiki 1.3.11 (which uses wpEditToken instead of wpEdittime to detect edit collisions)
Usage: php editpage.php "Pagename" "A new text, created by ~~~~" "edit summary, optional"
Oh, cool. That would be idial for automated programs to post "news" or similiar things to internal wikis. Or building a "news" form, where a human can enter a short news text and it is automatically added in the right place in the wiki.
Code on request
Bitte, bitte, bitte! :)
Best wishes,
Tels
- -- Signed on Sun Feb 27 11:09:14 2005 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email.
"Retsina?" - "Ja, Papa?" - "Angriff im Morgengrauen." - "Is gut, Papa."