As a developer, I want to write browser tests without knowing the repo’s configuration, in order to ensure software quality.
As a Wikibase user, I want to link to entities on another repository without knowing that repository’s entity namespaces.
**Problem:**
`Special:EntityPage` exists to redirect requests to the correct namespace for an entity (e. g. `Special:EntityPage/Q1` may redirect to `Q1` or `Item:Q1`). However, it discards any query parameters, so you can’t use it e. g. to link to a specific revision, or to an entity’s history.
**Example:**
* `Special:EntityPage/Q6?revision=123`
* `Special:EntityPage/Q6?action=history`
**Acceptance criteria:**
* The `revision` parameter is passed through.
* The `action` parameter is passed through.
**Open questions:**
* Which other parameters should be passed through? `undo`/`undoafter`/`restore`?