Last modified: 2013-05-18 13:48:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49329, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47329 - VisualEditor: Refuse to load for pages which are redirects
VisualEditor: Refuse to load for pages which are redirects
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2013-05-27
Assigned To: Ed Sanders
: easy
Depends on:
Blocks: 48426
  Show dependency treegraph
 
Reported: 2013-04-17 18:49 UTC by James Forrester
Modified: 2013-05-18 13:48 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Forrester 2013-04-17 18:49:28 UTC
In advance of fixing bug 47328 (which will probably be after the July release), we need to prevent the broken behaviour outlined by C. Scott in bug 47328 comment 1 - so just refuse to load on a page which is a redirect?
Comment 1 dayuloli 2013-04-19 11:36:18 UTC
For me, if you tried to edit a redirect page, it loads with the redirected page.
Comment 2 James Forrester 2013-04-19 15:21:00 UTC
(In reply to comment #1)
> For me, if you tried to edit a redirect page, it loads with the redirected
> page.

Yes, this is current behaviour from Parsoid that will be fixed by fixing bug 47328, but that will leave users with a very confusing blank page. That is why I made this bug. :-)
Comment 3 MZMcBride 2013-05-14 23:30:17 UTC
It seems like it would be trivial to check whether the page is a redirect and simply disable VisualEditor if so. I'm adding the "easy" keyword to this bug.
Comment 4 MZMcBride 2013-05-16 00:46:05 UTC
(In reply to comment #3)
> It seems like it would be trivial to check whether the page is a redirect and
> simply disable VisualEditor if so. I'm adding the "easy" keyword to this bug.

It gets a bit trickier if the page does not yet exist, though.
Comment 5 Gerrit Notification Bot 2013-05-17 11:25:13 UTC
Related URL: https://gerrit.wikimedia.org/r/64275 (Gerrit Change I68836156c35c796aa2156c382992b0c105ae34cf)
Comment 6 James Forrester 2013-05-18 13:48:21 UTC
Merged; will go out with wmf5.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links