Topic on Project:Support desk

Post-edit confirmation message bubble broken on 1.27.1

12
Mxawng (talkcontribs)

I just updated my MediaWiki instance from 1.25 to 1.27.1 (7c4a46b), running on HHVM 3.6.6 (srv) both before and after. Things seem to be working fine overall, but I've noticed that the post-edit confirmation dialog is broken. Instead of appearing center-top with a friendly piece of feedback, it appears in the top left, elongated and empty, and pushing the nav buttons down for a bit until it disappears.

Anyone know what might be wrong?

Subfader (talkcontribs)

Same, just without the box, only text.

Seb35 (talkcontribs)

So probably a similar treatment will work: go on your page "MediaWiki:Common.css" (and "MediaWiki:Vector.css" if the first didn’t solve the issue) and clean them. There is probably some CSS rule modifying the style of this box. An interesting (and probably good) practice is to comment the various rules to know where it should apply, and when possible try to use the CSS specificity to give some rules a high priority and be sure they apply only on some restricted parts.

Mxawng (talkcontribs)
Seb35 (talkcontribs)

This is the 'postedit' notification. I found this old bug which is perhaps similar as well as this flash of unstyled content more recently.

What is the browser you are using when you see this issue? Can you try another browser? In any case, be sure you clear your cache before testing (Ctrl-F5 or Ctrl-R).

Mxawng (talkcontribs)

I can repro on both the most recent version of Chrome and the most recent version of Firefox.

Mxawng (talkcontribs)

For me, the dialog shows up, and then disappears. It's very natural, but the styling is incorrect the whole time (the text is not even visible).

Seb35 (talkcontribs)

Ok, check you don’t have custom CSS rules in your "MediaWiki:Common.css". Else I guess it is a new bug and it’s great (in a sense) you can reproduce it, can you create a report on Phabricator with a link to the screenshot? You can connect to Phabricator with your MediaWiki.org account. And is your wiki public?

Mxawng (talkcontribs)

Oof, blanking MediaWiki:Common.css fixed the issue.

Mxawng (talkcontribs)

Whoops, hit Enter too soon.

I have no recollection of where my wiki's Common.css came from—I added it a long time ago when I had no idea what I was doing; pretty sure I just copied it from either MediaWiki or Wikipedia. Is there anything typically in Common.css that's "necessary" for correctness, for some useful definition of necessary that you might be able to provide?

Thanks for the help—really appreciated!

Ciencia Al Poder (talkcontribs)

Common.css is blank by default, and nothing should be "necessary" to put there. That's part of the customizations you want to do on your wiki.

Seb35 (talkcontribs)

Happy it fixed your issue :)