Last modified: 2008-09-05 22:58:41 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 T8571, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6571 - Protect page: "Unlock move permissions" appears when "move" is not an option
Protect page: "Unlock move permissions" appears when "move" is not an option
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.7.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://static.flickr.com/51/183372225...
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-06 15:40 UTC by x1
Modified: 2008-09-05 22:58 UTC (History)
2 users (show)

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


Attachments
patch for skins/common/protect.js to make "unlock move permissions" checkbox and label invisible when one or fewer checkboxes (754 bytes, patch)
2006-07-06 15:44 UTC, x1
Details

Description x1 2006-07-06 15:40:36 UTC
The checkbox "Unlock move permissions" appears even though the ability to change
move permissions was removed by setting "$wgRestrictionTypes = array ('edit');"
 in LocalSettings.
Comment 1 x1 2006-07-06 15:44:12 UTC
Created attachment 2055 [details]
patch for skins/common/protect.js to make "unlock move permissions" checkbox and label invisible when one or fewer checkboxes

This patch sets the style property "display: none" to the checkbox and label
corresponding to "unlock move permissions" if one or fewer select boxes are on
the page. For a screenshot with the patch applied, see
http://static.flickr.com/67/183375885_ee0baa4e09_o.png
Comment 2 Rob Church 2006-07-06 15:47:20 UTC
Don't just hide the checkbox, remove it from the form completely and stop the
input from being checked.
Comment 3 Rotem Liss 2006-07-06 16:11:32 UTC
r15375, using a patch to the PHP instead of a patch to the JavaScript (using CSS).
Comment 4 Rotem Liss 2006-07-06 16:45:28 UTC
Reverted, as it causes a JavaScript alertbox when changing the list box when
disabling the move change. The protection code is currently unsuitable for those
configuration settings.
Comment 5 Aaron Schulz 2008-09-05 22:58:41 UTC
No longer seems to be the case

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


Navigation
Links