Page MenuHomePhabricator

VisualEditor: Redirects have ./ added to them in round-trip
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open a page with VE
2.Go to Page Settings
3.Check the box Redirect this page to and specify the page/article to which it will redirect to.
4.Apply changes
5.Save the page
6.Reopen VE for this page

Observed Result:
The page settings page pops up with ./ appended as prefix to the article name

See the screenshot attached.

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5
Page:http://en.wikipedia.beta.wmflabs.org/wiki/19thfebchrome?veaction=edit


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-02-19_at_4.14.08_PM.png (716×1 px, 201 KB)

Details

Reference
bz61570

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:07 AM
bzimport set Reference to bz61570.

(In reply to ryasmeen from comment #0)

Created attachment 14632 [details]
Screenshot

Steps to reproduce:

1.Open a page with VE
2.Go to Page Settings
3.Check the box Redirect this page to and specify the page/article to which
it will redirect to.
4.Apply changes
5.Save the page
6.Reopen VE for this page

Observed Result:
The page settings page pops up with

That's a feature.

./ appended as prefix to the article name

That's a bug :(

Attached:

Screen_Shot_2014-02-19_at_4.14.08_PM.png (716×1 px, 201 KB)

Change 114381 had a related patch set uploaded by Catrope:
Deal with ./ prefixes etc. in MWRedirectMetaItem

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

Change 114381 merged by jenkins-bot:
Deal with ./ prefixes etc. in MWRedirectMetaItem

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