User:Mike Peel/Commons category resolution
Appearance
- enwp commons link is a redirect to the wikidata commons sitelink
- Remove the local link so that the wikidata one is used.
- enwp commons link is to a disambig category but Commons sitelink is to a specific page
- Remove the local link so that the wikidata one is used.
- Category:Cagayan currently links to commons:Category:Cagayan, but Wikidata links to commons:Category:Cagayan (province)
- enwp commons link is to a deleted category
- Wikidata has a Commons sitelink
- Remove the local link so that the wikidata one is used.
- Wikidata does not have a Commons sitelink
- Remove the template from enwp
- (Need to figure out how to identify whether a commons category has been deleted or never exists using pywikibot)
- Wikidata has a Commons sitelink
- No enwp sitelink from Wikidata, but the commons category exists and is linked to a Wikidata item
- enwp is an article
- Add an enwp sitelink based on the commons category link.
- enwp is a category, Wikidata item is not a category item but has topic's main category (P910)
- Follow topic's main category (P910), add the enwp sitelink there
- enwp is a category, Wikidata item is not a category item and does not have topic's main category (P910)
- Create a new category item if an enwp sitelink exists in a topic item.
- Category:Cairngorms has no Wikidata link, but commons:Category:Cairngorms links to Cairngorms (Q747064) - a new Wikidata category item is needed
- enwp is an article
- Commons category exists, but isn't on Wikidata
- Add to Wikidata
- Probably most in Category:Commons category link is the pagename
- The danger is if these have been removed from Wikidata as they are incorrect...
- Category:1801 in New York (state), Category:1801 in New York (state) (Q8107302) doesn't have a sitelink but commons:Category:1801 in New York (state) exists
- Commons category doesn't exist
- Remove the template from enwp
- Other situation
- Add to a report for manual resolution
Potential later steps:
- Category:Commons category link is on Wikidata
- Remove local links to use Wikidata instead
- Linked Wikidata item has a commons category, but there is no local template displaying it
- Add a template to display the link