| Dalba added a comment. |
The HTML source code of https://proofwiki.org/:
<h1>Sorry! This site is experiencing technical difficulties.</h1><p>Try waiting a few minutes and reloading.</p><p><small>(Cannot access the database)</small></p><hr /><div style="margin: 1.5em">You can try searching via Google in the meantime.<br /> <small>Note that their indexes of our content may be out of date.</small> </div> <form method="get" action="" id="googlesearch"> <input type="hidden" name="domains" value="https://proofwiki.org" /> <input type="hidden" name="num" value="50" /> <input type="hidden" name="ie" value="UTF-8" /> <input type="hidden" name="oe" value="UTF-8" /> <input type="text" name="q" size="31" maxlength="255" value="" /> <input type="submit" name="btnG" value="Search" /> <p> <label><input type="radio" name="sitesearch" value="https://proofwiki.org" checked="checked" />ProofWiki</label> <label><input type="radio" name="sitesearch" value="" />WWW</label> </p> </form>
This is a mediawiki message (reportOutageHTML) shown after a database issue.
The test should be skipped in this situation, but the problem is that Mediawiki is responding with a 200 status code instead of 500 (server error).
There is an old task open opened for this at: T35917. We can manually process the page content and raise ServerError until that issue is resolved.
TASK DETAIL
EMAIL PREFERENCES
To: Dalba
Cc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Sn1per, jayvdb, Masti, Alchimista, Rxy
Cc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Sn1per, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
