Page MenuHomePhabricator

Use configparser for config files instead of other variants
Open, LowestPublicFeature

Description

Proposals

  • rename config2.py to config.py and implement loading all global and user-defined settings
  • global bot settings can be located in pywikibot/config.ini
  • userdefined settings can be located in user-config.ini
  • script related settings including L10N can be located in scripts_config.ini
  • drop user-config.py support. This might be a great advantage using PAWS
  • enable site-related settings e.g. from wiki page

Details

Related Gerrit Patches:

Event Timeline

Xqt created this task.May 19 2019, 9:08 AM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptMay 19 2019, 9:08 AM
Xqt triaged this task as Lowest priority.May 19 2019, 9:08 AM
Xqt changed the subtype of this task from "Task" to "Feature Request".
Xqt updated the task description. (Show Details)May 19 2019, 9:12 AM

Change 511692 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] add a new ConfigParserBot class

https://gerrit.wikimedia.org/r/511692

Change 511692 merged by jenkins-bot:
[pywikibot/core@master] [IMPR] add a new ConfigParserBot class

https://gerrit.wikimedia.org/r/511692