mediawiki-extensions-Visual.../modules/ve-mw/init/targets
Bartosz Dziewoński 37e349913e If VE was opened on action=edit URL, redirect to view URL when closing
We already do it after save, but not if the editor is closed without
saving.

This behavior is a bit awkward for non-existent pages (redlinks),
since MediaWiki normally doesn't display them in view mode (all links
point to action=edit). But this seems less weird than not allowing the
editor to be closed.

Bug: T122388
Bug: T168338
Change-Id: Id9ee41356f011dfbfa6e8744b8d9076f8eacaf39
2018-06-22 01:10:11 +02:00
..
ve.init.mw.DesktopArticleTarget.init.js Move module pre-loading from DAT.init to ArticleTarget 2018-06-10 16:07:44 +01:00
ve.init.mw.DesktopArticleTarget.js If VE was opened on action=edit URL, redirect to view URL when closing 2018-06-22 01:10:11 +02:00
ve.init.mw.MobileArticleTarget.js MobileArticleTarget: Include placeholder for references 2018-05-24 17:18:50 +00:00