https://bugzilla.wikimedia.org/show_bug.cgi?id=57027
Web browser: --- Bug ID: 57027 Summary: commons_link.py feature request Product: Pywikibot Version: compat (1.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jan.dudik@gmail.com Classification: Unclassified Mobile Platform: ---
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 shoul 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