* David Gerard <[email protected]> [Sat, 18 Jul 2009 14:55:28 +0100]: > 2009/7/18 Robert Rohde <[email protected]>: > > On Sat, Jul 18, 2009 at 6:20 AM, David Gerard<[email protected]> > wrote: > > >> It'd actually be better if Google properly indexed text pages whose > >> name ends in .jpg or whatever ... but they're aware we'd like that, > so > >> it's up to them. > > > Which is why my personal wiki is patched to translate the ".jpg" into > > "_jpg", etc. for all references to image description pages. > > > Hmmmmmmmmmmmmmmmm. How much hacking would MediaWiki on Wikimedia need > for _jpg to be the default image page name and .jpg an alias for > backward compatibility? That'd be really helpful in all sorts of ways > - on pretty much any website *not* running MediaWiki, something ending > ".jpg" is going to be the image, not a text page. > I am not sure that the underscore is the most suitable character, because in MediaWiki it's interchangable with the space character. The type of the document should be determined by it's mime-type. If Google uses the web path "extension" (which is meaningless by the way, because that's a virtual path) instead of mime-type to determine whether the page should be indexed, that's amazing bug for Google. Dmitriy
_______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
