Last modified: 2007-02-02 20:35:50 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 T6898, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4898 - Page move causes page to disappear from watchlist
Page move causes page to disappear from watchlist
Status: RESOLVED DUPLICATE of bug 5546
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.6.x
All All
: Normal major with 6 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Amb...
:
: 3067 5912 7181 8804 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-06 21:41 UTC by Edward Z. Yang
Modified: 2007-02-02 20:35 UTC (History)
4 users (show)

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


Attachments

Description Edward Z. Yang 2006-02-06 21:41:01 UTC
When a page is moved, the move does not register on the watchlist, and the
entire page disappears until the next edit is made to the page.

Steps to reproduce:

1. Make a new page (in your user namespace) and add to watchlist (as well as
make a few edits)
2. View watchlist, and see how it shows up (near the top)
3. Move the page
4. View watchlist

Expected results:
We see the page move in our watchlist.

Actual results:
The page disappears from the watchlist!

From user reports, the bug appears to be a regression. There may be a related
bug, but I wasn't able to find it.
Comment 2 Edward Z. Yang 2006-02-06 22:02:43 UTC

*** This bug has been marked as a duplicate of 3465 ***
Comment 3 Edward Z. Yang 2006-02-09 21:28:03 UTC
This bug was marked a duplicate a duplicate of Bug 
3065, but it appears that this is a different bug, so 
reopening.
Comment 4 Brion Vibber 2006-05-12 08:24:11 UTC
*** Bug 5912 has been marked as a duplicate of this bug. ***
Comment 5 Titoxd 2006-06-11 23:36:20 UTC
The same problem occurs when a page's protection status is modified. As both are
"null" revisions, with no change occuring on the current table, maybe the bug
has something to do with that?
Comment 6 Brion Vibber 2006-08-31 08:47:51 UTC
*** Bug 7181 has been marked as a duplicate of this bug. ***
Comment 7 Dallan Quass 2006-10-11 17:43:57 UTC
The page disappears from the watchlist when it is moved because there is no
longer a recentchanges entry where 'rc_this_oldid=page_latest' in the page
table.  So the where clause in the SQL statement issued by SpecialWatchlist
fails.  Note that if you set the 'extendwatchlist' preference, the page does
appear, because this condition is not added to the where clause in that case.

One possible fix (which I implemented to get around this problem) is to remove
the join with the page table in the SQL statement.  Keep a hash of seen
page_namespace+page_title's as you're looping through the query results, and
skip rows for pages you've already seen if 'extendwatchlist' is not checked.  If
you do this, you'll need to calculate $numRows inside the loop, so you need to
move the loop up above the code that generates the bottom header.  It was pretty
easy change to implement, and it has a side-benefit of being more efficient in
many cases because you omit a database join.
Comment 8 Brion Vibber 2006-11-02 18:56:57 UTC
*** Bug 3067 has been marked as a duplicate of this bug. ***
Comment 9 Rob Church 2007-01-28 12:32:56 UTC
*** Bug 8804 has been marked as a duplicate of this bug. ***
Comment 10 Aaron Schulz 2007-02-01 22:32:01 UTC

*** This bug has been marked as a duplicate of 5546 ***
Comment 11 Aaron Schulz 2007-02-01 22:43:22 UTC
The moves not only dont show (bug 5546), but the page is actually not watched
anymore.

Either the watchlist table uses page ids or we add some renaming operation of
watchlist columns to the move function.
Comment 12 Aaron Schulz 2007-02-01 22:51:34 UTC
(In reply to comment #11)
> The moves not only dont show (bug 5546), but the page is actually not watched
> anymore.
> 
> Either the watchlist table uses page ids or we add some renaming operation of
> watchlist columns to the move function.

Nevermind, I was right before. This is already done. The new and old location
our watched. Log items just do show.
Comment 13 Brion Vibber 2007-02-02 18:20:41 UTC

*** This bug has been marked as a duplicate of 5546 ***
Comment 14 Aaron Schulz 2007-02-02 20:35:50 UTC
Opps, I meant "Log items just do not show."

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


Navigation
Links