jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: pywikibot-compat.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
The 'core' user-config.py might include `debug_log.append("")` , to set debug.
However if this same user-config is used for compat, it creates a NameError.
```
compat$ python pwb.py shell
Traceback (most recent call last):
File "pwb.py", line 50, in <module>
import userlib
File "userlib.py", line 13, in <module>
import wikipedia as pywikibot
File "wikipedia.py", line 172, in <module>
from pywikibot.support import *
File "pywikibot/support.py", line 15, in <module>
from exceptions import *
File "exceptions.py", line 14, in <module>
import config
File "config.py", line 606, in <module>
exec open(_filename, 'r').read()
File "<string>", line 15, in <module>
NameError: name 'debug_log' is not defined
```
There are probably other core only variables which are not supported in compat.
TASK DETAIL
https://phabricator.wikimedia.org/T95074
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: pywikipedia-bugs, jayvdb, Aklapper, Anshoe
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: pywikibot-core, Pywikibot-Other-scripts.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
https://travis-ci.org/jayvdb/pywikibot-core/jobs/61738584
Traceback (most recent call last):\n File "/home/travis/build/jayvdb/pywikibot-core/pwb.py", line 228, in <module>\n run_python_file(filename, argv, argvu, file_package)\n File "/home/travis/build/jayvdb/pywikibot-core/pwb.py", line 85, in run_python_file\n main_mod.__dict__)\n File "./scripts/welcome.py", line 1019, in <module>\n main()\n File "./scripts/welcome.py", line 1000, in main\n bot.run()\n File "./scripts/welcome.py", line 849, in run\n locale.getlocale()[1])\nTypeError: decoding str is not supported\nCRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort\n
TASK DETAIL
https://phabricator.wikimedia.org/T98590
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: pywikipedia-bugs, jayvdb, Aklapper
Spage added a subscriber: Spage.
Spage added a comment.
This is exciting!
> and interacting with the same [Flow] pages using the standard Page functionality where appropriate.
In https://phabricator.wikimedia.org/T67119#1274784, @happy5214 wrote:
> create a design for new Pywikibot classes that accurately reflect core Flow entities and fit into the existing Pywikibot framework.
You eventually need to decide what should happen when Pywikibot high-level Page operations interact with a Flow board or topic. Flow has to make similar decisions for which, if any, MediaWiki page APIs should "just work" on a Flow board or topic; see Flow API architecture page <https://www.mediawiki.org/wiki/Flow/Architecture/API#Future_API_changes> and the discussion in https://phabricator.wikimedia.org/T59989 and https://phabricator.wikimedia.org/T85197.
TASK DETAIL
https://phabricator.wikimedia.org/T67119
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: happy5214, Spage
Cc: Spage, Liuxinyu970226, Aklapper, happy5214, Legoktm, gerritbot, rmoen, EBernhardson, NiharikaKohli, Capt_Swing, Qgil, jayvdb, Mattflaschen, Xqt, Ricordisamoa, Multichill, Ladsgroup, Imaculate, matthiasmullie, Gryllida, Quiddity, pywikipedia-bugs