Page MenuHomePhabricator

Add discussion button appears in talk pages which does not have wikitext content model
Closed, ResolvedPublicBUG REPORT

Description

The giant Add discussion button and "There are no discussions on this page" message appears on pages in talk namespaces even when content model is not wikitext.

Steps to Reproduce:
  • Go to a page in one of the talk namespace.
  • Change it's content model from Wikitext to something else.
Actual Results:
  • The big Add discussion button is displayed even if the page content model is not wikitext. And a message stating "There are no discussions on this page" is displayed.
Expected Results:
  • The big Add discussion button is not shown if the page content model is not wikitext. No message appears.
Screenshot

Screenshot of https://commons.m.wikimedia.beta.wmflabs.org/wiki/Talk:Test when the content model of the page is json.

QA steps

Event Timeline

Masumrezarock100 renamed this task from Add discussion button appears in talk page which content model is not wikitext to Add discussion button appears in talk pages which does not have wikitext content model.Nov 16 2019, 3:16 PM
Masumrezarock100 updated the task description. (Show Details)

Is this the same as T237589 ? I think they have the same underlying problem

Is this the same as T237589 ? I think they have the same underlying problem

That's only for flow talk pages. Isn't it?

@Isarra In timeless skin, I am seeing a "New topic" hyperlink in talk pages which does not have wikitext content model.

Is this the same as T237589 ? I think they have the same underlying problem

That's only for flow talk pages. Isn't it?

No. The fix will handle anything that's not the wikitext content model.

Is this the same as T237589 ? I think they have the same underlying problem

That's only for flow talk pages. Isn't it?

No. The fix will handle anything that's not the wikitext content model.

Then it's the same.

Change 552908 had a related patch set uploaded (by Nray; owner: Nray):
[mediawiki/skins/MinervaNeue@master] Make talk page explained message only appear on wikitext content model talk pages

https://gerrit.wikimedia.org/r/552908

Change 552908 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] Make talk page explained message only appear on wikitext content model talk pages

https://gerrit.wikimedia.org/r/552908

nray updated the task description. (Show Details)

Not seeing blue button or message appear anymore

Not seeing blue button or message appear anymore

Yeah, same here. Thanks for fixing this.

ovasileva claimed this task.

looks good, all done!