Xqt added a comment.

  In T326046#8493150 <https://phabricator.wikimedia.org/T326046#8493150>, 
@Dimpizzy wrote:
  
  > You mean there's an issue with Miraheze?
  
  Yes.
  
  > Everytime I run it, though, it does receive the api.php HTML page, and I 
can view the JSON formatted version in the browser everytime, so doesn't that 
mean the server is fine?
  
  I cannot confirm that this is every time when an api call was made. It 
happens sometimes. The simpliest way to test the connection might be:
  
    > import pywikibot
    > site = pywikibot.Site('comprehensibleinputwiki:en')
    > site.version()
    '1.38.4'
  
  This works if the connection is ok and a json result is given. Otherwise that 
html page is shown.

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

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

To: Xqt
Cc: Xqt, Tommy_Kronkvist, Aklapper, Reception123, pywikibot-bugs-list, 
Dimpizzy, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, 
PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, 
Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, 
CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, 
MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to