Last modified: 2011-10-12 01:16:47 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 T4261, the corresponding Phabricator task for complete and up-to-date bug report information.
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
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.4.x
All All
: Lowest minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 1735
Blocks:
  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: ---


Attachments

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.


Navigation
Links