mediawiki-skins-MinervaNeue/includes/skins
Nicholas Ray 071aa7a0c9 Enable Simplified Talk Page only on Pages With Expandable Sections
This patch should knock out two bugs we were seeing with the simplified
talk page:

1) Removes the "Add discussion" button and "There are no discussions"
message from appearing on Flow enabled talk pages.

2) Removes the "Read as wiki page" and "Active Discussions"/"There
are no discussions" message we were seeing on Minerva desktop talk
pages.

To address when the "There are no dicussions"/"Active Discussions"
message and "Read as wikipage" button are displayed, Minerva now listens
to MobileFrontend's `MobileFrontendBeforeDOM` hook and turns on the
simplified talk page (via a skin option) when this hook runs.

To address when the "Add discussion" button is added, a check was added
to SkinMinerva which only adds it to a talk page if the content model is
wikipage. Unfortunately, we can't just check the skin option because we
also want to display the button on desktop minerva.

Other changes:

* Moves around the logic in `getTalkPagePostHeadingHTML` for improved
readability

Bug: T237589
Bug: T237597
Change-Id: I83fd5cab174d90b24a5335f2b30c912c3b68040a
2019-11-20 21:41:43 +00:00
..
banners.mustache Minerva is its own skin 2017-07-12 08:12:40 -07:00
footer.mustache Add DataAfterContent to footer (SkinAfterContent hook) 2019-06-20 01:49:05 +00:00
history.mustache Refactor "last-modified" bar to use flexbox layout. 2019-09-27 00:03:14 +00:00
menu.mustache MainMenu is a controller not a View and server rendered (take 2) 2019-10-29 16:37:04 -07:00
menuGroup.mustache MainMenu is a controller not a View and server rendered (take 2) 2019-10-29 16:37:04 -07:00
minerva.mustache Echo is removed from Minerva 2019-10-08 23:21:12 +00:00
MinervaTemplate.php MainMenu is a controller not a View and server rendered (take 2) 2019-10-29 16:37:04 -07:00
SkinMinerva.php Enable Simplified Talk Page only on Pages With Expandable Sections 2019-11-20 21:41:43 +00:00
SkinUserPageHelper.php Hygiene: SkinUserPageHelper should support Title = null 2019-06-04 17:17:58 +02:00
user_page_links.mustache Remove "uploads" link from userpages 2019-10-02 00:11:13 +01:00