Merge remote-tracking branch 'upstream/master' into json
Merge remote-tracking branch 'upstream/master' into json
Preserve the bounding box when redirecting history URLs

Using the options style for the redirect seems to cause parameters
to be preserved, which the path style of redirect does not.
Force the X-Page-Title value to be treated as UTF-8

This is basically a black magic hack to get javascript to treat
a string as UTF-8 and decode it to the correct form.

http://monsur.hossa.in/2012/07/20/utf-8-in-javascript.html
Drop monkey patch now we're using option style redirects

Option style redirects escape path parameters correctly, so we
can drop out monkey patch.
Add 'x' to close welcome box; remember preference
Strip any trailing slash from the initial location
Fix stripping of trailing slash
Fix URL updating in Potlatch 1

Potlatch 1 has hard coded calls to updatelinks, so rename the
updatelinks function to updateLinks and add an updatelinks function
using the old style argument list for Potlatch 1 to call.
Fix javascript eror redirecting to new notes
Prevent wrapping of dates in message lists
Localisation updates from https://translatewiki.net.
Removed bogus translation
Drop click handler for changeset entries in the history sidebar

The default click handler in index.js handles them fine, and as this
one was not calling preventDefault both were actually firing in some
browsers, causing the changeset to be loaded twice and two history
entries to be created.
Restore click handler for changeset entries

The default click handler only handle the, not the rest of the
entry, so retore the handler but add an e.preventDefault() call
to stop the second handler running.
Remove unused strings
Restore legacy bbox/min/max params support

https://trac.openstreetmap.org/ticket/5050
https://trac.openstreetmap.org/ticket/5051
Support legacy bbox param on /history as well

Fixes #586
Don't show "Load More" if we found less than 20 changesets
Document need for a Javascript runtime