* (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in some...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 10 Nov 2010 09:16:28 +0000 (09:16 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 10 Nov 2010 09:16:28 +0000 (09:16 +0000)
commit61a8610ddce698c3bca3931602d92b43ed6bdc43
tree0ab23cb4b6257e9f2ea48fb5344b3bebc84c7236
parent0bb158e8d6cac67941044ed858e971430694f8b6
* (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in some cases
* (bug 25670) wfFindFile() now checks the namespace of the given title, only "File" and "Media" are allowed now

The problem with bug 19944 was that the cache in RepoGroup was holding a file with a Title that has its namespace set to NS_MEDIA; the cache is now only used for title with namespace set to NS_FILE.
Also modified ImageGallery to not call wfFindFile() on non-NS_FILE title; was obviously breaking the above fix.
RELEASE-NOTES
includes/ImageGallery.php
includes/filerepo/RepoGroup.php