Steps to replicate the issue (include links if applicable):
- Be logged in
- Have patrol user right
- Use skin: vector (2010)
- Visit a page listed in https://en.wikipedia.org/wiki/Special:NewPages?namespace=2
- (If the toolbar shows up successfully, try reloading the page a few times.)
What happens?:
The curation toolbar fails to appear, whether on the right side of the window or in the "Tools" portlet (minimized). The JavaScript console says Exception in module-execute in module ext.pageTriage.views.toolbar: TypeError: mw.pageTriage.Article is not a constructor.
What should have happened instead?:
The curation toolbar appears. No console error.
Other information (browser name/version, screenshots, etc.):
- Reported by @Nardog
- If this is a regression, This patchset may be to blame. This is where I first spotted the bug.
- Race condition?
- It seems to occur less often if you're visiting the page for the first time than after reloading. This is further given credence by the fact disabling cache also seems to decrease the likelihood of the bug.