Last modified: 2014-02-28 23:52:36 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 T44141, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42141 - VisualEditor: Make MW's core "edit source" functionality load in-page
VisualEditor: Make MW's core "edit source" functionality load in-page
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-15 05:43 UTC by MZMcBride
Modified: 2014-02-28 23:52 UTC (History)
6 users (show)

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


Attachments

Description MZMcBride 2012-11-15 05:43:10 UTC
Currently to view the underlying wikitext of a page that's in a namespace where VisualEditor is active, one clicks an "edit source" tab. However, when editing, if you want to see the underlying wikitext but not lose your changes or really just not have to reload the page, that isn't possible. It'd be awfully nice if you could toggle between wikitext and the VisualEditor interface without needing to reload the page.
Comment 1 James Forrester 2012-11-15 22:23:04 UTC
This would be nice, but goes far beyond current functionality of MW core, so marking as low priority.
Comment 2 MZMcBride 2012-11-15 22:44:58 UTC
(In reply to comment #1)
> This would be nice, but goes far beyond current functionality of MW core, so
> marking as low priority.

It's unclear to me at which stage the visual document that a user is editing is converted to wikitext.
Comment 3 James Forrester 2012-11-15 23:30:56 UTC
When a user presses "Save page" (for the second time, as you point out):
* the HTML DOM gets converted to Parsoid-format HTML+RDFa,
* this HTML+RDFa is squirted at Parsoid, 
* Parsoid converts it to wikitext, and
* Parsoid saves it to the DB (using the user permissions/etc. as provided by VE from the user session).

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


Navigation
Links