JAnD added a comment.

But is there problem when page is softredirect with interwiki

https://uk.wiktionary.org/w/index.php?title=Категорія:Прикметники_за_мовами&action="">

>>> Категорія:Прикметники за мовами <<<
WARNING: Interwiki [[ko:분류:한국어 형용사]] does not exist, skipping...
WARNING: Interwiki [[sr:Категорија:Придев]] does not exist, skipping...
WARNING: Interwiki [[ar:تصنيف:صفات حسب اللغة]] does not exist, skipping...
WARNING: C:\pwb\pywikibot\site.py:1334: UserWarning: Unknown wbeditentity parameter new ignored
  return fn(self, *args, **kwargs)

WARNING: API error failed-save: The save has failed.

1314 pages read
0 pages written
Execution time: 116 seconds
Read operation time: 0 seconds
Script terminated by exception:

ERROR: OtherPageSaveError: Edit to page [[wikidata:-1]] failed:
failed-save: The save has failed. [help:See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at &lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.]
Traceback (most recent call last):
  File "C:\pwb\pwb.py", line 262, in <module>
    if not main():
  File "C:\pwb\pwb.py", line 255, in main
    run_python_file(filename, [filename] + args, argvu, file_package)
  File "C:\pwb\pwb.py", line 121, in run_python_file
    main_mod.__dict__)
  File ".\scripts\interwikidata2.py", line 216, in <module>
    main()
  File ".\scripts\interwikidata2.py", line 209, in main
    bot.run()
  File "C:\pwb\pywikibot\bot.py", line 1464, in run
    self.treat(page)
  File "C:\pwb\pywikibot\bot.py", line 1755, in treat
    super(ExistingPageBot, self).treat(page)
  File "C:\pwb\pywikibot\bot.py", line 1678, in treat
    self.treat_page()
  File ".\scripts\interwikidata2.py", line 95, in treat_page
    item = self.create_item()
  File ".\scripts\interwikidata2.py", line 125, in create_item
    item.editEntity(data, new='item', summary=summary)
  File "C:\pwb\pywikibot\page.py", line 139, in wrapper
    handle(func, self, *args, **kwargs)
  File "C:\pwb\pywikibot\page.py", line 131, in handle
    raise pywikibot.OtherPageSaveError(self, err)
pywikibot.exceptions.OtherPageSaveError: Edit to page [[wikidata:-1]] failed:
failed-save: The save has failed. [help:See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at &lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.]
<class 'pywikibot.exceptions.OtherPageSaveError'>
CRITICAL: Closing network session.

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

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

To: matej_suchanek, JAnD
Cc: Xqt, gerritbot, Aklapper, JAnD, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to