Last modified: 2013-01-14 22:12:44 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 T40123, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38123 - moving a protected page broke the logs
moving a protected page broke the logs
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page protection (Other open bugs)
1.20.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-02 20:26 UTC by kipod
Modified: 2013-01-14 22:12 UTC (History)
3 users (show)

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


Attachments

Description kipod 2012-07-02 20:26:25 UTC
REPLICATION
===========
-- protect a page. note "protect" operation in protection log and in history.
-- move the page (redirection created).
-- note that both moved page ("target") and redirection ("source") are now protected. the "protect" action exists in the target's history but not in the target's protection log. actually, target's log is empty (except of the "move").

WHY THIS BEHAVIOR SHOULD BE CONSIDERED A BUG ?
==============================================
so as far as logs are concerned, the protect operation now appears only in the source log, even though the source is brand new, with empty history. 

if the move was done with the intention re-using the source page for a completely different content, the log-entry is confusing at best (it shows for a date and time where this page did not even exist yet - the "source" page begun its existance when the move was executed).

if the move was done with the intetion of asking for its deletion, once it's deleted we lose the log entry completely.

WHAT SHOULD BE THE CORRECT BEHAVIOR?
====================================
-- when moving a page, all its logs should move also
-- when moving a protection page and creating a redirect page, the redirect should *not* be protected.
-- if you disagree and think the newly created redirect page should assume the same protection level as the page that was moved, then it should contain one log message for the move, and another for the protection, stated something like "automatically" or somesuch.




peace.
Comment 1 kipod 2012-07-02 20:32:40 UTC
s/when moving a protection page/when moving a protected page/
Comment 2 db [inactive,noenotif] 2012-07-05 16:47:41 UTC
You should find a protect log entry under the target like this (at least in 1.20):

HH:MM, DD MM YYYY User (talk | contribs) moved protection settings from "A" to "B" (Reason)
Comment 3 kipod 2012-07-05 23:12:19 UTC
clearly wrong behavior.
logically, the logs are just another part of the page history, "meta-history" if you will.

the same logic that's used vis a vis history, should apply to logs.
when you move a page, the "history" remains with the move target, and the move source starts its life with (almost) clean slate, containng only the move operation as "page was created".
it makes no sense that the historical logs remain with the move source, and the target logs begins from 0 at the date of the move (optionally with "move protection" or somesuch, if the target was protected at the point of the move).

for instance, if the page was protected/unprotected in the past, let's say because of repeated vandalizm, how is it logical that the traces of vandalizm (i.e., page history) are with one page, and the traces of pretection/protection removal (i.e. logs) remain with a different page?

there is no other way to describe this behavior than "bug".
Comment 4 fuhghettaboutit@yahoo.com (Account disabled) 2012-09-13 23:12:45 UTC
I just saw this in action. A user at the en.wikipedia help desk was confused because they could not move a page. I don't know if they actually checked the logs, but in order to tell the user definitively that the page was move-protected, as I immediately suspected, I had the trace back the title through two generations of moves to find the protection log entry for the original title. 

The fact that there were two generations of moves here shows how problematic this could be. There are pages that have been moved many more times than that and there are many people who are not conversant enough to trace back a page to the original entry, though they may have a very good reason for wanting to see not just the automatic log entry but any tailored edit summary that accompanied it.

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


Navigation
Links