Xqt added a project: TestMe.
Xqt added a comment.

  Unable to repoduce due to this API Error:
  
    WARNING: API error invalid-page: Page provided does not have Structured 
Discussions enabled and safeAllowCreation failed with: * Page already exists at 
destination, so a Structured Discussions board can not be moved there. * User 
does not have the "Create Structured Discussions boards in any location" 
permission
    Traceback (most recent call last):
      File "<pyshell#22>", line 1, in <module>
        for topic in topics_list:
      File "C:\pwb\GIT\core\pywikibot\flow.py", line 127, in topics
        data = self.site.load_topiclist(self, content_format=content_format,
      File "C:\pwb\GIT\core\pywikibot\site\_decorators.py", line 60, in callee
        return fn(self, *args, **kwargs)
      File "C:\pwb\GIT\core\pywikibot\site\_extensions.py", line 419, in 
load_topiclist
        data = req.submit()
      File "C:\pwb\GIT\core\pywikibot\data\api.py", line 1922, in submit
        raise pywikibot.exceptions.APIError(**result['error'])
    pywikibot.exceptions.APIError: invalid-page: Page provided does not have 
Structured Discussions enabled and safeAllowCreation failed with: * Page 
already exists at destination, so a Structured Discussions board can not be 
moved there. * User does not have the "Create Structured Discussions boards in 
any location" permission
    [help: See https://test.wikipedia.org/w/api.php for API usage. Subscribe to 
the mediawiki-api-announce mailing list at 
&lt;https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/&gt;
 for notice of API deprecations and breaking changes.]

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

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

To: Xqt
Cc: Xqt, Aklapper, Zppix, darthbhyrava, pywikibot-bugs-list, happy5214, jayvdb, 
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, TerraCodes, Dvorapa, Altostratus, Avicennasis, 
mys_721tx, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to