Last modified: 2011-02-25 11:49:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 27680 - [Regression!] Special:Watchlist/edit doesn't have wgCanonicalSpecialPageName = "Watchlist"
[Regression!] Special:Watchlist/edit doesn't have wgCanonicalSpecialPageName ...
Product: MediaWiki
Classification: Unclassified
Watchlist (Other open bugs)
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
: code-update-regression
Depends on:
Blocks: 26676 27339
  Show dependency treegraph
Reported: 2011-02-24 13:38 UTC by Krinkle
Modified: 2011-02-25 11:49 UTC (History)
4 users (show)

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


Description Krinkle 2011-02-24 13:38:37 UTC
On [[Special:Watchlist/edit]] wgCanonicalSpecialPageName used to be set to "Watchlist" (like you can see on 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.
Comment 1 Niklas Laxström 2011-02-24 13:41:47 UTC
FYI: Works on trunk
Comment 2 Alexandre Emsenhuber [IAlex] 2011-02-25 09:39:52 UTC
Works for me, I have "wgCanonicalSpecialPageName": "Watchlist" in page's source code.
Comment 3 Krinkle 2011-02-25 11:13:00 UTC
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.
> wgCanonicalSpecialPageName
Comment 4 Alexandre Emsenhuber [IAlex] 2011-02-25 11:49:36 UTC
Fixed in r82791; but that's a MW 1.18+ bug.
For the record: I tested the latter.

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