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
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---

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

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.

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.
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

Still having this issue.  See .

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.