Fixing part of bug 14688 (upload restrictions):
authorRobin Pepermans <robin@users.mediawiki.org>
Sun, 24 May 2009 20:45:31 +0000 (20:45 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Sun, 24 May 2009 20:45:31 +0000 (20:45 +0000)
commit623b9fcbd824e3b741272140de03a9e8cee99a4f
treed6d7e9204ebdf42743906838f9b6fd6df4a8442b
parent7efcb3255bcfd87f735335850b20cd8cf90ceb0c
Fixing part of bug 14688 (upload restrictions):
* Only show upload links on file description if $wgEnableUploads = true and user *can* upload
* Don't say "You need to log in to upload", because it's possible that uploading is disabled for registered users as well and e.g. only sysops can upload (same for moving pages)
* And a small tweak: less code in SkinTemplate.php with same result
RELEASE-NOTES
includes/ImagePage.php
includes/SkinTemplate.php
includes/Title.php
includes/specials/SpecialUpload.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc