Page MenuHomePhabricator

[Experimental] Query string disappears after page is loaded
Closed, ResolvedPublic

Description

Author: jgonera

Description:
Go to https://en.m.wikipedia.org/wiki/Bernal_Heights_Summit?debug=1

URL changes to https://en.m.wikipedia.org/wiki/Bernal_Heights_Summit

Anything else than "debug" also disappears.


Version: unspecified
Severity: normal

Details

Reference
bz54580

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:12 AM
bzimport set Reference to bz54580.

This is because of this code in history-alpha.js
wikiGetLink should include the query string parameters as well.

		currentUrl = mw.util.wikiGetlink( title );
		// initial history state does not contain title
		// run before binding to avoid nasty surprises
		History.replaceState( null, title, currentUrl );

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/mobile/cards/1255

Change 86211 had a related patch set uploaded by Jdlrobson:
Ajax Page Loads: Don't drop the query string

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

Change 86211 merged by jenkins-bot:
Ajax Page Loads: Don't drop the query string

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