Page MenuHomePhabricator

Homepage: Czech button extends out of the start module
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce:

Open the homepage in Czech (e.g. https://test.wikipedia.org/wiki/Special:Homepage?uselang=cs)

Actual Results:

The button in the start module for creating your userpage extends over the side of the start module because the translation is so long. This is with me using the full width of my laptop's screen.

image.png (392×894 px, 71 KB)

Expected Results:

The button fits inside the module or the module is large enough to fit it.

Note: this is important to try to address before the May 2 release, because all Czech users will experience this -- it does not only happen when the window is compressed.

Event Timeline

Tagging at @Volker_E in case he has guidance for how to deal with a button that is too long.

@MMiller_WMF If re-labelling isn't possible, if there's no synonym, wrapping the text is the only possibility.
Buttons receive white-space: nowrap by default, so either all buttons in this module or the specific button should be overwritten.
Width and height overflow flexibility are king when it comes to internationalization.

Change 507313 had a related patch set uploaded (by Sbisson; owner: Sbisson):
[mediawiki/extensions/GrowthExperiments@master] Homepage: wrap buttons text

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

Change 507313 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Homepage: wrap buttons text

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

@SBisson
The link "Guidelines for user pages" is removed?

Screen Shot 2019-04-30 at 10.07.01 AM.png (357×858 px, 67 KB)

@SBisson
The link "Guidelines for user pages" is removed?

Screen Shot 2019-04-30 at 10.07.01 AM.png (357×858 px, 67 KB)

It is now above the button.