Inductiveload added a comment.

  Changing this line in `_apisite.py` fixes it:
  
    types_wiki_old = self._paraminfo.parameter('query+info', 'token')['type']
  
  to
  
    if mw_ver < '1.37wmf23':
        types_wiki_old = self._paraminfo.parameter('query+info', 
'token')['type']
    else:
        types_wiki_old = []
  
  But I am not sure what the actual correct formulation would be in the context 
of that if/else statement.

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

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

To: Inductiveload
Cc: jhsoby, JJMC89, Aklapper, pywikibot-bugs-list, Inductiveload, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, 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