Page MenuHomePhabricator

[Race condition] Special:Nearby#/page/ (desktop) doesn't work
Closed, ResolvedPublic

Description

nearby.js?36f67:91 Uncaught TypeError: Cannot read property 'decode' of undefined
(anonymous function) @ nearby.js?36f67:91
matchRoute @ Router.js?6f8fa:18
Router.route @ Router.js?6f8fa:103
(anonymous function) @ nearby.js?36f67:88
fire @ load.php?debug=true&lang=de&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=b8iPS4vA:3148
fireWith @ load.php?debug=true&lang=de&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=b8iPS4vA:3260
ready @ load.php?debug=true&lang=de&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=b8iPS4vA:3472
completed @ load.php?debug=true&lang=de&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=b8iPS4vA:3503

The code:

		/*
		 * #/page/PageTitle
		 */
		router.route( /^\/page\/(.+)$/, function ( pageTitle ) {
			$icon.hide();
			refresh( $.extend( {}, options, {
				pageTitle: mw.Uri.decode( pageTitle )
			} ) );
		} );

Event Timeline

Florian created this task.Aug 27 2016, 2:28 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 27 2016, 2:28 PM

Change 307062 had a related patch set uploaded (by Florianschmidtwelzow):
Special:Nearby uses mediawiki.Uri, so add it as a dependency

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

Florian triaged this task as Low priority.Aug 27 2016, 2:32 PM

Change 307062 merged by jenkins-bot:
Special:Nearby uses mediawiki.Uri, so add it as a dependency

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

Florian closed this task as Resolved.Aug 27 2016, 9:00 PM