Page MenuHomePhabricator

Allow previewing of the entire page when editing a section
Open, LowPublic

Description

Author: logikalguy

Description:
I run a small wiki where pages and section tend to be very small, and it would
usually be more useful to see a preview of the entire page when editing a
section, rather than just a preview of the section. It would be nice if there
were a user-level preference for whether to show a preview of the entire page or
just the section being edited.


Version: unspecified
Severity: enhancement

Details

Reference
bz5298

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:09 PM
bzimport set Reference to bz5298.
bzimport added a subscriber: Unknown Object (MLST).

stux wrote:

This actually would be a benefit in pages with images and/or divs that affect
the entire page but reside in different sections. (See
http://www.hrwiki.org/index.php?title=User:Stux&action=edit&section=4 for a very
quick and basic example.) This feature would allow the editor to see how
editing the section affects the entire page. I think a simple check box below
next to "Watch This page" that would read "Preview Entire Page" (and controlling
code) would solve it. Also, a preference to have this box marked by default
(like default "watch") would be nice.

aaron added a comment.May 7 2007, 9:39 PM

The text is submitted and parsed. Since for a section, the user was only given
part of the page, the server would have to merge it into the rest and parse that
in order to preview it.

robchur wrote:

(In reply to comment #2)

The text is submitted and parsed. Since for a section, the user was only given
part of the page, the server would have to merge it into the rest and parse that
in order to preview it.

...and? We merge the section back into the page when we save a section edit;
what's so difficult about doing it, running a pre-save transform, and showing a
preview?

aaron added a comment.Mar 24 2008, 7:11 PM

(In reply to comment #3)

(In reply to comment #2)

The text is submitted and parsed. Since for a section, the user was only given
part of the page, the server would have to merge it into the rest and parse that
in order to preview it.

...and? We merge the section back into the page when we save a section edit;
what's so difficult about doing it, running a pre-save transform, and showing a
preview?

...nothing is "difficult" about it, I'm not sure who said that?