Background
In T177215: Build download button for mobile PDF download, a portion of the acceptance criteria was to only display the button on the article namespace. In implementation however we only excluded it from showing on the MAIN page but it still shows up in pages other than the main namespace and failed to pick up on this mistake within our process.
Acceptance criteria
- only show the button when the namespace is 0 (NS_MAIN).
- do not show button on main page
Steps to reproduce
Change has been enabled on https://reading-web-staging.wmflabs.org/
expected: no download button appears on main page
expected: download page only shows on main namespace e.g. not on pages such as Talk:Foo etc..