Last modified: 2011-02-25 11:49:36 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 T29680, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27680 - [Regression!] Special:Watchlist/edit doesn't have wgCanonicalSpecialPageName = "Watchlist"
[Regression!] Special:Watchlist/edit doesn't have wgCanonicalSpecialPageName ...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Watchlist (Other open bugs)
1.17.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test2.wikipedia.org/wiki/Speci...
: 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: ---


Attachments

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 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.
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.


http://translatewiki.net/wiki/Special:Watchlist/edit
> wgCanonicalSpecialPageName
false
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.


Navigation
Links