Last modified: 2012-02-09 20:40:40 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 T7280, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5280 - Invalid titles cannot be unwatched via Special:Watchlist/edit
Invalid titles cannot be unwatched via Special:Watchlist/edit
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Watchlist (Other open bugs)
unspecified
All All
: Low minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://wikimania2006.wikimedia.org/wi...
:
: 24280 (view as bug list)
Depends on:
Blocks: 16660
  Show dependency treegraph
 
Reported: 2006-03-18 00:59 UTC by Ilmari Karonen
Modified: 2012-02-09 20:40 UTC (History)
8 users (show)

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


Attachments

Description Ilmari Karonen 2006-03-18 00:59:30 UTC
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.
Comment 1 lɛʁi לערי ריינהארט 2006-04-26 11:43:11 UTC
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]]
Comment 2 Aaron Schulz 2009-01-04 09:39:36 UTC
Such titles are now invalid as of r45389
Comment 3 Aaron Schulz 2009-01-06 15:54:39 UTC
OK, someone can run cleanupWatchlist.php to clear these out
Comment 4 Brion Vibber 2009-01-07 02:56:11 UTC
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
Comment 5 Ilmari Karonen 2009-01-07 04:40:01 UTC
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.
Comment 6 Ilmari Karonen 2009-01-07 04:44:16 UTC
...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.
Comment 7 Brion Vibber 2009-01-20 22:14:43 UTC
(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.
Comment 8 Siebrand Mazeland 2009-02-02 11:42:08 UTC
Changing component to "Watchlist"
Comment 9 Dan Jacobson 2009-03-15 18:32:15 UTC
One also should run cleanupTitles.php: see
http://mid.gmane.org/7c2a12e20903121355j587246e2ma68fec54f79d6e17@mail.gmail.com ,
Bug #11487.
Comment 10 Mike.lifeguard 2009-03-19 15:49:28 UTC
(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?
Comment 11 Brion Vibber 2009-03-19 18:10:11 UTC
No.
Comment 12 Brion Vibber 2009-03-19 18:15:53 UTC
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.
Comment 13 Phillip Patriakeas 2010-11-03 02:46:24 UTC
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.
Comment 14 Sam Reed (reedy) 2011-07-06 22:01:08 UTC
*** Bug 24280 has been marked as a duplicate of this bug. ***
Comment 15 Max Semenik 2012-02-09 20:40:40 UTC
Fixed in r111085.

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


Navigation
Links