Invalid titles cannot be unwatched via Special:Watchlist/edit
Closed, ResolvedPublic

Description

If you watchlist a page with a name beginning with "Talk:Foo:", where "Foo" is a
namespace prefix such as "User" or "Image", the page cannot be unwatched via
Special:Watchlist/edit, since it will be listed without the "Talk:" prefix.
Such pages are occasionally created, usually by mistake, and may end up in the
watchlists of new page patrollers.

Simply including the "Talk:" prefix in the checkbox value attribute in such
cases would be sufficient to fix the problem.

http://bugzilla.wikimedia.org/show_bug.cgi?id=2871 is related to this bug, but
neither depends on nor blocks it.


Version: unspecified
Severity: minor
URL: http://wikimania2006.wikimedia.org/wiki/Talk:En:

bzimport added a project: MediaWiki-Watchlist.Via ConduitNov 21 2014, 9:10 PM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz5280.
Ilmari_Karonen created this task.Via LegacyMar 18 2006, 12:59 AM
bzimport added a comment.Via ConduitApr 26 2006, 11:43 AM

gangleri wrote:

Hallo Ilmari,

This aplieas also for interwiki prefixes. See:
http://wikimania2006.wikimedia.org/w/index.php?title=Talk:En:&action=watch
http://wikimania2006.wikimedia.org/wiki/Special:Watchlist/edit
Use
http://wikimania2006.wikimedia.org/w/index.php?title=Talk:En:&action=unwatch
to remove 'Talk:En:' from the watchlist.

Because 'User:', 'Image:', etc. '<interwiki_prefix>:' are invalid titles I would
suggest that 'talk:User:', 'talk:Image:', etc. 'talk:<interwiki_prefix>:' should
be invalid titles as well. This is probably another bug / request.

"complications"
http://wikimania2006.wikimedia.org/wiki/Talk:Special:Allpages
is a title which reminds
Bug 509: Multiple namespaces confuses some users.

best regards reinhardt [[user:gangleri]]

aaron added a comment.Via ConduitJan 4 2009, 9:39 AM

Such titles are now invalid as of r45389

aaron added a comment.Via ConduitJan 6 2009, 3:54 PM

OK, someone can run cleanupWatchlist.php to clear these out

brion added a comment.Via ConduitJan 7 2009, 2:56 AM

This is doing really weird things, like normalizing 'Talk:Wikipedia:Foo' to 'Wikipedia:Talk:Foo' which then redirects me to 'Talk:Foo' at Wikipedia.

Need to create some test cases for this if it's redone.

Reverted in r45479

Ilmari_Karonen added a comment.Via ConduitJan 7 2009, 4:40 AM

I assume (In reply to comment #4)

This is doing really weird things, like normalizing 'Talk:Wikipedia:Foo' to
'Wikipedia:Talk:Foo' which then redirects me to 'Talk:Foo' at Wikipedia.

I assume that's on a default install, where "wikipedia" is an interwiki prefix? I'm not sure what it should do, then, given that "wikipedia:Foo" is not a valid local title, and thus cannot meaningfully have a local talk page.

Ilmari_Karonen added a comment.Via ConduitJan 7 2009, 4:44 AM

...but yes, it's probably broken: if I tried that on my Finnish-language test wiki, it would turn "Keskustelu:Wikipedia:Foo" into "wikipedia:Keskustelu:Foo" and then try to go to "Keskustelu:Foo" on the _English_ Wikipedia. Probably it should just treat titles of the form "Talk:interwiki:Foo" as invalid.

brion added a comment.Via ConduitJan 20 2009, 10:14 PM

(This was redone in r45780)

Better, but not quite there; it's still allowing pages like 'Talk:Wikipedia:Foo', for which 'Wikipedia:Foo' is an interwiki link.

siebrand added a comment.Via ConduitFeb 2 2009, 11:42 AM

Changing component to "Watchlist"

Jidanni added a comment.Via ConduitMar 15 2009, 6:32 PM

One also should run cleanupTitles.php: see
http://mid.gmane.org/7c2a12e20903121355j587246e2ma68fec54f79d6e17@mail.gmail.com ,
Bug #11487.

bzimport added a comment.Via ConduitMar 19 2009, 3:49 PM

mike.lifeguard+bugs wrote:

(In reply to comment #7)

(This was redone in r45780)

Better, but not quite there; it's still allowing pages like
'Talk:Wikipedia:Foo', for which 'Wikipedia:Foo' is an interwiki link.

"not quite there" sounds like more coding is needed - is the shell keyword appropriate in that case?

brion added a comment.Via ConduitMar 19 2009, 6:10 PM

No.

brion added a comment.Via ConduitMar 19 2009, 6:15 PM

Rather -- shell tag indicates a need to run a database cleanup to clear out existing bad entries. This bug also includes fixups to forbid the half-bogus pages to begin with, which is not a shell issue.

Dinoguy1000 added a comment.Via ConduitNov 3 2010, 2:46 AM

This also applies for custom namespaces - if you watchlist a page in a pseudonamespace, and that pseudonamespace is later added as a custom namespace, you end up with one of these invalid watchlist entries.

These titles can be removed in Special:Watchlist/raw by copying the list of titles into your text editor of choice and removing the offending title(s) from the pasted list, blanking the list in Special:Watchlist/raw and saving it (thus blanking your watchlist), and then pasting the modified list back into Special:Watchlist/raw and saving again.

Pseudonamespaces may not be much of a problem on Wikimedia wikis, but are more so on Wikia (where I observed this variant of the bug and figured out the solution), and definitely on other third-party installations.

Reedy added a comment.Via ConduitJul 6 2011, 10:01 PM
  • Bug 24280 has been marked as a duplicate of this bug. ***
MaxSem added a comment.Via ConduitFeb 9 2012, 8:40 PM

Fixed in r111085.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.