Page MenuHomePhabricator

VisualEditor: Make MW's core "edit source" functionality load in-page
Open, LowPublicFeature

Description

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.


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

Details

Reference
bz42141

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:07 AM
bzimport set Reference to bz42141.

This would be nice, but goes far beyond current functionality of MW core, so marking as low priority.

(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.

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).
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:14 AM
Aklapper removed a subscriber: TrevorParscal.