-cat is handled by pagegens , but is also implemented in checkimages.py and template.py
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| template.py: solve -cat argument conflict | pywikibot/core | master | +14 -5 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T76429 argparse support for global & pagegen arguments | |||
| Open | None | T182523 option conflict (tracking) | |||
| Open | None | T100522 -cat argument conflict | |||
| Open | None | T100618 checkimages.py pagegen support |
Event Timeline
Comment Actions
Change 214487 had a related patch set uploaded (by Mpaa):
template.py: solve -cat argument conflict
Comment Actions
Unlike template.py, checkimages.py does not use GeneratorFactory, so why does the -cat argument conflict?
Comment Actions
In the case of checkimages, yes. Users will expect an argument works consistently across all scripts, and not have subtle bugs due to differing implementations. This series of tasks are just "things to consider" for the argparse patch.