Page MenuHomePhabricator

$wgSitename problematic
Closed, ResolvedPublic


The value of $wgSitename can only be about 20 chars before things start to be ugly.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 27 2019, 2:18 PM
Sophivorus added a comment.EditedJun 27 2019, 2:18 PM

The Foreground skin solves this issue by providing a configuration prameter "wikiName" allowing to override the site name just for the display in the top bar of the skin.

On mobile devices only 10 chars are allowed for the same reason.

Another solution is moving the logo + sitename above the search bar. This has the downside of a larger header, but a larger logo is usually appreciated.

Sophivorus updated the task description. (Show Details)Jun 27 2019, 2:30 PM

On the other hand we are talking about a mobile skin ... Still this approach may be cool too. I leave the decision to you.

Sophivorus moved this task from Backlog to Features on the Poncho board.Jun 27 2019, 2:32 PM

Change 520049 had a related patch set uploaded (by Sophivorus; owner: Sophivorus):
[mediawiki/skins/Poncho@master] Several bug fixes and improvements

Change 520049 merged by Sophivorus:
[mediawiki/skins/Poncho@master] Several bug fixes and improvements

Sophivorus closed this task as Resolved.Jul 1 2019, 5:54 PM

The new config option $wgPonchoSitename (see allows to shorten the title or remove it completely when it's too long. Also the recent changes to the skin allow titles considerably longer before the mobile layout starts to break.

Kghbln added a comment.Jul 1 2019, 7:20 PM

Just tested this. This is utterly cool. Thanks a lot!