Last modified: 2011-10-12 01:16:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2261 - Protect/unprotect do not verify if the page is already protected/unprotected
Protect/unprotect do not verify if the page is already protected/unprotected
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
All All
: Lowest minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 1735
  Show dependency treegraph
Reported: 2005-05-29 16:11 UTC by Diego Pedroso
Modified: 2011-10-12 01:16 UTC (History)
0 users

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


Description Diego Pedroso 2005-05-29 16:11:29 UTC
I use robots to do jobs like protecting/unprotecting pages easier. Sometimes I
want to protect or unprotect some pages as a whole, and those pages can be
either protected or unprotected.

I found out that the wiki doesn't warn me when I try to protect a page already
protected. Also, the wiki adds the action to the protection log even if the page
was already protected before.

I can reproduce it when accessing the page with "&action=protect" on a page
already protected (or "&action=unprotect" on a page unprotected). If I confirm
the operation, it goes directly back to the article (no action successful page
or anything) and logs the action to the protection log.
Comment 1 Anders Wegge Jakobsen 2005-05-29 20:45:38 UTC
Why is this a problem? The page does not change protection status by being
protected one more time. 

Comment 2 Diego Pedroso 2005-05-30 06:43:22 UTC
Protecting one more time makes the status to appear on the protection log one
more time.
Comment 3 Antoine "hashar" Musso (WMF) 2005-12-15 21:26:52 UTC
Fixed in HEAD, will be in 1.6.

Now show the article instead of showing again the (un)?protect box.

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