Put image redirects behind $wgFileRedirects config option for now (defaulting off).
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 16 Jan 2008 22:37:19 +0000 (22:37 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 16 Jan 2008 22:37:19 +0000 (22:37 +0000)
commiteee2d3b9f8febbf4390dac04ccfcfde9dcf947ab
tree6e9eff6c100c4b551a202560cab771b33ba1b797
parentf492645e53d831a3a55f9b4fd32815b2527813ac
Put image redirects behind $wgFileRedirects config option for now (defaulting off).

Several issues off the top of my head:
* Redirect behavior doesn't match between the image and the page.
* Upload form doesn't appear to pick up conflicts with existing redirects; this leads to confusion when after the upload you see a page showing the already-present redirect target, but the newly uploaded file is what you get when you use the name.
* [[Image:]] link to a redirect to a non-image page links to Special:Upload with the redirect name; [[Image:]] link to a redirect to a non-existent image page just links to the redirect page... behavior seems very hard to predict.
* Caching issues; pages using the redirected image don't appear to get invalidated when the redirect page is deleted
* Upload permissions can't be matched easily to creating-redirect permissions, which may be an issue (eg, create a billion redirects to Image:Goatse.jpg with innocent names)
includes/DefaultSettings.php
includes/filerepo/LocalRepo.php