Page MenuHomePhabricator

VisualEditor: Add redirect=no to URL after a page is newly created as a redirect
Closed, ResolvedPublic

Description

When you create a redirect with wikitext, it adds redirect=no.

However, VisualEditor does not (just venotify=created), so you end up going to the target. Besides being inconsistent, that means it's one extra step to check WhatLinksHere, etc.


Version: unspecified
Severity: minor
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=65926

Details

Reference
bz65621

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 3:13 AM
bzimport set Reference to bz65621.

Ick. We shouldn't actually be refreshing the page to the extent that a redirect is triggered, however; did we change this?

Seems to only break if you're creating a new page as a redirect. If you're replacing an existing one with a redirect, it's fine (With the exception of the 'Redirect page' text which it should be adding to #contentSub).

Change 138631 had a related patch set uploaded by Alex Monk:
Add redirect=no to new URL when creating a new page as a redirect

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

Change 138631 merged by jenkins-bot:
Add redirect=no to new URL when creating a new page as a redirect

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