Last modified: 2012-08-25 09:25:52 UTC
Like redirects, also a file description page should have the new rel="canonical" link tag if the file is transcluded from Commons. http://en.wikipedia.org/wiki/File:Mediawiki.png should contain inside <head>: <link rel="canonical" href="http://commons.wikimedia.org/wiki/File:Mediawiki.png" />
Forget about it ;-) <meta name="robots" content="noindex,nofollow" />
That appears to be an unintentional regression in r30602 due to overzealous search-and-replace. Previously, the code set "index,follow" for an Image: page view if the image existed but the page didn't.
Looks like this wouldn't work anyway, as it would need to link across domains which would not be accepted: http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html "Can this link tag be used to suggest a canonical URL on a completely different domain? No. To migrate to a completely different domain, permanent (301) redirects are more appropriate. Google currently will take canonicalization suggestions into account across subdomains (or within a domain), but not across domains. So site owners can suggest www.example.com vs. example.com vs. help.example.com, but not example.com vs. example-widgets.com." Reopen if this changes...
(In reply to comment #3) > Reopen if this changes... Marking fixed: this changed http://googlewebmastercentral.blogspot.it/2009/12/handling-legitimate-cross-domain.html and I see the requested tag in the example file page.