Page MenuHomePhabricator

Special:Watchlist not showing a link to Special:GlobalWatchlist
Closed, ResolvedPublic4 Estimated Story PointsBUG REPORT

Description

Reproducable at:
beta cluster metawiki: https://meta.wikimedia.beta.wmflabs.org/wiki/Special:Watchlist
production testwiki: https://test.wikipedia.org/wiki/Special:Watchlist
Not reproducible at: patchdemo with GlobalWatchlist master and no other extensions enabled, with MediaWiki:Sidebar copied from testwiki - https://patchdemo.wmflabs.org/wikis/1ec5b0d5b04520a39832bb3dc4a0533f/w/index.php/Special:Watchlist

Is there another extension or configuration option that is messing with this?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyS712 changed the subtype of this task from "Task" to "Bug Report".
DannyS712 set the point value for this task to 4.Feb 10 2021, 12:46 AM

Found it - appears to be caused by $wgEnableSidebarCache

Change 663075 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/GlobalWatchlist@master] Switch sidebar hook to onSidebarBeforeOutput

https://gerrit.wikimedia.org/r/663075

Found it - appears to be caused by $wgEnableSidebarCache

Confirmed to be the issue locally:

  • View Special:Watchlist and confirm that has the link, as expected
  • Enable $wgEnableSidebarCache
  • View Special:Watchlist and see that it is now missing the link
  • Checking the commit above to switch the hook, and see that it now works

Change 663075 merged by jenkins-bot:
[mediawiki/extensions/GlobalWatchlist@master] Switch sidebar hook to onSidebarBeforeOutput

https://gerrit.wikimedia.org/r/663075

Change 663398 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/GlobalWatchlist@wmf/1.36.0-wmf.30] Switch sidebar hook to onSidebarBeforeOutput

https://gerrit.wikimedia.org/r/663398

Change 663398 merged by jenkins-bot:
[mediawiki/extensions/GlobalWatchlist@wmf/1.36.0-wmf.30] Switch sidebar hook to onSidebarBeforeOutput

https://gerrit.wikimedia.org/r/663398

DannyS712 claimed this task.
DannyS712 moved this task from In progress to Done on the MediaWiki-extensions-GlobalWatchlist board.
DannyS712 set Final Story Points to 3.