jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: pywikibot-core, translatewiki.net.
Restricted Application added subscribers: Aklapper, pywikibot-bugs.
TASK DESCRIPTION
Lots of tests against our i18n family (translatewiki) fail due to this:
```
======================================================================
FAIL: test_basic (tests.pagegenerators_tests.TestPreloadingGenerator)
Test PreloadingGenerator with a list of pages.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/jayvdb/projects/pywiki/test_only/tests/pagegenerators_tests.py", line
347, in test_basic
mainpage = self.get_mainpage()
File "/home/jayvdb/projects/pywiki/test_only/tests/aspects.py", line 910,
in get_mainpage
if mainpage.isRedirectPage():
File "/home/jayvdb/projects/pywiki/test_only/pywikibot/page.py", line 634,
in isRedirectPage
return self.site.page_isredirect(self)
File "/home/jayvdb/projects/pywiki/test_only/pywikibot/site.py", line 2580,
in page_isredirect
self.loadpageinfo(page)
File "/home/jayvdb/projects/pywiki/test_only/pywikibot/site.py", line 2471,
in loadpageinfo
self._update_page(page, query, 'loadpageinfo')
File "/home/jayvdb/projects/pywiki/test_only/pywikibot/site.py", line 2458,
in _update_page
api.update_page(page, pageitem, query.props)
File "/home/jayvdb/projects/pywiki/test_only/pywikibot/data/api.py", line
2590, in update_page
"Page %s has neither 'pageid' nor 'missing' attribute" %
pagedict['title'])
AssertionError: Page Special:MainPage has neither 'pageid' nor 'missing'
attribute
```
I am guessing they use an extension for the lovely main page? Is that
extension in Phabricator?
TASK DETAIL
https://phabricator.wikimedia.org/T101812
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: pywikibot-bugs, jayvdb, Aklapper, Nemo_bis
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs