Last modified: 2010-05-15 16:03:37 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 T16077, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14077 - "You've got new messages" is displayed for a non-existent discussion page
"You've got new messages" is displayed for a non-existent discussion page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.13.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://es.wikipedia.org
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-10 21:07 UTC by Miikka-Markus Alhonen
Modified: 2010-05-15 16:03 UTC (History)
3 users (show)

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


Attachments
Implement "clear new message indicator" (1.36 KB, patch)
2008-05-20 05:03 UTC, Chad H.
Details

Description Miikka-Markus Alhonen 2008-05-10 21:07:59 UTC
I encountered the following problem: I registered myself an account on es.wikipedia.org and didn't write anything on my user pages. Then, for some reason, somebody made a test edit on my discussion page, which was noticed by one of the administrators who then decided to delete the vandalized page altogether, since it had no content besides the misplaced test edit.

Now, the next time I logged in, the system told me I have new messages and offered me links to the discussion page and its latest diff. The first link just told me that the page doesn't exist, and the second one brought up an error message saying "The database did not find the text of a page that it should have found, named ..." (missingarticle). Actually, it took me some while to figure out what's happening. I wasn't sure if the program just didn't know how to display the contents of my page, if I had a problem with my browser's cache or what. Evidently, I figured it out at some point, but not all new users have sufficient knowledge about how MediaWiki works (I already have had user accounts on several other Wikimedia projects) and to them the situation would remain unresolved and perplexing. Any chances getting this fixed? I see bug #2939 is similar, but still different. If the discussion page doesn't exist at all, you can be pretty sure there are no new messages even if the newtalk flag was set.
Comment 1 Huji 2008-05-11 17:07:35 UTC
I view this differently: When a user talk page is deleted, all user notifications about new messages on that page should be reset.
Comment 2 Chad H. 2008-05-20 05:03:15 UTC
Created attachment 4907 [details]
Implement "clear new message indicator"

Not elegant, but works for sure. If $ns is NS_USER_TALK, then we set the $userid to be either the id for the username or the ip address. Later, we use this to delete the offending rows from user_newtalk. Against trunk (r35071).
Comment 3 Aaron Schulz 2008-05-21 05:23:32 UTC
Fixed in r35133

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


Navigation
Links