Page MenuHomePhabricator

-cat argument conflict
Open, MediumPublic

Description

-cat is handled by pagegens , but is also implemented in checkimages.py and template.py

Details

Related Changes in Gerrit:

Event Timeline

jayvdb assigned this task to XZise.
jayvdb raised the priority of this task from to Medium.
jayvdb updated the task description. (Show Details)
jayvdb added subscribers: jayvdb, Ricordisamoa, Ladsgroup and 2 others.
jayvdb removed XZise as the assignee of this task.May 27 2015, 3:41 PM
jayvdb removed a project: Patch-For-Review.
jayvdb set Security to None.
jayvdb updated the task description. (Show Details)

Change 214487 had a related patch set uploaded (by Mpaa):
template.py: solve -cat argument conflict

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

Change 214487 merged by jenkins-bot:
template.py: solve -cat argument conflict

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

Unlike template.py, checkimages.py does not use GeneratorFactory, so why does the -cat argument conflict?

See subtask.

So it's more a 'jurisdiction' issue than a conflict.

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.