Last modified: 2010-05-15 16:03:37 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.
I view this differently: When a user talk page is deleted, all user notifications about new messages on that page should be reset.
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).
Fixed in r35133