**Acceptance Criteria:**
[] Investigate how to parse the sections “Categories/Bad” + “Templates/Bad” from[[ https://meta.wikimedia.org/wiki/CommonsHelper2 | the config file for the file's source ]]
[] Keep all preexisting work in mind:
- @TTO's writeup of how ForTheCommonGood works (T171605#3485931)
- @Addshore 's first draft T156797
- The way [[ https://bitbucket.org/magnusmanske/commonshelper | CommonsHelper ]] and [[ https://en.wikipedia.org/wiki/Wikipedia:MTC! | MTC!]] do this
**Notes**
- The result should be two lists of category and template names.
- Possible solutions: wiki parser, HTML DOM for infos, Regex,
Benutzen wir den wiki-parser? Vielleicht lieber nein. Vielleicht aus dem HTML DOM die Infos ziehen? Oder vielleicht am liebsten Regex (wie in Magnus’ Tool).
We might need to separate this into template and category path that we need to take.
→ Investigation → 5: Regex, Wikitext Parser, HTML sowie Approach von Magnus Manske und TTO und MTC!