"Add topic" button gets duplicated when previewing and saving in mobile DiscussionTools.
Description
Description
Details
Details
Related Changes in Gerrit:
Related Objects
Related Objects
- Mentioned In
- T317467: Enable DiscussionTools mobile on beta en.wiki, disable MobileFrontend talk page selenium test
- Mentioned Here
- T316175: Make the mobile Add Topic button easier for people to access
T323376: Fix uses of OutputPageBeforeHTML hook in popular extensions that assume it is only executed once per page view
T317467: Enable DiscussionTools mobile on beta en.wiki, disable MobileFrontend talk page selenium test
Event Timeline
Comment Actions
Change 858618 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/extensions/DiscussionTools@master] Use 'BeforePageDisplay' instead of 'OutputPageBeforeHTML' for once-per-page things
Comment Actions
This turns out to be the same problem as T316175#8405061 and T323376, and my patch for those issues works to fix it.
Comment Actions
Change 858618 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] Use 'BeforePageDisplay' instead of 'OutputPageBeforeHTML' for once-per-page things
Comment Actions
✅ "Add topic" button isn't duplicated when previewing and saving in mobile DiscussionTools
https://photos.app.goo.gl/HhELCdNEhkiY25uR7