Page MenuHomePhabricator
Paste P10992

python3 pwb.py login -family:wikinews -lang:ko -debug
ActivePublic

Authored by revi on Apr 15 2020, 5:20 PM.
$ python3 pwb.py login -family:wikinews -lang:ko -debug
~/dev/wikimedia/pywikibot/pywikibot-prod/pywikibot/config2.py:1085: _ConfigurationDeprecationWarning:
"special_page_limit" present in our user-config.py is no longer a
supported configuration variable and should be removed. Please inform
the maintainers if you depend on it.
_ConfigurationDeprecationWarning)
~/dev/wikimedia/pywikibot/pywikibot-prod/pywikibot/config2.py:1085: _ConfigurationDeprecationWarning:
"line_separator" present in our user-config.py is no longer a
supported configuration variable and should be removed. Please inform
the maintainers if you depend on it.
_ConfigurationDeprecationWarning)
~/dev/wikimedia/pywikibot/pywikibot-prod/pywikibot/config2.py:1085: _ConfigurationDeprecationWarning:
"LS" present in our user-config.py is no longer a supported
configuration variable and should be removed. Please inform the
maintainers if you depend on it.
_ConfigurationDeprecationWarning)
handle_args() completed.
Instantiated APISite object 'wikinews:ko'
general siteinfo not loaded yet.
general siteinfo not loaded yet.
Load siteinfo properties 'namespaces', 'namespacealiases' along with 'general'
Load siteinfo properties 'namespaces', 'namespacealiases' along with 'general'
CachedRequest: cache hit (~/dev/wikimedia/pywikibot/pywikibot-prod/apicache-py3/366439a2e6c7412a69c58c88d9cce16b9b96e75016a304e844620c9f6d518f90) for API request: APISite("ko", "wikinews")LoginStatus(-1)[('action', 'query'), ('continue', ''), ('format', 'json'), ('maxlag', '5'), ('meta', 'siteinfo|userinfo'), ('siprop', 'namespaces|namespacealiases|general'), ('uiprop', 'blockinfo|hasmsg')]
Checking multiplicity: pid = False
Checking multiplicity: pid = False
API request to wikinews:ko (uses get: True):
Headers: {'Content-Type': 'application/x-www-form-urlencoded'}
URI: '/w/api.php?action=query&meta=userinfo&uiprop=blockinfo%7Cgroups%7Chasmsg%7Crights&rawcontinue=&maxlag=5&format=json'
Body: None
API response received from wikinews:ko:
{"query":{"userinfo":{"id":0,"name":"[IP REDACTED]","anon":"","groups":["*"],"rights":["createaccount","read","edit","createpage","createtalk","writeapi","viewmywatchlist","editmywatchlist","viewmyprivateinfo","editmyprivateinfo","editmyoptions","urlshortener-create-url","centralauth-merge","abusefilter-view","abusefilter-log","vipsscaler-test"]}}}
WARNING: No user is logged in on site wikinews:ko
Logging in to wikinews:ko as -revi@Pywikibot
API request to wikinews:ko (uses get: False):
Headers: {'Content-Type': 'application/x-www-form-urlencoded'}
URI: '/w/api.php'
Body: 'action=query&meta=tokens&type=login&rawcontinue=&maxlag=5&format=json'
API response received from wikinews:ko:
{"query":{"tokens":{"logintoken":"[TOKEN REMOVED]"}}}
API request to wikinews:ko (uses get: False):
Headers: {'Content-Type': 'application/x-www-form-urlencoded'}
URI: '/w/api.php'
Body: 'action=login&lgname=-revi%40Pywikibot&lgpassword=[PASSWORD REMOVED]&maxlag=5&format=json&lgtoken=[TOKEN REMOVED]'
API response received from wikinews:ko:
{"login":{"result":"Success","lguserid":1458,"lgusername":"-revi"}}
API request to wikinews:ko (uses get: True):
Headers: {'Content-Type': 'application/x-www-form-urlencoded'}
URI: '/w/api.php?action=query&meta=userinfo&uiprop=blockinfo%7Cgroups%7Chasmsg%7Crights&rawcontinue=&maxlag=5&format=json'
Body: None
API response received from wikinews:ko:
{"query":{"userinfo":{"id":1458,"name":"-revi","groups":["*","user","autoconfirmed"],"rights":["read","abusefilter-log","abusefilter-log-detail","abusefilter-view","apihighlimits","autoconfirmed","autopatrol","bigdelete","block","blockemail","browsearchive","checkuser-log","createaccount","createpage","createtalk","delete","deletedhistory","deletedtext","deletelogentry","deleterevision","edit","editeditorprotected","editextendedsemiprotected","editinterface","editmyoptions","editprotected","editsemiprotected","editsitejson","edituserjson","extendedconfirmed","globalblock-exempt","ipblock-exempt","markbotedits","massmessage","move","move-categorypages","move-rootuserpages","move-subpages","movefile","movestable","noratelimit","nuke","override-antispoof","patrol","patrolmarks","protect","purge","rollback","skipcaptcha","suppressredirect","tboverride","tboverride-account","templateeditor","torunblocked","undelete","upload","writeapi","minoredit","editmyusercss","editmyuserjson","editmyuserjs","sendemail","applychangetags","changetags"]}}}
Logged in on wikinews:ko as -revi.
_flush() called
$