Last modified: 2011-02-25 11:49:36 UTC
On [[Special:Watchlist/edit]] wgCanonicalSpecialPageName used to be set to "Watchlist" (like you can see on test2.wikipedia.org which runs 1.16wmf4)
But in 1.17 this is set to false, as if it's not a special page.
This breaks scripts that use wgCanonicalSpecialPageName to execute scripts on the watchlist editor to automatically remove or add things in a batch. wgPageName can't be used since it changes per language and can't be used cross-wiki.
FYI: Works on trunk
Works for me, I have "wgCanonicalSpecialPageName": "Watchlist" in page's source code.
Did you test it on "Special:Watchlist" or "Special:Watchlist/edit" ?
The latter is what this bug is about and both 1.17wmf branch and 1.18alpha translatewiki/trunk do not have a canonical special page name for the edit page, which 1.16 did.
Fixed in r82791; but that's a MW 1.18+ bug.
For the record: I tested the latter.