3
This script checks whether the wiki authenticates and trusts you.
5
It calls the TrustMe.py xmlrpc plugin. To use http auth, you need to configure
6
the srcwiki with auth = [http, moin_cookie] in its wikiconfig.
8
GPL software, 2005 Thomas Waldmann
12
user = "ThomasWaldmann"
16
sys.path.insert(0, '../../..')
17
from MoinMoin.support.BasicAuthTransport import BasicAuthTransport
19
srctrans = BasicAuthTransport(user, password)
20
srcwiki = xmlrpclib.ServerProxy("http://moinmaster.wikiwikiweb.de/?action=xmlrpc2", transport=srctrans)
22
print srcwiki.WhoAmI()
24
if __name__ == "__main__":