We've had some reports of pages appearing in google twice for some Miraheze wikis.
When I looked closer I saw that there was no canonical tag set by MediaWiki in the <head> and the urls were different.
Example:
https://moviepedia.miraheze.org/w/index.php?title=Category%3AMark_Consuelos&mobileaction=toggle_view_desktop
https://moviepedia.miraheze.org/w/index.php?title=Category%3AMark_Consuelos&mobileaction=toggle_view_desktop and https://moviepedia.miraheze.org/wiki/Category:Mark_Consuelos
We should set a canonical tag on all variations of a page that are the exact same.
So https://moviepedia.miraheze.org/w/index.php?title=Category%3AMark_Consuelos&mobileaction=toggle_view_desktop would have https://moviepedia.miraheze.org/wiki/Category:Mark_Consuelos as the canonical url.
We should use the article entry point to define the canonical and strip anything in & parameters that don't change how the page is displayed.