Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkindex mistakes missing Wikia wiki for ok #369

Closed
nemobis opened this issue Feb 14, 2020 · 0 comments
Closed

checkindex mistakes missing Wikia wiki for ok #369

nemobis opened this issue Feb 14, 2020 · 0 comments

Comments

@nemobis
Copy link
Member

nemobis commented Feb 14, 2020

This wiki was listed as active on the Wikia API but was closed and now gives an HTTP/1.1 410 Gone

Закрытая вики
Служебная страница
Эта вики закрыта
Эта вики была закрыта. Копия содержимого будет доступна в течение 24 часов. Пожалуйста, проверьте позже.

The check gives a false positive:

$ python dumpgenerator.py --xml --api=https://world-of-shinobi.fandom.com/ru/api.php
Checking API... https://world-of-shinobi.fandom.com/ru/api.php
MediaWiki API URL not found or giving error: HTTP 410
API not available. Trying with index.php only.
Checking index.php... https://world-of-shinobi.fandom.com/ru/index.php
index.php is OK

Then of course it fails with

Traceback (most recent call last):
  File "dumpgenerator.py", line 2493, in <module>
    main()
  File "dumpgenerator.py", line 2485, in main
    createNewDump(config=config, other=other)
  File "dumpgenerator.py", line 2050, in createNewDump
    getPageTitles(config=config, session=other['session'])
  File "dumpgenerator.py", line 381, in getPageTitles
    for title in titles:
  File "dumpgenerator.py", line 252, in getPageTitlesAPI
    config=config, session=session)
TypeError: 'NoneType' object is not iterable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant