Page MenuHomePhabricator

Remove cgi_interface because it is dysfunctional
Closed, ResolvedPublic


C:\pwb\GIT\core>py -3 touch
ERROR: Unable to execute script because no generator was defined.
Use -help for further information.

C:\pwb\GIT\core>py -3 touch
Traceback (most recent call last):
  File "", line 204, in <module>
    import pywikibot as pwb
  File "C:\pwb\GIT\core\pywikibot\", line 25, in <module>
    from import (
  File "C:\pwb\GIT\core\pywikibot\", line 154, in <module>
    pywikibot.argvu = ui.argvu()
AttributeError: 'UI' object has no attribute 'argvu'


In compat we had several user interfaces:

  • terminal_interface
  • tkinter_interface
  • wxpython_interface
  • cgi_interface

But tkinter and wxpython where removed seven years ago because they didn't work correctly:

The cgi interface is also dysfunctional. Its interface, attributes and methods do not match the usual terminal interface an must be rewritten if the interface should become a useful interface. I don't think that it ever worked. I propose to remove it.

Event Timeline

Change 483764 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Remove disfunctional

JJMC89 renamed this task from cgi_interface is disfunctional to Remove cgi_interface because it is dysfunctional.Mar 23 2020, 7:00 AM
JJMC89 updated the task description. (Show Details)
JJMC89 awarded a token.

Change 483764 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Remove disfunctional

Xqt claimed this task.