Last modified: 2008-12-12 04:55:20 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 12716 - Unprotecting a non-protected page leaves a log entry
Unprotecting a non-protected page leaves a log entry
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-20 21:59 UTC by MZMcBride
Modified: 2008-12-12 04:55 UTC (History)
6 users (show)

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


Attachments
change to Title.php (462 bytes, patch)
2008-07-03 04:29 UTC, OverlordQ
Details

Description MZMcBride 2008-01-20 21:59:42 UTC
It's possible to "unprotect" a page without protection ever having been set. If you use &action=unprotect on a page and confirm the protection, it leaves a log entry.

Generally this wouldn't really matter, however, people sometimes use scripts and they accidentally hit the wrong button / link, causing an awkward log entry.
Comment 1 Roan Kattouw 2008-01-21 15:05:03 UTC
Fixed in r30020
Comment 2 MZMcBride 2008-07-03 03:49:52 UTC
Apparently this is still possible. http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=protect&user=&page=User%3ARjd0060%2Fprottest&year=&month=-1

Status changed to REOPENED.
Comment 3 OverlordQ 2008-07-03 04:29:05 UTC
Created attachment 5042 [details]
change to Title.php

A change similar to r30020 to check the return of the SQL UPDATE/DELETE of Title Protection should fix this?

Tests 1-4 before patch, tests 5-12 after.
http://www.thedarkcitadel.com/w/index.php?title=Special:Log&page=Sandbox
Comment 4 SQL 2008-07-03 04:39:21 UTC
Confirmed this behavior on my testwiki, and, confirmed the patch as working.
Comment 5 Chad H. 2008-07-03 05:26:04 UTC
Done in r36967
Comment 6 Ryan (Rjd0060) 2008-12-12 04:13:02 UTC
REOPENED

Still having this issue.  See http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=protect&user=&page=User+talk%3ARjd0060%2Ftest&year=&month=-1 .

I set an expiry and a protection reason and clicked confirm, which logged the unprotection, even though the page was never protected.
Comment 7 Aaron Schulz 2008-12-12 04:55:20 UTC
Fixed in r44493

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


Navigation
Links