Last modified: 2011-01-05 19:18:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28574, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26574 - Add upload protection to $wgRestrictionTypes
Add upload protection to $wgRestrictionTypes
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.18.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Bryan Tong Minh
http://commons.wikimedia.org/w/index....
:
: 26573 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-05 16:10 UTC by Umherirrender
Modified: 2011-01-05 19:18 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2011-01-05 16:10:20 UTC
The special page ProtectedPages allow listing of upload protected files only by url manipulation. Please add a entry for upload protection to the drop-down list.

Thanks.

See bug 26573 for the api part.
Comment 1 Raimond Spekking 2011-01-05 16:16:45 UTC
At a first glance it looks easy:

Add 'upload' to $wgRestrictionTypes in DefaultSettings.php.

But this needs special handling for NS6 in a lot of functions like Title::getRestrictionTypes() and some extensions.
Comment 2 Roan Kattouw 2011-01-05 16:28:49 UTC
Upload protection? I didn't know that even existed. If it does, it should be in $wgRestrictionTypes.
Comment 3 Roan Kattouw 2011-01-05 16:29:00 UTC
*** Bug 26573 has been marked as a duplicate of this bug. ***
Comment 4 Umherirrender 2011-01-05 16:33:02 UTC
(In reply to comment #2)
> Upload protection? I didn't know that even existed. If it does, it should be in
> $wgRestrictionTypes.

bug 6579
Comment 5 Bryan Tong Minh 2011-01-05 18:43:52 UTC
Let me take blame for this mess :p
Comment 6 Bryan Tong Minh 2011-01-05 19:18:46 UTC
r79655

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links