HomePhabricator

Restructure missing_commonscat_links

Description

Restructure missing_commonscat_links

This undoes https://gerrit.wikimedia.org/r/#/c/379971 for
missing_commonscat_links as we no longer loop over all configs.

This is in part done as a preparation for T176722, and in part
as an alternative solution for T176528 while providing some
much needed refactoring.

Also adds docstrings, breaks too long lines and changes string
formating.

Due to the overlap there is also some refactoring of unused_images
to move shared logic and wikitext generation to common.py.

Bug: T176528
Bug: T176722
Change-Id: I0f8d30fabeadfc0dc1e6b18bcc7d36bd7708fb09

Details

Provenance
Lokal_ProfilAuthored on Sep 23 2017, 11:15 PM
jenkins-botCommitted on Jul 22 2018, 11:27 AM
Parents
rTHER9cad0257c8a6: Make statistics table for unknown fields
Branches
Unknown
Tags
Unknown
References
refs/changes/60/380060/17
ChangeId
I0f8d30fabeadfc0dc1e6b18bcc7d36bd7708fb09