Fix links to users with spaces in their usernames

In the sidebar, urlencode was replacing spaces in users' usernames with a
+, which MW doesn't like. rawurlencode replaces them with %20, so this
should fix.

Change-Id: I2747177da8468024be567b8969a1b0e67e4f19cf