APerson created this task.
APerson added a project: Pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper.

TASK DESCRIPTION

Welcome messages don't have a title property. However, Pywikibot expects all notifications to have a title property. As a result, site.notifications() fails when we call it from the session of a new user with an unread welcome message.

Here's a sample welcome message, so you don't have to create a new account yourself:

{
    "wiki": "enwiki",
    "id": "82024201",
    "type": "welcome",
    "category": "system",
    "timestamp": {
        "utcunix": "1466615668",
        "unix": "1466615668",
        "utcmw": "20160622171428",
        "mw": "20160622171428",
        "date": "22 June"
    },
    "agent": {
        "id": 28623953,
        "name": "RemindMeBot"
    },
    "targetpages": []
},

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

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

To: APerson
Cc: Aklapper, Zppix, pywikibot-bugs-list, APerson, Mdupont, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to