Page MenuHomePhabricator

Extra character (-) in the title of the Main page for unregistered users in the mobile version
Closed, DuplicatePublicBUG REPORT

Description

Open the https://en.m.wikipedia.org/wiki/Main_Page page without logged in, you will see the " - " is the beginning of the title.
This problem applies to Wikipedia in all languages.

RegisteredUnregistered

It looks due to a bug from https://gerrit.wikimedia.org/g/mediawiki/skins/MinervaNeue/+/4351eba58ba96b7a29b209f1ea915936e895b27e/includes/Skins/SkinMinerva.php#536, if the visitor is an unregistered user (not logged in), $pageTitle = '' and pass to $out->setPageTitle.

This may be a duplicate, but I can't find it.

Event Timeline

Iniquity changed the subtype of this task from "Task" to "Bug Report".
Iniquity renamed this task from <title> - Wikipedia</title> on Mobile homepage to Extra character (-) in the title of the Main page for unregistered users in the mobile version.Feb 11 2021, 10:13 AM
Iniquity updated the task description. (Show Details)
Iniquity updated the task description. (Show Details)