Page MenuHomePhabricator

Special:GlobalRenameRequest button is too small
Closed, ResolvedPublic

Description

In French, the globalrenamerequest-submit-text message is “Demander un changement de nom” (I cannot find a shorter version without loosing information), which is too long for the input where it is included.

T88214.png (570×1 px, 46 KB)

Seen on mw.org; same issue exists for (at least) Spanish and German.

Event Timeline

Ltrlg raised the priority of this task from to Needs Triage.
Ltrlg updated the task description. (Show Details)
Ltrlg subscribed.
Ltrlg set Security to None.
Glaisher subscribed.

Looks like an issue with MediaWiki UI rather than CA itself.

The input fields on the screenshot and the ones on the link look different. The one in the screenshot seem to have the mw-ui-input class applied.

The issue is happening because VForm adds the mw-ui-big class on the submit form. The text fits properly once its removed.

Screen_Shot_2015-03-19_at_1.52.29_PM.png (299×311 px, 22 KB)

Another option is to not use VForm and build a normal HTMLForm. But that would make it way too wide.

Screen_Shot_2015-03-19_at_1.54.42_PM.png (305×1 px, 28 KB)

I think the best option would be to setId on the HTMLForm and set the width from a CSS within the extension.

Screen_Shot_2015-03-19_at_1.56.11_PM.png (722×973 px, 151 KB)

Change 291595 had a related patch set uploaded (by Glaisher):
Convert Special:GlobalRenameRequest to OOUI

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

Change 291595 merged by jenkins-bot:
Convert Special:GlobalRenameRequest to OOUI

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

Prtksxna assigned this task to Glaisher.

(Argh, that screenshot is actually misleading, I've only now noticed that the text of the message has been changed. But either way, the new button will just get wider to accommodate the text.)

...and the screenshots in the description and my comment make it even more misleading :(