commons_link.py now can add {{commonscat}} or {{commons}} when commons page have the same name like the page.
For many pages is this value stored on wikidata, so bot should look at first to corresponding item on wikidata (P373 = commonscat, P935 = commons). When there is not, look for category/gallery on commons
additionally, script should use standad pagegenerators.py, now is supporting only -link(s) / -cat / -page / -ref
Version: unspecified
Severity: enhancement