I think so. But I don't know how exactly. The script I've found includes cookie 
handling, which I think is needed in order to make use of clientlogin.



Geoffrey



---- On ma, 30 jan 2017 20:32:11 +0100 Martin Domdey <[email protected]> 
wrote ----




But is it possible to do this using clean bash?

 

 Martin

 -- 

 Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.


Am 30.01.2017, 20:26, Martin Urbanec <[email protected]> 
schrieb:

Hi,  

Maybe pywikibot will be more better than doing this using clean Bash. Have a 
look at Manual:Pywikibot at MediaWiki.org. 



Best, 

Martin Urbanec 

 



Dne po 30. led 2017 20:20 uživatel geoffreydebelie 
<[email protected]> napsal:



Hi,



I'm trying to append text to a page as logged in MediaWiki user from within 
Bash.



I tried this, but it's very outdated:

https://www.mediawiki.org/wiki/API:Client_code/Bash



I had updated it to this:

http://pastebin.com/e9LF3UDa



I want to use this: https://www.mediawiki.org/wiki/API:Edit#Editing_pages -> 
appendtext



Can someone please provide me with at least a partial solution? I'm lost.



Kind regards,

Geoffrey De Belie





_______________________________________________

 Mediawiki-api mailing list

 [email protected]

 https://lists.wikimedia.org/mailman/listinfo/mediawiki-api




_______________________________________________ Mediawiki-api mailing 
[email protected] 
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api


_______________________________________________

Mediawiki-api mailing list

[email protected]

https://lists.wikimedia.org/mailman/listinfo/mediawiki-api






_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to