Page MenuHomePhabricator

[Bug] Special pages don't lead to mobile version
Closed, DuplicatePublic

Description

When editing an item using special pages like http://m.wikidata.beta.wmflabs.org/wiki/Special:SetLabelDescriptionAliases/Q63529/en one gets redirected to the desktop version of the site. The action parameter is generated by $this->getPageTitle()->getFullUrl() in SpecialModifyEntity which seems to ignore the mobile "m" prefix in the url.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Bene raised the priority of this task from to Medium.
Bene updated the task description. (Show Details)
Bene added subscribers: Florian, matej_suchanek, Bene, Aklapper.

Special pages in mediawiki core usually link to /w/index.php and have the title param set as a hidden form value. I'm not sure if we want to do the same in Wikibase but at least we shouldn't use the full url.

Jonas renamed this task from Special pages don't lead to mobile version to [Bug] Special pages don't lead to mobile version.Aug 13 2015, 4:36 PM

The linked patch should fix the problem described here.