jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/994748?usp=email )
Change subject: [tests] test that https://wikimediafoundation.org/$1 is not a wiki ......................................................................
[tests] test that https://wikimediafoundation.org/$1 is not a wiki
Bug: T356013 Change-Id: I0307691ee34dad5e1c2b7a128ed6b759658fb70a --- M tests/site_detect_tests.py 1 file changed, 13 insertions(+), 0 deletions(-)
Approvals: DannyS712: Looks good to me, approved Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/site_detect_tests.py b/tests/site_detect_tests.py index 1cafd2c..0f703ff 100755 --- a/tests/site_detect_tests.py +++ b/tests/site_detect_tests.py @@ -91,6 +91,9 @@ 'http://www.merriam-webster.com/' 'cgi-bin/dictionary?book=Dictionary&va=$1', 'http://arxiv.org/abs/$1', + # looks like a MW site but isn't, api is redirected to + # https://foundation.wikimedia.org + 'https://wikimediafoundation.org/$1', )
failing_sites = [
pywikibot-commits@lists.wikimedia.org