r96446 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96445‎ | r96446 | r96447 >
Date:16:22, 7 September 2011
Author:laner
Status:deferred
Tags:
Comment:
Script should send wikiname to the wiki, obviously.
Modified paths:
  • /trunk/tools/subversion/user-management/add-labs-user (modified) (history)

Diff [purge]

Index: trunk/tools/subversion/user-management/add-labs-user
@@ -31,7 +31,7 @@
3232 # for the user.
3333 url = urlparse.urlparse(scriptconfig.controllerapiurl)
3434 site = mwclient.Site((url.scheme, url.hostname))
35 - site.login(username, passwd, domain=scriptconfig.domain)
 35+ site.login(options.wikiname, passwd, domain=scriptconfig.domain)
3636
3737 if __name__ == "__main__":
3838 main()

Status & tagging log