There is a problem in the workflow to add a new talk topic to any talk page that is not a talk page for the NS_MAIN namespace.
Note: This seems to work fine on a talk page e.g. Talk:Foo but not a user talk page e.g. User talk:Foo or a module talk page e.g. https://en.m.wikipedia.beta.wmflabs.org/wiki/Module talk:Foo#
Reproduction:
- Visit a user talk page and tap "add discussion".
- Enter some text and press save.
- Refresh the page.
Expected
New topics are shown immediately.
Actual
The new topic is added but not shown until refresh.
acceptance criteria
- There is some logic inside resources/skins.minerva.talk/init.js to reload the page when a talk discussion is added (see inTalkNamespace variable). It doesn't seem to be running in any other namespace than namespace 2. Why?
- Opportunistic refactoring - instead of using a global event the talk-added-wo-overlay event should be local to the current TalkOverlay.
developer notes
This will require changes in Minerva + MobileFrontend.