Xqt added a comment.

  After all of your shell commands,
  
    >>> import pywikibot
    >>> site = pywikibot.Site('test', 'wikipedia', user='Crystal-bot')
    >>> site.login()
    WARNING: No user is logged in on site wikipedia:test
    Logging in to wikipedia:test as Crystal-bot@botname
    WARNING: API warning (main): Subscribe to the mediawiki-api-announce 
mailing list at 
<https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/>
 for notice of API deprecations and breaking changes. Use 
[[Special:ApiFeatureUsage]] to see usage of deprecated features by your 
application.
    WARNING: API warning (login): Fetching a token via "action=login" is 
deprecated. Use "action=query&meta=tokens&type=login" instead.
    ERROR: Received incorrect login token. Forcing re-login.
    >>>
  
  what is the result of these statements?:
  
    >>> site.username()
    >>> site.user() or site.user() is None

TASK DETAIL
  https://phabricator.wikimedia.org/T309898

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, Aklapper, pywikibot-bugs-list, Stang, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to