HomePhabricator

Fix URL generation for page names containing slashes in live RC JS by using mw.

Authored by Jack Phoenix <ashley@uncyclomedia.co> on Jan 1 2020, 1:59 PM.

Description

Fix URL generation for page names containing slashes in live RC JS by using mw.util.getUrl()

Previously for a page named "Foo/Bar" the slash would get URL-encoded, which would then take the user to a HTTP 404 page instead of the desired wiki page.

Details

Event Timeline

Jack Phoenix <ashley@uncyclomedia.co> committed rLSfd15db1beaf8: Fix URL generation for page names containing slashes in live RC JS by using mw. (authored by Jack Phoenix <ashley@uncyclomedia.co>).Jan 1 2020, 1:59 PM